golint toolExample using the oftee application
docker run -ti --rm -v $(pwd)/src/github.com/ciena/oftee:/go/src/github.com/ciena/oftee ciena/golint
Any flags specified at the end of the run command will be passed to the golint
binary.
This container uses the following bash hack to guess the packages on which
golint should be run.
find /go/src -name "*.go" | grep -v "\/vendor\/" | grep -v "\/\.git\/" | sed -e 's/\/[^\/]*\.go$//g' -e 's/\/go\/src\///g' | sort -u
docker pull ciena/go-lint:latest