fourbyte: disable linter

This commit is contained in:
Martin Holst Swende 2019-08-15 23:17:15 +02:00
parent 57e3656a5a
commit 9505f1fe35
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0
2 changed files with 2 additions and 0 deletions

View file

@ -46,6 +46,7 @@ func (fi bindataFileInfo) Sys() interface{} {
return nil return nil
} }
//nolint:misspell
var __4byteJson = []byte(`{ var __4byteJson = []byte(`{
"00000001": "account_info_rotate_tine(uint256)", "00000001": "account_info_rotate_tine(uint256)",
"00000002": "razor_balance(bool)", "00000002": "razor_balance(bool)",

View file

@ -16,6 +16,7 @@
//go:generate go-bindata -nometadata -nocompress -o 4byte.go -pkg fourbyte 4byte.json //go:generate go-bindata -nometadata -nocompress -o 4byte.go -pkg fourbyte 4byte.json
//go:generate gofmt -s -w 4byte.go //go:generate gofmt -s -w 4byte.go
//go:generate sh -c "sed 's#var __4byteJson#//nolint:misspell\\\n&#' 4byte.go > 4byte.go.tmp && mv 4byte.go.tmp 4byte.go"
// Package fourbyte contains the 4byte database. // Package fourbyte contains the 4byte database.
package fourbyte package fourbyte