Why golint treats this as warning? · Issue #210 · golang/lint
It's common to use this pattern/structure in go. type sample struct { // fields goes here } fun NewSample(/* input variables */) *sample { // specific initialize logic goes here // this package doe...