internal/jsre: golint fixes

This commit is contained in:
Mike Kinney 2019-12-09 23:22:03 -08:00
parent c4dfa9dd86
commit ce98156177
2 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ var (
// BignumberJs specifies bignumber.js // BignumberJs specifies bignumber.js
BignumberJs = deps.MustAsset("bignumber.js") BignumberJs = deps.MustAsset("bignumber.js")
// Web3Js specifies web3.js // Web3Js specifies web3.js
Web3Js = deps.MustAsset("web3.js") Web3Js = deps.MustAsset("web3.js")
) )
/* /*

View file

@ -36,13 +36,13 @@ var (
// FunctionColor specifies what color to use for functions // FunctionColor specifies what color to use for functions
FunctionColor = color.New(color.FgMagenta).SprintfFunc() FunctionColor = color.New(color.FgMagenta).SprintfFunc()
// SpecialColor specifies what color to use for special values // SpecialColor specifies what color to use for special values
SpecialColor = color.New(color.Bold).SprintfFunc() SpecialColor = color.New(color.Bold).SprintfFunc()
// NumberColor specifies what color to use for numbers // NumberColor specifies what color to use for numbers
NumberColor = color.New(color.FgRed).SprintfFunc() NumberColor = color.New(color.FgRed).SprintfFunc()
// StringColor specifies what color to use for strings // StringColor specifies what color to use for strings
StringColor = color.New(color.FgGreen).SprintfFunc() StringColor = color.New(color.FgGreen).SprintfFunc()
// ErrorColor specifies what color to use for errors // ErrorColor specifies what color to use for errors
ErrorColor = color.New(color.FgHiRed).SprintfFunc() ErrorColor = color.New(color.FgHiRed).SprintfFunc()
) )
// these fields are hidden when printing objects. // these fields are hidden when printing objects.