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
This commit is contained in:
Peter Boromissza 2018-06-10 16:30:56 +02:00 committed by GitHub
parent a68056ee97
commit d45c729264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ func main() {
} }
// Print the header and package clause. // 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("\n")
g.Printf("package %s", g.pkg.name) g.Printf("package %s", g.pkg.name)
g.Printf("\n") g.Printf("\n")