Fix typos and warnings for GoReport / GolangCiLinter (#132)

- typos
- gofmt -s
- govet warnings
- golangci-lint run
This commit is contained in:
Evgeniy Kulikov 2019-02-09 18:53:58 +03:00 committed by fabwa
parent d183ea3c1f
commit 630919bf7d
24 changed files with 70 additions and 65 deletions

View file

@ -230,7 +230,7 @@ func parseArgs(args []string) ([]vm.StackItem, error) {
func printHelp() {
names := make([]string, len(commands))
i := 0
for name, _ := range commands {
for name := range commands {
names[i] = name
i++
}