Is there a CLI tool for noting Go lines of code that shadow variables, to help debug subtle runtime errors?
评论:
gohacker:
goofansu:go tool vet -shadow
recommend have a look at gometalinter, it has supported most linters include
go vet --shadow

Is there a CLI tool for noting Go lines of code that shadow variables, to help debug subtle runtime errors?
goofansu:go tool vet -shadow
recommend have a look at gometalinter, it has supported most linters include
go vet --shadow
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
`单行代码`