forked from mirror/enumer
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:
parent
a68056ee97
commit
d45c729264
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue