From d45c7292641ca84d689b79cbad49e485f2b1c85a Mon Sep 17 00:00:00 2001 From: Peter Boromissza <2242020+boromisp@users.noreply.github.com> Date: Sun, 10 Jun 2018 16:30:56 +0200 Subject: [PATCH] Use the standard generated file marker This change is required for go lint compatibility. See: https://golang.org/s/generatedcode https://github.com/golang/go/issues/13560#issuecomment-288457920 --- stringer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stringer.go b/stringer.go index d4479ea..6c267e5 100644 --- a/stringer.go +++ b/stringer.go @@ -86,7 +86,7 @@ func main() { } // Print the header and package clause. - g.Printf("// Code generated by \"enumer %s\"; DO NOT EDIT\n", strings.Join(os.Args[1:], " ")) + g.Printf("// Code generated by \"enumer %s\"; DO NOT EDIT.\n", strings.Join(os.Args[1:], " ")) g.Printf("\n") g.Printf("package %s", g.pkg.name) g.Printf("\n")