[FIX] Formatting and code-style (#118)

* [FIX] Formatting and code-style

- gofmt
- import resort
- prealloc slices
- simplify code

* fix vet
This commit is contained in:
Evgeniy Kulikov 2019-01-25 14:20:35 +03:00 committed by fabwa
parent df2e9f68ef
commit f000b76879
37 changed files with 145 additions and 124 deletions

View file

@ -22,5 +22,7 @@ func main() {
vm.NewCommand(),
}
ctl.Run(os.Args)
if err := ctl.Run(os.Args); err != nil {
panic(err)
}
}