Sign inSign up

flexconstructor/gotools

By flexconstructor

•Updated over 7 years ago

Docker image, which is a "Swiss knife" for a go engineer.

Image
0

469

flexconstructor/gotools repository overview

⁠Go tools

GitHub release Build Status Docker Pulls

Docker image, which is a "Swiss knife" for a go engineer.

⁠What's inside:

  • Dep⁠ is a dependency management tool for Go. It requires Go 1.9 or newer to compile.
  • Gometalinter⁠ is concurrently run Go lint tools and normalise their output.
  • Goconvey⁠ a yummy Go testing tool for gophers. Works with go test. Use it in the terminal or browser according to your viewing pleasure.
  • Overalls⁠ runs test coverage tests on all packages in each directory and finally concatenates into a single file for tools like goveralls and codecov.io.
  • Goimports⁠ Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones.

⁠How to use this image:

⁠Init go project with go dep:
docker run -v $(PWD):/go/src/project_name -w /go/src/project_name  flexconstructor/gotools:latest dep init
⁠Manage project dependencies:
docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest dep ensure -v
⁠Lint go code:
docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest gometalinter ./...
⁠Unit test with calculate coverage:
docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest overalls [flags]

and

docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest go tool cover -func=overalls.coverprofile

More info⁠.

⁠Run GoConvey UI
docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest goconvey -host 0.0.0.0 -port 8080 \

⁠Image versions

⁠X

Latest version of major X Go branch.

⁠X.Y

Latest version of minor X.Y Go branch.

⁠X.Y.Z

Latest build of concrete X.Y.Z version of Go.

⁠X.Y.Z-rN

Concrete N build of concrete X.Y.Z version of Go.

⁠Issues

I can't notice comments in the DockerHub so don't use them for reporting issue or asking question.

If you have any problems with or questions about this image, please contact me through a GitHub issue⁠.

Tag summary

Content type

Image

Digest

Size

447 MB

Last updated

over 7 years ago

docker pull flexconstructor/gotools