Fix typos and warnings for GoReport / GolangCiLinter (#132)
- typos - gofmt -s - govet warnings - golangci-lint run
This commit is contained in:
parent
d183ea3c1f
commit
630919bf7d
24 changed files with 70 additions and 65 deletions
|
@ -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++
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue