diff options
author | kiel barry <kiel.j.barry@gmail.com> | 2018-05-31 19:59:08 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-05-31 19:59:08 +0800 |
commit | af28d12847c4572c7c3d9f5775db9b18bcfc3889 (patch) | |
tree | 11b2d1e9d329afdef635f0c7bd34ccd1b4790532 /console/console.go | |
parent | 0ad32d3be70ca27044b56b5eee9c1b3bd38e2d69 (diff) | |
download | dexon-af28d12847c4572c7c3d9f5775db9b18bcfc3889.tar.gz dexon-af28d12847c4572c7c3d9f5775db9b18bcfc3889.tar.zst dexon-af28d12847c4572c7c3d9f5775db9b18bcfc3889.zip |
console: squash golint warnings (#16836)
Diffstat (limited to 'console/console.go')
-rw-r--r-- | console/console.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/console/console.go b/console/console.go index b280d4e65..1bceb7bc6 100644 --- a/console/console.go +++ b/console/console.go @@ -73,6 +73,8 @@ type Console struct { printer io.Writer // Output writer to serialize any display strings to } +// New initializes a JavaScript interpreted runtime environment and sets defaults +// with the config struct. func New(config Config) (*Console, error) { // Handle unset config values gracefully if config.Prompter == nil { |