Quellcode durchsuchen

cmd/abigen: update generated go file header text (#14845)

As per https://golang.org/s/generatedcode. This will allow other tools
such as golint to properly ignore the files.
Leo Shklovskii vor 8 Jahren
Ursprung
Commit
3a678a15c9
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      accounts/abi/bind/template.go

+ 2 - 2
accounts/abi/bind/template.go

@@ -52,8 +52,8 @@ var tmplSource = map[Lang]string{
 // tmplSourceGo is the Go source template use to generate the contract binding
 // based on.
 const tmplSourceGo = `
-// This file is an automatically generated Go binding. Do not modify as any
-// change will likely be lost upon the next re-generation!
+// Code generated - DO NOT EDIT.
+// This file is a generated binding and any manual changes will be lost.
 
 package {{.Package}}