logfind This oss will find things like log.Println(), which you wrote for debugging but often forget to erase. Install go install github.com/seipan/logfind/cmd/logfind Use go vet -vettool=`which logfind` pkgname