Sign inSign up

ciena/go-lint

By ciena

•Updated about 8 years ago

Docker image for golint tool

Image
0

1.5K

ciena/go-lint repository overview

⁠Go golint 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/golint

Any flags specified at the end of the run command will be passed to the golint binary.

⁠Package specification

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

Tag summary

Content type

Image

Digest

Size

94.8 MB

Last updated

about 8 years ago

docker pull ciena/go-lint