From e8d9a2f6482dc565204dd13e5af09ef0e9bdb2e5 Mon Sep 17 00:00:00 2001 From: AdamKorcz Date: Thu, 10 Feb 2022 14:16:28 +0000 Subject: [PATCH] format template --- main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.go b/main.go index b0eb9bd..81423d7 100644 --- a/main.go +++ b/main.go @@ -140,16 +140,21 @@ func main() { var mainTmpl = template.Must(template.New("main").Parse(` // Code generated by go-118-fuzz-build; DO NOT EDIT. + // +build ignore + package main + import ( "testing" "unsafe" target {{printf "%q" .PkgPath}} "github.com/AdamKorcz/go-118-fuzz-build/utils" ) + // #include import "C" + //export LLVMFuzzerTestOneInput func LLVMFuzzerTestOneInput(data *C.char, size C.size_t) C.int { // TODO(mdempsky): Use unsafe.Slice once golang.org/issue/19367 is accepted.