mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
internal/jsre: golint fixes
This commit is contained in:
parent
c4dfa9dd86
commit
ce98156177
2 changed files with 5 additions and 5 deletions
|
|
@ -35,7 +35,7 @@ var (
|
|||
// BignumberJs specifies bignumber.js
|
||||
BignumberJs = deps.MustAsset("bignumber.js")
|
||||
// Web3Js specifies web3.js
|
||||
Web3Js = deps.MustAsset("web3.js")
|
||||
Web3Js = deps.MustAsset("web3.js")
|
||||
)
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -36,13 +36,13 @@ var (
|
|||
// FunctionColor specifies what color to use for functions
|
||||
FunctionColor = color.New(color.FgMagenta).SprintfFunc()
|
||||
// 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 = color.New(color.FgRed).SprintfFunc()
|
||||
NumberColor = color.New(color.FgRed).SprintfFunc()
|
||||
// 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 = color.New(color.FgHiRed).SprintfFunc()
|
||||
ErrorColor = color.New(color.FgHiRed).SprintfFunc()
|
||||
)
|
||||
|
||||
// these fields are hidden when printing objects.
|
||||
|
|
|
|||
Loading…
Reference in a new issue