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.
This commit is contained in:
Leo Shklovskii 2017-07-24 08:09:03 -04:00 committed by Felix Lange
parent 3e0dbe0eaa
commit 3a678a15c9

View File

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