This repository, go-tools, includes a compilation of common tools used across various projects by the repository owner.
These accompany a Docker image, which you can swiftly pull using the following command:
docker pull ghcr.io/obalunenko/go-tools:latestThe base image is built on top of the official image golang:1.25.3-alpine3.22 and includes the following tools:
| Tool | Version | Description |
|---|---|---|
| buf | v1.59.0 | The buf CLI is the best tool for working with Protocol Buffers |
| coverbadger | v1.4.0 | Generate coverage badge images for Markdown files using Go |
| enumer | v1.1.2 | A Go tool to auto generate methods for your enums |
| envdoc | v1.7.0 | Go tool to generate documentation for environment variables |
| fiximports | v0.36.0 | The fiximports command fixes import declarations to use the canonical import path for packages that have an "import comment" as defined by https://golang.org/s/go14customimport. |
| go-enum | v0.9.2 | An enum generator for go |
| gocov | v1.2.1 | Coverage testing tool for The Go Programming Language |
| gocov-html | v1.4.0 | Make pretty HTML output from gocov, a coverage testing tool for Go |
| gofumpt | v0.9.2 | A stricter gofmt |
| goimports | v0.36.0 | Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones |
| golangci-lint | v2.6.0 | Fast linters Runner for Go |
| goose | v3.24.2 | A database migration tool |
| goreadme | v1.4.2 | Generate readme file from Go doc |
| goreleaser | v2.12.7 | Deliver Go binaries as fast and easily as possible |
| gotestsum | v1.13.0 | 'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results. |
| goveralls | v0.0.12 | Go integration for Coveralls.io continuous code coverage tracking system. |
| govulncheck | v1.1.4 | Govulncheck reports known vulnerabilities that affect Go code. |
| gowrap | v1.4.3 | GoWrap is a command line tool for generating decorators for Go interfaces |
| mockery | v3.5.5 | A mock code autogenerator for Go |
| mockgen | v0.6.0 | GoMock is a mocking framework for the Go programming language. |
| oapi-codegen | v2.5.0 | Generate Go client and server boilerplate from OpenAPI 3 specifications |
| pp | v2.5.0 | Panicparse Parses panic stack traces, densifies and deduplicates goroutines with similar stack traces. Helps debugging crashes and deadlocks in heavily parallelized processes. |
| sqlc | v1.30.0 | Generate type-safe code from SQL |
| stringer | v0.36.0 | Stringer is a tool to automate the creation of methods that satisfy the fmt.Stringer interface. |
| svu | v3.2.4 | Semantic Version Util |
| swag | v2.0.0-rc4 | Automatically generate RESTful API documentation with Swagger 2.0 for Go |
| swagger | v0.33.1 | Client/Server from OpenAPI docs generation tool |
| tbls | v1.91.2 | tbls is a CI-Friendly tool to document a database, written in Go. |
| tparse | v0.18.0 | CLI tool for summarizing go test output. Pipe friendly. CI/CD friendly. |
The go-tools Docker image is engineered to allow for seamless implementation with your code.
- Pull the image
- Run the image with your code mounted as a volume
- Execute the desired commands.
This container is available at go-tools container on GitHub Packages