Docker image, which is a "Swiss knife" for a go engineer.
- 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.
docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest dep init
docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest dep ensure -v
docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest gometalinter ./...
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.
docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest goconvey -host 0.0.0.0 -port 8080 \
Latest version of major X
Go branch.
Latest version of minor X.Y
Go branch.
Latest build of concrete X.Y.Z
version of Go.
Concrete N
build of concrete X.Y.Z
version of Go.
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.