Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/divilla/awesome-go
A curated list of awesome Go frameworks, libraries and software
https://github.com/divilla/awesome-go
List: awesome-go
Last synced: 23 days ago
JSON representation
A curated list of awesome Go frameworks, libraries and software
- Host: GitHub
- URL: https://github.com/divilla/awesome-go
- Owner: divilla
- License: gpl-3.0
- Created: 2021-03-29T12:31:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T02:47:34.000Z (about 2 months ago)
- Last Synced: 2024-10-24T19:29:09.053Z (about 2 months ago)
- Size: 224 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- ultimate-awesome - awesome-go - A curated list of awesome Go frameworks, libraries and software. (Programming Language Lists / Go Lists)
README
# Awesome Go
A curated list of awesome Go frameworks, libraries and software
* [GolangRepo](https://golangrepo.com)
* [Go 101](https://go101.org/)
## Tutorials
* [Going Infinite](https://github.com/asim/go-micro) - handling 1M WebSockets connections
★ 5.2k ★ **2021*** [Concurrency](https://blogtitle.github.io/categories/concurrency) - Concurrency Patterns
## Micro services frameworks
* [Go kit](https://github.com/go-kit/kit) - programming toolkit for building microservices (or elegant monoliths) in Go. We solve common problems in distributed systems and application architecture, so you can focus on delivering business value.
★ 23.8k ★ **ON** ♦ [gokit.io](https://gokit.io/)* [go-zero](https://github.com/zeromicro/go-zero) - cloud-native Go microservices framework with cli tool for productivity.
★ 20.4k ★ **ON** ♦ [go-zero.dev](https://go-zero.dev)* [Go Micro](https://github.com/asim/go-micro) - framework for distributed systems development. Provides the core requirements for distributed systems development including RPC and Event driven communication. The Micro philosophy is sane defaults with a pluggable architecture.
★ 19k ★ **ON** ♦ [go-micro.dev](https://go-micro.dev/)* [Hyperledger Fabric](https://github.com/hyperledger/fabric) - enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.
★ 13.9k ★ **ON** ♦ [wiki.hyperledger.org/display/fabric](https://wiki.hyperledger.org/display/fabric)* [Micro](https://github.com/micro/micro) - distributed cloud platform. Addresses the key requirements for building services in the cloud. It leverages the microservices architecture pattern and provides a set of services which act as the building blocks of a platform. Micro deals with the complexity of distributed systems and provides simpler programmable abstractions to build on.
★ 11.3k ★ **ON** ♦ [micro.dev](https://micro.dev/)* [Micro Services](https://github.com/micro/services) - reusable real world microservices. Micro Services provide the fundamental building blocks for any products, apps or services. They can be used in isolation or combined to create a powerful distributed system. The services are intended to be consumed by each other using RPC and from the external world through a Micro API.
★ 392 ★ **ON** ♦ [m3o.com](https://m3o.com/)## Networking, Distributed, Microservices & Cloud - Tools & Services
* [Caddy](https://github.com/caddyserver/caddy) - fast, multi-platform web server with automatic HTTPS
★ 42.6k ★ **ON** ♦ [youbbs.org](https://youbbs.org/)* [etcd](https://github.com/etcd-io/etcd) - distributed reliable key-value store for the most critical data of a distributed system.
★ 41.1 ★ **ON** ♦ [etcd.io](https://etcd.io/)* [dapr](https://github.com/dapr/dapr) - portable, serverless, event-driven runtime that makes it easy for developers to build resilient, stateless and stateful microservices that run on the cloud and edge and embraces the diversity of languages and developer frameworks.
★ 19.2k ★ **ON** ♦ [dapr.io](https://dapr.io/)* [Vault](https://github.com/hashicorp/vault) - tool for secrets management, encryption as a service, and privileged access management.
★ 17.5k ★ **ON** ♦ [vaultproject.io](https://www.vaultproject.io/)* [Jaeger](https://github.com/jaegertracing/jaeger) - CNCF Jaeger, a Distributed Tracing Platform.
★ 17.5k ★ **ON** ♦ [jaegertracing.io](https://www.jaegertracing.io/)* [Nomad](https://github.com/hashicorp/nomad) - easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
★ 12.2k ★ **ON** ♦ [nomadproject.io](https://www.nomadproject.io/)* [Distributed Transactions Manager](https://github.com/dtm-labs/dtm) - distributed transaction framework which provides cross-service eventual data consistency. It provides saga, tcc, xa, 2-phase message, outbox, workflow patterns for a variety of application scenarios. It also supports multiple languages and multiple store engine
★ 7.4k ★ **ON** ♦ [d.dtm.pub](http://d.dtm.pub/)* [Nakama](https://github.com/heroiclabs/nakama) - Distributed server for social and realtime games and apps.
★ 6.2k ★ **ON** ♦ [heroiclabs.com](https://heroiclabs.com/)* [evio](https://github.com/tidwall/evio) - Fast event-loop networking
★ 5.5k ★ **2022*** [serf](https://github.com/hashicorp/serf) - Service orchestration and management tool.
★ 5.5k ★ **2022** ♦ [serf.io](https://www.serf.io/)* [lura](https://github.com/luraproject/lura) - Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation.
★ 5.2k ★ **2022** ♦ [luraproject.org](https://luraproject.org/)* [Mgmt](https://github.com/purpleidea/mgmt) - Next generation distributed, event-driven, parallel config management!
★ 3k ★ **ON** ♦ [purpleidea.com/tags/mgmtconfig](https://purpleidea.com/tags/mgmtconfig/)* [Polycube](https://github.com/polycube-network/polycube) - eBPF/XDP-based software framework that provides fast and lightweight network functions such as bridges, routers, firewalls, and others.
★ 447 ★ **2022** ♦ [polycube-network.readthedocs.io](https://polycube-network.readthedocs.io/en/latest/index.html)* [uhaha](https://github.com/tidwall/uhaha) - framework for building highly available Raft-based data applications in Go. Small footprint, TLS and Auth password support. Multiple examples to help jumpstart integration, including a Key-value DB, a Timeseries DB, and a Ticket Service.
★ 364 ★ **2021**## Web frameworks
* [Gin Web Framework](https://github.com/gin-gonic/gin) - features a martini-like API with performance that is up to 40 times faster thanks to [httprouter](https://github.com/julienschmidt/httprouter). If you need performance and good productivity, you will love Gin.
★ 62.5k ★ **ON** ♦ [gin-gonic.com](https://gin-gonic.com)* [echo](https://github.com/labstack/echo) - high performance, minimalist Go web frameworkHigh performance, minimalist Go web framework.
★ 23.7k ★ **ON** ♦ [echo.labstack.com](https://echo.labstack.com)* [Iris Web Framework](https://github.com/kataras/iris) - fastest HTTP/2 Go Web Framework. AWS Lambda, gRPC, MVC, Unique Router, WebSockets, Sessions, Test suite, Dependency Injection and more. A true successor of expressjs and laravel.
★ 22.8k ★ **ON** ♦ [iris-go.com](https://iris-go.com)* [Fiber](https://github.com/gofiber/fiber) - Express inspired web framework built on top of [fasthttp](https://github.com/valyala/fasthttp), the fastest HTTP engine for Go. Designed to ease things up for fast development with zero memory allocation and performance in mind.
★ 22.2k ★ **ON** ♦ [gofiber.io](https://gofiber.io)* [Kratos](https://github.com/go-kratos/kratos) - microservice-oriented governance framework implemented by golang, which offers convenient capabilities to help you quickly build a bulletproof application from scratch.
★ 18.8k ★ **ON** ♦ [go-kratos.dev](https://go-kratos.dev/)* [Atreugo](https://github.com/savsgio/atreugo) - High performance and extensible micro web framework with zero memory allocations in hot paths built on top of [fasthttp](https://github.com/valyala/fasthttp).
★ 933 ★ **ON*** [gearbox](https://github.com/gogearbox/gearbox/blob/master/README.md) - web framework for building micro services written in Go with a focus on high performance. It's built on [fasthttp](https://github.com/valyala/fasthttp) which is **up to 10x faster** than net/http
★ 666 ★ **2021** ♦ [gogearbox.com](https://gogearbox.com/)* [Gear](https://github.com/teambition/gear) - lightweight, composable and high performance web service framework for Go.
★ 543 ★ **2022*** [Gramework](https://github.com/gramework/gramework) - Fast and Reliable Golang Web Framework
★ 369 ★ **2021**## CLI frameworks
* [Awesome TUIs](https://github.com/rothgar/awesome-tuis)
* [Cobra](https://github.com/spf13/cobra) - library for creating powerful modern CLI applications.
★ 34.6k ★ **ON** ♦ [cobra.dev](https://cobra.dev)* [Bubble Tea](https://github.com/charmbracelet/bubbletea) - powerful little TUI framework
★ 21.6k ★ **ON** ♦* [urfave](https://github.com/urfave/cli) - simple, fast, and fun package for building command line apps
★ 21.1k ★ **ON** ♦ [cli.urfave.org](https://cli.urfave.org/)* [tview](https://github.com/rivo/tview) - Terminal UI library with rich, interactive widgets
★ 9.2k ★ **ON** ♦ [wiki](https://github.com/rivo/tview/wiki)* [Katana](https://github.com/projectdiscovery/katana) - next-generation crawling and spidering framework
★ 7.8k ★ **ON** ♦* [Ferret](https://github.com/MontFerret/ferret) - Declarative web scraping
★ 5.5k ★ **ON** ♦ [montferret.dev](https://www.montferret.dev/)* [PTerm](https://github.com/pterm/pterm) - modern Go module to easily beautify console output. Featuring charts, progressbars, tables, trees, text input, select menus and much more
★ 4.4k ★ **ON** ♦ [pterm.sh](https://pterm.sh/)* [Glamour](https://github.com/charmbracelet/glamour) - Stylesheet-based markdown rendering for your CLI apps
★ 2k ★ **ON** ♦* [Go CLI](https://github.com/mitchellh/cli) - library for implementing command-line interfaces in Go. cli is the library that powers the CLI for Packer, Consul, Vault, Terraform, Nomad, and more.
★ 1.7k ★ **ON** ♦* [Termenv](https://github.com/muesli/termenv) - Advanced ANSI style & color support for your terminal applications
★ 1.6k ★ **ON** ♦* [ishell](https://github.com/abiosoft/ishell) - Library for creating interactive cli applications.
★ 1.5k ★ **2021** ♦* [Ignite CLI](https://github.com/ignite/cli) - all-in-one platform to build, launch, and maintain any crypto application on a sovereign and secured blockchain
★ 1.2k ★ **ON** ♦ [ignite.com](https://ignite.com/)* [Command line interface](https://github.com/mkideal/cli) - package for building command line app
★ 710 ★ **ON** ♦* [CLI for ChatGPT](https://github.com/j178/chatgpt) - elegant interactive CLI for ChatGPT
★ 618 ★ **ON** ♦* [argparse](https://github.com/akamensky/argparse) - Argparse for golang. Just because `flag` sucks
★ 579 ★ **ON** ♦* [Grumble](https://github.com/desertbit/grumble) - powerful modern CLI and SHELL
★ 513 ★ **ON** ♦## Multiplexers
* [fasthttp](https://github.com/valyala/fasthttp) - Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
★ 18.3k ★ **ON*** [gorilla/mux](https://github.com/gorilla/mux) - powerful HTTP router and URL matcher for building Go web servers with gorilla
★ 16.1k ★ **2021** ♦ [www.gorillatoolkit.org/pkg/mux](http://www.gorillatoolkit.org/pkg/mux)* [chi](https://github.com/go-chi/chi) - lightweight, idiomatic and composable router for building Go HTTP services
★ 11k ★ **2022** ♦ [go-chi.io](https://go-chi.io/)* [bone](https://github.com/go-zoo/bone) - Lightning Fast HTTP Multiplexer
★ 1.3k ★ **2019** ♦ [go-zoo.github.io/bone](http://go-zoo.github.io/bone)* [pat](https://github.com/bmizerany/pat) - Sinatra style pattern muxer for Go's net/http library, formerly pat.go
★ 1.3k ★ **2021*** [Goji](https://github.com/goji/goji) - minimalistic and flexible HTTP request multiplexer
★ 895 ★ **2022** ♦ [goji.io](https://goji.io/)* [Lion](https://github.com/celrenheit/lion) - fast HTTP router for building modern scalable modular REST APIs
★ 751 ★ **2019*** [FastHttpRouter](https://github.com/buaazp/fasthttprouter) - high performance fasthttp request router that scales well
★ 869 ★ **2019** ♦ [godoc.org/github.com/buaazp/fasthttprouter](http://godoc.org/github.com/buaazp/fasthttprouter)* [httptreemux](https://github.com/dimfeld/httptreemux) - High-speed, flexible tree-based HTTP router for Go.
★ 529 ★ **2021*** [Router](https://github.com/fasthttp/router) - Router implementation for fasthttp
★ 306 ★ **2022*** [fasthttp-routing](https://github.com/qiangxue/fasthttp-routing) - fast and powerful routing package for fasthttp servers
★ 298 ★ **2016*** [muxie](https://github.com/kataras/muxie) - modern, fast and light HTTP multiplexer for Go. Fully compatible with the http.Handler interface. Written for everyone.
★ 269 ★ **2021*** [denco](https://github.com/naoina/denco) - The fast and flexible HTTP request router
★ 216 ★ **2018**## Middlewares & framework add-ons
* [Gorilla WebSocket](https://github.com/gorilla/websocket) - fast, well-tested and widely used WebSocket implementation
★ 17.9 ★ **2022** ♦ Looking for new maintainer* [Negroni](https://github.com/urfave/negroni) - Idiomatic HTTP Middleware
★ 7.2 ★ **ON*** [WS](https://github.com/gobwas/ws) - Tiny WebSocket library
★ 4.7 ★ **2021*** [sessions](https://github.com/gorilla/sessions) - provides cookie and filesystem sessions and infrastructure for custom session backends.
★ 2.4k ★ **2022** ♦ [gorillatoolkit.org/pkg/sessions](http://www.gorillatoolkit.org/pkg/sessions)* [go-getter](https://github.com/hashicorp/go-getter) - Package for downloading things from a string URL using a variety of protocols.
★ 1.4k ★ **2022*** [go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) - Retryable HTTP client
★ 1.3k ★ **2022*** [gorilla/securecookie](https://github.com/gorilla/securecookie) - encodes and decodes authenticated and optionally encrypted cookie values for Go web applications.
★ 591 ★ **2020** ♦ [gorillatoolkit.org/pkg/securecookie](http://www.gorillatoolkit.org/pkg/securecookie)* [cap](https://github.com/hashicorp/cap) - collection of authentication Go packages related to OIDC, JWKs and Distributed Claims.
★ 333 ★ **2022*** [cleangttp](https://github.com/hashicorp/go-cleanhttp) - Functions for accessing "clean" Go http.Client values
★ 258 ★ **ON** ♦ [godoc.org/github.com/hashicorp/go-cleanhttp](https://godoc.org/github.com/hashicorp/go-cleanhttp)* [echo-swagger](https://github.com/swaggo/echo-swagger) - echo middleware to automatically generate RESTful API documentation with Swagger 2.0.
★ 65 ★ **2022** ♦ [pkg.go.dev/github.com](https://pkg.go.dev/github.com/chenyahui/gin-cache)* [msgpack](https://github.com/hashicorp/go-msgpack) - Open-Source Go Code. msgpack.org[Go]
★ 55 ★ **2020** ♦ [godoc.org/github.com/ugorji/go/codec](http://godoc.org/github.com/ugorji/go/codec)* [gin-cache](https://github.com/chenyahui/gin-cache) - high performance gin middleware to cache http response. Compared to gin-contrib/cache, It has a huge performance improvement.
* [recws](https://github.com/recws-org/recws) - reconnecting WebSocket is a websocket client based on gorilla/websocket that will automatically reconnect if the connection is dropped and keeps the connection alive - thread safe!
## HTML template engines
* [quicktemplate](https://github.com/valyala/quicktemplate) - Fast, powerful, yet easy to use template engine for Go. Optimized for speed, zero memory allocations in hot paths. Up to 20x faster than html/template. Inspired by the [Mako templates](http://www.makotemplates.org/) philosophy.
★ 2.3k ★ **2021-09-15*** [pongo2](https://github.com/flosch/pongo2) - Django-syntax like templating-language ([official website](https://www.schlachter.tech/solutions/pongo2-template-engine/)).
★ 2.1k ★ **2020-10-16** ♦ [www.schlachter.tech/pongo2](https://www.schlachter.tech/pongo2)* [amber](https://github.com/eknkc/amber) - elegant templating engine for Go Programming Language It is inspired from HAML and Jade.
★ 888 ★ **2017-10-10*** [plush](https://github.com/gobuffalo/plush) - The powerful template system that Go needs.
★ 692 ★ **2021-11-19*** [goview](https://github.com/foolin/goview) - lightweight, minimalist and idiomatic template library based on golang html/template.
★ 264 ★ **2020-03-02*** [Blocks](https://github.com/kataras/blocks) - simple, Go-idiomatic view engine based on html/template with some extra features.
★ 28 ★ **2020-09-29**## Tool-kits & helpers
* [GoFrame](https://github.com/gogf/gf) - modular, powerful, high-performance and enterprise-class application development.
★ 8.1k ★ **ON** ♦ [goframe.org](https://goframe.org/)* [raft](https://github.com/hashicorp/raft) - implementation of the Raft consensus protocol
★ 6.3k ★ **ON*** [go-socket.io](https://github.com/googollee/go-socket.io) - socket.io library for golang, a realtime application framework.
★ 4.8k ★ **2022*** [bild](https://github.com/anthonynsimon/bild) - Image processing algorithms
★ 3.5k ★ **2022*** [memberlist](https://github.com/hashicorp/memberlist) - gossip based membership and failure detection.
★ 2.9k ★ **ON*** [FSM](https://github.com/looplab/fsm) - finite state machine.
★ 2.1k ★ **ON*** [Go Util](https://github.com/gookit/goutil) - utils: string, array/slice, map, format, CLI, ENV, filesystem, testing and more.
★ 481 ★ **2022** ♦ [github.com/gookit/goutil](https://pkg.go.dev/github.com/gookit/goutil)
`
* [objx](https://github.com/stretchr/objx) - package for dealing with maps, slices, JSON and other data.
★ 460 ★ **2020*** [mapper](https://github.com/devfeel/mapper) - simple and easy go tools for auto mapper struct to map, struct to struct, slice to slice, map to slice, map to json.
★ 293 ★ **2022*** [fpGo](https://github.com/TeaEntityLab/fpGo) - Monad, Functional Programming features for Golang.
★ 289 ★ **2022*** [JSON-RPC 2.0 Client](https://github.com/ybbus/jsonrpc) - rpc client using json as data format over http. The implementation is based on the JSON-RPC 2.0 specification: [www.jsonrpc.org/specification](http://www.jsonrpc.org/specification).
★ 289 ★ **2022*** [Events](https://github.com/gookit/event) - lightweight event manager and dispatcher
★ 191 ★ **2021** ♦ [pgk.go.dev/github.com/gookit/event](https://pgk.go.dev/github.com/gookit/event)* [gofp](https://github.com/rbrahul/gofp) - super simple Lodash like utility library with essential functions.
★ 104 ★ **2021*** [Filter](https://github.com/gookit/filter) - provides filtering, sanitizing, and conversion of Golang data.
★ 53 ★ **2022** ♦ [godoc.org/github.com/gookit/filter](https://godoc.org/github.com/gookit/filter)* [redux](https://github.com/dannypsnl/redux) - redux implementation
★ 43 ★ **2021** ♦ [pkg.go.dev/github.com/dannypsnl/redux/v2](https://pkg.go.dev/github.com/dannypsnl/redux/v2)* [Ececutor](https://github.com/rodaine/executor) - Action/Executor (Command) Pattern Library for Concurrent Workloads
★ 13 ★ **2020** ♦ [godoc.org/github.com/rodaine/executor](https://godoc.org/github.com/rodaine/executor)* [singleflight](https://pkg.go.dev/golang.org/x/sync/singleflight) - provides a duplicate function call suppression mechanism.
* [contextflight](https://github.com/exaring/contextflight) - singleflight wrapper supporting contexts
## JSON parsers & validators
* [Golang Serialization Benchmark](https://github.com/smallnest/gosercomp)
* [jsoniter](https://github.com/json-iterator/go) - high-performance 100% compatible drop-in replacement of "encoding/json".
★ 10k* [easyjson](https://github.com/mailru/easyjson) - fast and easy way to marshal/unmarshal Go structs to/from JSON without the use of reflection. Ability to customize the generated code by providing options not available with the standard encoding/json package, such as generating "snake_case" names or enabling omitempty behavior by default.
★ 4.1k* [ffjson: faster JSON for Go](https://github.com/pquerna/ffjson) - faster JSON serialization for Go
★ 2.9k* [go-json](https://github.com/goccy/go-json) - Fast JSON encoder/decoder compatible with encoding/json for Go
★ 2.2k ★ **2023** ♦ **Like** ♦* [fastjson](https://github.com/valyala/fastjson) - Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection. Outperforms [GJSON](https://github.com/tidwall/gjson) when accessing multiple unrelated fields.
★ 1.4k* [GJSON](https://github.com/tidwall/gjson) - provides a fast and simple way to get values from a json document. It has features such as one line retrieval, dot notation paths, iteration, and parsing json lines.
★ 9.3k* [SJSON](https://github.com/tidwall/sjson) - provides a very fast and simple way to set a value in a json document.
★ 1.5k* [Pretty](https://github.com/tidwall/pretty) - provides fast methods for formatting JSON for human readability, or to compact JSON for smaller payloads.
## Data structures
* [ants-pool](https://github.com/panjf2000/ants) - high-performance and low-cost goroutine pool in Go, inspired by fasthttp
★ 7.7k ★ **2022** ♦ [ants.andypan.me](https://ants.andypan.me/)* [concurrent map](https://github.com/orcaman/concurrent-map) - a thread-safe concurrent map for go
★ 3.3 ★ **ON*** [golang-lru](https://github.com/hashicorp/golang-lru) - provides the lru package which implements a fixed-size thread safe LRU cache. (Hashicorp)
★ 2.9 ★ **2022*** [FSM for Go](https://github.com/looplab/fsm) - Finite State Machine
★ 1.9 ★ **2022*** [skipmap](https://github.com/zhangyunhao116/skipmap) - high-performance, scalable concurrent sorted map based on skip-list. Up to 10x faster than sync.Map in the typical pattern.
★ 75 ★ **ON*** [Golang local cache](https://github.com/sima-land/go-local-cache) - simple local cache
★ 5 ★ **ON*** [go-set](https://github.com/hashicorp/go-set) - generic set implementation for Go
★ 4 ★ **ON**## CLI frameworks
* [cli](https://github.com/urfave/cli) - simple, fast, and fun package for building command line apps
★ 18.5K ★ **2022** ♦ [cli.urfave.org](https://cli.urfave.org/)* [CLI Color](https://github.com/gookit/color) - terminal color rendering library, support 8/16 colors, 256 colors, RGB color rendering output, support Print/Sprintf methods, compatible with Windows.
★ 1K ★ **2021-10-18** ♦ [gookit.github.io/color](https://gookit.github.io/color/)* [GCli](https://github.com/gookit/gcli) - CLI application, tool library, running CLI commands, support console color, user interaction, progress display, data formatting display, generate bash/zsh completion add more features.
★ 270 ★ **ON** ♦ [gookit.github.io/gcli](https://gookit.github.io/gcli/)## Config managers
* [Config](https://github.com/gookit/config) - config manager (load,get,set). support JSON, YAML, TOML, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var.
★ 304 ★ **2021-10-13** ♦ [pkg.go.dev/github.com/gookit/config/v2](https://pkg.go.dev/github.com/gookit/config/v2)## Dependency Injection
* [DI](https://github.com/gookit/di) - lightweight dependency injection container.
★ 3 ★ **2018-10-06**## Testing & Benchmarking
* [Testify](https://github.com/stretchr/testify) - toolkit with common assertions and mocks that plays nicely with the standard library.
★ 15.3k ★ **2021-01-13*** [bombardier](https://github.com/codesenberg/bombardier) - Fast cross-platform HTTP benchmarking tool.
★ 3k ★ **2020-10-15**## Applications
* [Colly](https://github.com/gocolly/colly) - Lightning Fast and Elegant Scraping Framework for Gophers. With Colly you can easily extract structured data from websites, which can be used for a wide range of applications, like data mining, data processing or archiving.
★ 17.5 ★ **2022** ♦ [go-colly.org/](https://go-colly.org/)* [bombardier](https://github.com/codesenberg/bombardier) - Fast cross-platform HTTP benchmarking tool.
★ 3k ★ **2020-10-15*** [go-smtp](https://github.com/emersion/go-smtp) - An SMTP client & server library written in Go
★ 1k ★ **2022** ♦ **BEST*** [goyoubbs](https://github.com/ego008/goyoubbs) - open source web forum built on Golang, fasthttp and leveldb.
★ 382 ★ **2021** ♦ [youbbs.org](https://youbbs.org/)## HTML utilities
* [html](https://pkg.go.dev/golang.org/x/net/html) - implements an HTML5-compliant tokenizer and parser.
* [htmlquery](https://github.com/antchfx/htmlquery) - is an XPath query package for HTML,
lets you extract data or evaluate from HTML documents by an XPath expression.
Built-in the query object caching feature based on [LRU](https://godoc.org/github.com/golang/groupcache/lru),
this feature will caching the recently used XPATH query string.
Enable query caching can avoid re-compile XPath expression each query.* [goquery](https://github.com/PuerkitoBio/goquery) - brings a syntax and a set of features similar to [jQuery](https://jquery.com) to the Go language. It is based on Go's net/html package and the CSS Selector library [cascadia](https://github.com/andybalholm/cascadia). Since the net/html parser returns nodes, and not a full-featured DOM tree, jQuery's stateful manipulation functions (like height(), css(), detach()) have been left off.
* [cascadia](https://github.com/andybalholm/cascadia) - CSS selectors Go library
## Email utilities
* [Hermes](https://github.com/matcornic/hermes) - Hermes is the Go port of the great [mailgen](https://github.com/eladnava/mailgen) engine for Node.js. Check their work, it's awesome! It's a package that generates clean, responsive HTML e-mails for sending transactional e-mails (welcome e-mails, reset password e-mails, receipt e-mails and so on), and associated plain text fallback.
## Distributed Data Stores
* [Dgraph](https://github.com/dgraph-io/dgraph) - horizontally scalable and distributed GraphQL database with a graph backend. It provides ACID transactions, consistent replication, and linearizable reads. It's built from the ground up to perform for a rich set of queries.
★ 18.4k ★ **ON** ♦ [dgraph.io](https://dgraph.io/)* [Doozer](https://github.com/ha/doozerd) - consistent distributed data store.
★ 3.2k ★ **2013*** [Olric](https://github.com/buraksezer/olric) - Distributed in-memory object store. It can be used both as an embedded Go library and as a language-independent service.
★ 2.3k ★ **2022*** [IceFireDB](https://github.com/IceFireDB/IceFireDB) - database built for web3 and web2. It strives to fill the gap between web2 and web3 with a friendly database experience, making web3 application data storage more convenient, and making it easier for web2 applications to achieve decentralization and data immutability.
★ 912 ★ **ON** ♦ [www.icefiredb.com](https://www.icefiredb.com/)* [GhostDB](https://github.com/jakekgrog/GhostDB) - distributed, in-memory, general purpose key-value data store that delivers microsecond performance at any scale. Supports persistance and point in time recovery.
★ 725 ★ **2021** ♦ [www.ghostdbcache.com](http://www.ghostdbcache.com/)* [Redwood](https://github.com/redwood/redwood) - highly-configurable, distributed, realtime database that manages a state tree shared among many peers.
★ 581 ★ **2022*** [ZanRedisDB](https://github.com/youzan/ZanRedisDBx) - distributed fault-tolerant key-value database Compatible with Redis.
★ 581 ★ **ON*** [Vasto](https://github.com/chrislusf/vasto) - distributed high-performance key-value store. On Disk. Eventual consistent. HA. Able to grow or shrink without service interruption. Vasto scales embedded RocksDB into a distributed key-value store, adding sharding, replication.
★ 239 ★ **2019**## Key/Value Databases
* [BadgerDB](https://github.com/dgraph-io/badger) - embeddable, persistent and fast key-value (KV) database written in pure Go. It is the underlying database for Dgraph, a fast, distributed graph database. It's meant to be a performant alternative to non-Go-based key-value stores like RocksDB.
★ 11.2k ★ **ON** ♦ [blog.dgraph.io/post/badger](https://blog.dgraph.io/post/badger/)* [BBolt](https://github.com/etcd-io/bbolt) - an embedded key/value database for Go.
★ 5.8k ★ **2022** ♦ [go.etcd.io/bbolt](https://go.etcd.io/bbolt)* [LevelDB](https://github.com/syndtr/goleveldb) - key/value database in Go.
★ 4.9k ★ **ON*** [BuntDb](https://github.com/tidwall/buntdb) - embeddable, in-memory key/value database for Go with custom indexing and geospatial support
★ 3.9k ★ **ON*** [Pebble](https://github.com/cockroachdb/pebble) - RocksDB/LevelDB inspired key-value database.
★ 3.1k ★ **ON*** [gokv](https://github.com/philippgille/gokv) - Simple key-value store abstraction and implementations for Go (Redis, Consul, etcd, bbolt, BadgerDB, LevelDB, Memcached, DynamoDB, S3, PostgreSQL, MongoDB, CockroachDB and many more)
★ 402 ★ **2020**## Databases
* [immudb](https://github.com/codenotary/immudb) - immutable database based on zero trust, SQL and Key-Value, tamperproof, data change history
★ 6.8k ★ **2022-01-12** ♦ [docs.immudb.io/master](https://docs.immudb.io/master/)* [tiedot](https://github.com/HouzuoGuo/tiedot) - document database engine that uses JSON as document notation; it has a powerful query processor that supports advanced set operations; it can be embedded into your program, or run a stand-alone server using HTTP (2017)
★ 2.7k ★ **2021-05-93*** [go-memdb](https://github.com/hashicorp/go-memdb) - in-memory database built on immutable radix trees
★ 2.5k ★ **2022*** [column](https://github.com/kelindar/column) - high-performance, columnar, in-memory storage engine that supports fast querying, update and iteration with zero-allocations, bitmap indexing, TTL, transactions and streaming messages. (2021 - reference)
★ 856 ★ **2022-01-01** ♦ [blog.dgraph.io/post/badger](https://blog.dgraph.io/post/badger/)* [CCache](https://github.com/karlseguin/ccache) - LRU Cache, written in Go, focused on supporting high concurrency. Supports: Hashed buckets, Layered Cache & TTL.
★ 877 ★ **2021-02-06*** [vellum](https://github.com/blevesearch/vellum) - library implementing an FST (finite state transducer)
★ 85 ★ **2021*** [Cache](https://github.com/gookit/cache) - generic cache use and cache manage. Provide a unified usage API by packaging various commonly used drivers. Support File, Memory, Redis, Memcached and more.
★ 55 ★ **2022-01-17** ♦ [pkg.go.dev/github.com/gookit/cache](https://pkg.go.dev/github.com/gookit/cache)## Drivers
* [Go-MySQL-Driver](https://github.com/go-sql-driver/mysql) - MySQL-Driver for Go's database/sql package.
★ 12.6k ★ **ON** ★ [pkg.go.dev/github.com/go-sql-driver/mysql](https://pkg.go.dev/github.com/go-sql-driver/mysql)* [go-mysql](https://github.com/go-mysql-org/go-mysql) - pure go library to handle MySQL network protocol and replication.
* Slave replication
* Incremental dumping
* Client
* Fake server
* Failover★ 3.7k ★ **2022** ★ **Like**
* [go-mysql](https://github.com/percona/go-mysql) - packages to help build tools for MySQL. For example, there's a slow log parser and a query fingerprinter.
* [GORM](https://github.com/hashicorp/gorm) - fantastic ORM library for Golang, aims to be developer friendly.
★ 0 ★ **2021*** [Confluent's Golang Client for Apache Kafka](https://github.com/confluentinc/confluent-kafka-go) - client for Apache Kafka and the Confluent Platform.
★ 3.4k ★ **2022** ★ **Like*** [migrate](https://github.com/golang-migrate/migrate) - database migrations. CLI and Golang library.
## SQL Builders
* [gosql](https://github.com/rushteam/gosql) - orm and sql builder
* [dbr](https://github.com/mailru/dbr) - query builder and other additions to Go's database/sql for super fast performance and convenience.
* [ozzo-dbx](https://github.com/go-ozzo/ozzo-dbx) - db driver and query builder (reference)
* [fuckdb](https://github.com/hantmac/fuckdb) - generates a go compatible struct type with the required column names, data types, and annotations just fill in the database information in the web UI. Making go web develop very easy by saving a lot of time writing structure.fuckdbis based/inspired by the work of Seth Shelnutt's db2struct, and Db2Struct is based/inspired by the work of ChimeraCoder's gojson package gojson.
* [DBQ](https://github.com/rocketlaunchr/dbq) - lightweight Dapper like db driver for PostgreSQl and MySQL
* [MaxMind DB Reader](https://github.com/oschwald/maxminddb-golang) - MaxMind DB Reader for Go
* [scany](https://github.com/georgysavva/scany) - Library for scanning data from a database into Go structs and more. It integrates with 'database/sql'
★ 727 ★ **ON** ★ **Like**## Message brokers
* [NSQ](https://github.com/nsqio/nsq) - realtime distributed messaging platform.
★ 22.7k ★ **ON** ♦ [nsq.io](https://nsq.io/)* [Mist](https://github.com/nanopack/mist) - distributed, tag-based pub-sub service for modern web applications and container-driven cloud.
★ 652 ★ **ON*** [yarpc](https://github.com/yarpc/yarpc-go) - message passing platform for Go
★ 362 ★ **ON*** [Event](https://github.com/gookit/event) - lightweight event manager and dispatcher
* [relay](https://github.com/armon/relay) - framework for simple message passing using an AMQP broker
* [httpmq](https://github.com/hnlq715/httpmq) - simple HTTP message queue written in Go with goleveldb, just like httpsqs written in C with Tokyo Cabinet.
★ 282 ★ **2022** ♦ [hnlq715.github.io/httpmq](http://hnlq715.github.io/httpmq)## RESTful API Server builders & generators
* [apig](https://github.com/shimastripe/apig) - RESTful API server generator.
**Input**: Model definitions based on [gorm](https://github.com/jinzhu/gorm) annotated struct
**Output**: RESTful JSON API server using [gin](https://github.com/gin-gonic/gin) including tests and documents.* [REST Layer](https://github.com/rs/rest-layer) - is an API framework heavily inspired by the excellent [Python Eve](http://python-eve.org). It helps you create a comprehensive, customizable, and secure REST (graph) API on top of pluggable [backend storages](#main-storage-handlers) with no boiler plate code so you can focus on your business logic.
* [DBCore (ALPHA)](https://github.com/eatonphil/dbcore) - code generator build around database schemas and an API specification. Included with DBCore are templates for generating a Go REST API and React UI.
## Validators
* [ozzo-validation](https://github.com/go-ozzo/ozzo-validation) - idiomatic Go (golang) validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags.
* [govalidator](https://github.com/asaskevich/govalidator) - package of validators and sanitizers for strings, numerics, slices and structs.
## Code generators
* [Jennifer](https://github.com/dave/jennifer) - code generator for Go
★ 2.4k ★ **2022*** [MessagePack Code Generator](https://github.com/tinylib/msgp) - code generator for MessagePack / msgpack.org[Go]
★ 1.5k ★ **2022**## State Machines
* [Stateless](https://github.com/qmuntal/stateless) - library for creating state machines.
* [Transition](https://github.com/qor/transition) - state machine implementation.
* [StateMachine](https://github.com/Gurpartap/statemachine-go) - Declarative Finite-State Machines in Go
## Computer vision & recognition
* [gocv](https://github.com/hybridgroup/gocv) - package provides Go language bindings for the [OpenCV 4](http://opencv.org/) computer vision library.
## Blockchain
* [Tendermint](https://github.com/tendermint/tendermint) - Byzantine Fault Tolerant (BFT) middleware that takes a state transition machine - written in any programming language - and securely replicates it on many machines. Or Blockchain, for short.
* [blackholeDB](https://github.com/bregydoc/blackholeDB) - conceptual Key-Value distributed Database. HoleDB uses IPFS as decentralized filesystem, and BadgerDB as store for local key value pairs. (work in progress)
* [go-orbit-db](https://github.com/berty/go-orbit-db) - distributed peer-to-peer database on IPFS. This project intends to provide a fully compatible port of the JavaScript version in Go.
## Tools & linters
* [nightingale](https://github.com/didi/nightingale) - Distributed and High-Performance Monitoring System. Prometheus enterprise UI
★ 3.5k ♦ [n9e.github.io](https://n9e.github.io/)* [golangci-lint](https://github.com/golangci/golangci-lint) - fast Go linters runner. It runs linters in parallel, uses caching, supports yaml config, has integrations with all major IDE and has dozens of linters included.
## Other
* [Consul](https://github.com/hashicorp/consul) - distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
* [lego](https://github.com/go-acme/lego) - Let's Encrypt client and ACME library
★ 5k ★ **2021-10-06** ♦ [go-acme.github.io/lego](https://go-acme.github.io/lego/)* [laitos](https://github.com/HouzuoGuo/laitos) - top geek's chindogu - personal assistant over satellite/telephone/SMS/chatbot, plus web infrastructure servers (web & mail, ad-free DNS, web proxy, SNMP, etc)
* [make-test](https://github.com/iconmobile-dev/go-interview/tree/master/make) - creates great testing display
nionated, intermediate/advanced-level Git book## gRPC
* [gRPC-Go](https://github.com/grpc/grpc-go) - The [Go](https://golang.org/) implementation of [gRPC](https://grpc.io/): A high performance, open source, general RPC framework that puts mobile and HTTP/2 first. For more information see the
* [Go gRPC docs](https://grpc.io/docs/languages/go), or jump directly into the [quick start](https://grpc.io/docs/languages/go/quickstart).
## Tutorials
* [Microservice Demo](https://github.com/Joker666/microservice-demo)
* [Cogman](https://github.com/Joker666/cogman) - distributed task runner backed by RabbitMQ and Redis
* [Go Worker Pool](https://github.com/Joker666/goworkerpool)
* [AsyncGoDemo](https://github.com/Joker666/AsyncGoDemo) - async/await demo
* [future](https://github.com/jbowes/future) - An exploration of futures with Golang 1.18+ type parameters (generics)