1
0
mirror of https://github.com/golang/go synced 2024-09-30 14:28:33 -06:00

all: apply new machine-generated doc spec to files

Updates golang/go#13560.

Change-Id: I1664807a065c7982a57d4dc9cee22ce261536c5b
Reviewed-on: https://go-review.googlesource.com/39202
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Kevin Burke 2017-03-31 18:20:38 -07:00 committed by Brad Fitzpatrick
parent d83db204ce
commit 620ecdb8d7
6 changed files with 6 additions and 6 deletions

View File

@ -236,7 +236,7 @@ func bundle(src, dst, dstpkg, prefix string) ([]byte, error) {
var out bytes.Buffer
fmt.Fprintf(&out, "// Code generated by golang.org/x/tools/cmd/bundle.\n")
fmt.Fprintf(&out, "// Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT.\n")
if *outputFile != "" {
fmt.Fprintf(&out, "//go:generate bundle %s\n", strings.Join(os.Args[1:], " "))
} else {

View File

@ -1,4 +1,4 @@
// Code generated by golang.org/x/tools/cmd/bundle.
// Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT.
// $ bundle
// The package doc comment

View File

@ -120,7 +120,7 @@ func sanitize(b []byte) []byte {
return bytes.Replace(b, []byte("\xEF\xBB\xBF"), []byte("`+\"\\xEF\\xBB\\xBF\"+`"), -1)
}
const warning = `// Code generated by "makestatic"; DO NOT EDIT`
const warning = `// Code generated by "makestatic"; DO NOT EDIT.`
var license = fmt.Sprintf(`// Copyright %d The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated by "makestatic"; DO NOT EDIT
// Code generated by "makestatic"; DO NOT EDIT.
package static

View File

@ -40,7 +40,7 @@ func main() {
outf := func(format string, args ...interface{}) {
fmt.Fprintf(&buf, format, args...)
}
outf("// AUTO-GENERATED BY mkstdlib.go\n\n")
outf("// Code generated by mkstdlib.go. DO NOT EDIT.\n\n")
outf("package imports\n")
outf("var stdlib = map[string]string{\n")
f := io.MultiReader(

View File

@ -1,4 +1,4 @@
// AUTO-GENERATED BY mkstdlib.go
// Code generated by mkstdlib.go. DO NOT EDIT.
package imports