Run go fmt

Signed-off-by: huzhifeng <huzhifeng@douyu.tv>
pull/6/head
huzhifeng 2017-08-18 16:03:25 +08:00
parent ac2729ed0a
commit 3196300fc2
No known key found for this signature in database
GPG Key ID: 9A89D953355E739B
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ func main() {
logs.InitLogs()
defer logs.FlushLogs()
if err := command.Execute(); err != nil {
fmt.Fprintf(os.Stderr, "%v\n", err)
if err := command.Execute(); err != nil {
fmt.Fprintf(os.Stderr, "error: %v\n", err)
os.Exit(1)
}
}