Skip to content

Commit 851a2d8

Browse files
committed
cmd/stringer: tweak "Code generated by" comment to match new standard
See https://golang.org/issue/13560 for the full discussion. The actual change is just the addition of a final period. Update golang/go#13560 Change-Id: Icc2f52b67181de344aa5107f94faa0e739ff993c Reviewed-on: https://go-review.googlesource.com/38415 Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent d9ba1d1 commit 851a2d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stringer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func main() {
126126
}
127127

128128
// Print the header and package clause.
129-
g.Printf("// Code generated by \"stringer %s\"; DO NOT EDIT\n", strings.Join(os.Args[1:], " "))
129+
g.Printf("// Code generated by \"stringer %s\"; DO NOT EDIT.\n", strings.Join(os.Args[1:], " "))
130130
g.Printf("\n")
131131
g.Printf("package %s", g.pkg.name)
132132
g.Printf("\n")

0 commit comments

Comments
 (0)