aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Shklovskii <leo@thermopylae.net>2017-07-24 20:09:03 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-07-24 20:09:03 +0800
commit3a678a15c92e287c90eabab75463bbed97ba832c (patch)
tree4faccbd59644a8f8d78d978a2c998439c7670686
parent3e0dbe0eaa723580a86a6a2f18ab744387d4235e (diff)
downloaddexon-3a678a15c92e287c90eabab75463bbed97ba832c.tar.gz
dexon-3a678a15c92e287c90eabab75463bbed97ba832c.tar.zst
dexon-3a678a15c92e287c90eabab75463bbed97ba832c.zip
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.
-rw-r--r--accounts/abi/bind/template.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/abi/bind/template.go b/accounts/abi/bind/template.go
index 64dd598c0..d07610e7c 100644
--- a/accounts/abi/bind/template.go
+++ b/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}}