From 385f77588476d21ea4f38141a164a6220c8cee96 Mon Sep 17 00:00:00 2001 From: bluewebgeek Date: Tue, 19 Jun 2018 08:03:21 +0800 Subject: [PATCH] console: correct typo and add comments --- console/console.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/console/console.go b/console/console.go index 3428fa244e..26e9dd6c44 100644 --- a/console/console.go +++ b/console/console.go @@ -72,8 +72,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. +// 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 {