瀏覽代碼

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 8 年之前
父節點
當前提交
3a678a15c9
共有 1 個文件被更改,包括 2 次插入2 次删除
  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}}