Sign inSign up

ciena/go-errcheck

By ciena

•Updated about 8 years ago

Docker image to run the golan errcheck utilitt

Image
0

241

ciena/go-errcheck repository overview

⁠Go errcheck tool

⁠Usage

Example 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.

⁠Package specification

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

Tag summary

Content type

Image

Digest

Size

286.9 MB

Last updated

about 8 years ago

docker pull ciena/go-errcheck