Docker image to run the golan errcheck utilitt
241
errcheck toolExample using the oftee application
docker run -ti --rm -v $(pwd)/src/github.com/ciena/oftee:/go/src/github.com/ciena/oftee ciena/go-errcheck
Any flags specified at the end of the run command will be passed to the errcheck
binary.
This container uses the following bash hack to guess the packages on which
errcheck 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
Content type
Image
Digest
Size
286.9 MB
Last updated
about 8 years ago
docker pull ciena/go-errcheck