- 其他
- 配置
- 开发必备
- DAP
- Code Generator
- Formater
- Linter
- Cheatsheet
- Logger
- 模板引擎
- 错误处理
- 结构化数据处理
- CLI
- 测试
- Profiling
- HTTP
- 容器
- 终端 Shell
- https://awesome-go.com/
- gore: Go REPL
- gomacro: 备用方案
- https://tmc.github.io/json-to-struct/ : JSON 转 Go Struct
- gvm: Go 版本管理器
- update-golang: a script to easily fetch and install new Golang releases with minimum system intrusion
- project-layout: go 项目结构模板
- statik: Embed files into a Go executable
- markers: kubebuilder 里的 marker 注释语法解析工具。
- gods: Go 基本数据结构
- TheAlgorithms/Go: Algorithms and Data Structures implemented in Go
- viper: 支持环境变量,配置文件 (JSON, TOML, YAML, HCL, envfile, Java properties config files),命令行参数。
- https://pkg.go.dev
- gopls: an LSP server for Go
- godef: find symbol information in Go source
- delve: a debugger for the Go
- stringer:
String()
方法的代码生成器
- goimports:
go get golang.org/x/tools/cmd/goimports
. 自动化加入 import,或去除 import 里未使用的包。同时也会自动格式化代码,类似 gofmt。 - gofmt: 格式化代码用
- golangci-lint: a Go linters aggregator.
- golint: Linter,格式固定唯一,无选项。
- Staticcheck: Using static analysis, it finds bugs and performance issues, offers simplifications, and enforces style rules.
- revive: ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint
- gjson: JSON parser for Go
- goconvey: Go testing in the browser. Integrates with
go test
- testify: 提供 assert, require, mock, suit 工具函数
- gomock
- monkey: Monkey patch。目前只支持 amd64 架构。
- testaroli: Monkey patch。支持 amd64 和 arm64 架构。
- automaxprocs: 在容器中正确设置 GOMAXPROCS
- tview
- tcell
- posener/complete: 构建补全命令的库,支持 bash, zsh, fish