From d9ea1823e0cd654010045656c78a613cca25dd57 Mon Sep 17 00:00:00 2001 From: Jon Lundy Date: Fri, 22 Jun 2018 16:20:31 -0600 Subject: [PATCH] Change the header line to match for generated code The following will make the headers match the go convention for generated code. ^// Code generated .* DO NOT EDIT\.$ https://golang.org/s/generatedcode --- convert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert.go b/convert.go index cf0466e..8888214 100644 --- a/convert.go +++ b/convert.go @@ -50,7 +50,7 @@ func Translate(c *Config) error { defer bfd.Flush() // Write the header. This makes e.g. Github ignore diffs in generated files. - if _, err = fmt.Fprint(bfd, "// Code generated by go-bindata.\n"); err != nil { + if _, err = fmt.Fprint(bfd, "// Code generated by go-bindata. DO NOT EDIT.\n"); err != nil { return err } if _, err = fmt.Fprint(bfd, "// sources:\n"); err != nil {