kisielk / godepgraph

A Go dependency graph visualization tool
MIT License
1.05k stars 90 forks source link

Gocritic 3.3 warning ifElseChain #33

Closed kveselkov closed 6 years ago

kveselkov commented 6 years ago

Find using: https://go-critic.github.io/overview#ifElseChain-ref

$GOPATH/src/github.com/kisielk/godepgraph/main.go:111:3: ifElseChain: should rewrite if-else to switch statement