aboutsummaryrefslogtreecommitdiff
path: root/src/image
diff options
context:
space:
mode:
authorMark Rushakoff <mark.rushakoff@gmail.com>2018-03-10 05:57:43 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2018-03-10 17:50:11 +0000
commit5e5247176174c1ce98665e07c30b556e50a5e8e7 (patch)
tree5010b180c062b93af924ad81136042d9ba9f3564 /src/image
parent5c432fe0e3755255d70d1ad601725b039becb7ad (diff)
downloadgo-5e5247176174c1ce98665e07c30b556e50a5e8e7.tar.gz
go-5e5247176174c1ce98665e07c30b556e50a5e8e7.zip
all: fix non-standard "DO NOT EDIT" comments for generated files
I found files to change with this command: git grep 'DO NOT EDIT' | grep -v 'Code generated .* DO NOT' There are more files that match that grep, but I do not intend on fixing them. Change-Id: I4b474f1c29ca3135560d414785b0dbe0d1a4e52c GitHub-Last-Rev: 65804b02634abd85bf113788b38354d48801241f GitHub-Pull-Request: golang/go#24334 Reviewed-on: https://go-review.googlesource.com/99955 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/image')
-rw-r--r--src/image/color/palette/gen.go2
-rw-r--r--src/image/color/palette/palette.go2
-rw-r--r--src/image/internal/imageutil/gen.go2
-rw-r--r--src/image/internal/imageutil/impl.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/image/color/palette/gen.go b/src/image/color/palette/gen.go
index 57718e6a0c..d55e2d285a 100644
--- a/src/image/color/palette/gen.go
+++ b/src/image/color/palette/gen.go
@@ -30,7 +30,7 @@ func main() {
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.`)
fmt.Fprintln(&buf)
- fmt.Fprintln(&buf, "// generated by go run gen.go -output palette.go; DO NOT EDIT")
+ fmt.Fprintln(&buf, "// Code generated by go run gen.go -output palette.go; DO NOT EDIT.")
fmt.Fprintln(&buf)
fmt.Fprintln(&buf, "package palette")
fmt.Fprintln(&buf)
diff --git a/src/image/color/palette/palette.go b/src/image/color/palette/palette.go
index b695414520..07d60d2fb0 100644
--- a/src/image/color/palette/palette.go
+++ b/src/image/color/palette/palette.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// generated by go run gen.go -output palette.go; DO NOT EDIT
+// Code generated by go run gen.go -output palette.go; DO NOT EDIT.
package palette
diff --git a/src/image/internal/imageutil/gen.go b/src/image/internal/imageutil/gen.go
index 8b2c42703a..bc85c512f9 100644
--- a/src/image/internal/imageutil/gen.go
+++ b/src/image/internal/imageutil/gen.go
@@ -41,7 +41,7 @@ func main() {
}
}
-const pre = `// generated by "go run gen.go". DO NOT EDIT.
+const pre = `// Code generated by go run gen.go; DO NOT EDIT.
package imageutil
diff --git a/src/image/internal/imageutil/impl.go b/src/image/internal/imageutil/impl.go
index cfd5047879..4581dd8c5c 100644
--- a/src/image/internal/imageutil/impl.go
+++ b/src/image/internal/imageutil/impl.go
@@ -1,4 +1,4 @@
-// generated by "go run gen.go". DO NOT EDIT.
+// Code generated by go run gen.go; DO NOT EDIT.
package imageutil