Awesome Go
This project is awesome-go Chinese version, last sync time : 2026-04-30 08:03:27(Synchronize every day)
financial support to Awesome Go
A curated list of awesome Go frameworks, libraries and software. Inspired by awesome-python。
Icon :
Explain
We use the Golang Bridge community Slack for instant communication, follow the form here to join.
Sponsorships:
Special thanks to
Awesome Go has no monthly fee, but we have employees who work hard to keep it running. With money raised, we can repay the effort of each person involved! You can see how we calculate our billing and distribution as it is open to the entire community. Want to be a supporter of the project click here.
A curated list of awesome Go frameworks, libraries, and software. Inspired by awesome-python.
Contributing:
Please take a quick gander at the contribution guidelines first. Thanks to all contributors; you rock!
If you see a package or project here that is no longer maintained or is not a good fit, please submit a pull request to improve this file. Thank you!
Contents
Expand contents
- Awesome Go
- Contents
- Actor Model
- Artificial Intelligence
- Audio and Music
- Authentication and Authorization
- Blockchain
- Bot Building
- Build Automation
- Command Line
- Configuration
- Continuous Integration
- CSS Preprocessors
- Data Integration Frameworks
- Data Structures and Algorithms
- Database
- Database Drivers
- Date and Time
- Distributed Systems
- Dynamic DNS
- Embeddable Scripting Languages
- Error Handling
- File Handling
- Financial
- Forms
- Functional
- Game Development
- Generators
- Geographic
- Go Compilers
- Goroutines
- GUI
- Hardware
- Images
- IoT (Internet of Things)
- Job Scheduler
- JSON
- Logging
- Machine Learning
- Messaging
- Microsoft Office
- Miscellaneous
- Natural Language Processing
- Networking
- OpenGL
- ORM
- Package Management
- Performance
- Query Language
- Reflection
- Resource Embedding
- Science and Data Analysis
- Security
- Serialization
- Server Applications
- Stream Processing
- Template Engines
- Testing
- Text Processing
- Third-party APIs
- Utilities
- UUID
- Validation
- Version Control
- Video
- Web Frameworks
- WebAssembly
- Webhooks Server
- Windows
- Workflow Frameworks
- XML
- Zero Trust
- Code Analysis
- Editor Plugins
- Go Generate Tools
- Go Tools
- Software Packages
- Resources
Actor Model
Libraries for building actor-based programs.
- ProtoActor star:5454 Distributed actors for Go, C#, and Java/Kotlin.
- Ergo star:4527 An actor-based Framework with network transparency for creating event-driven architecture in Golang. Inspired by Erlang.
- Hollywood star:2218 Blazingly fast and light-weight Actor engine written in Golang.
- Goakt star:339 Fast and Distributed Actor framework using protocol buffers as message for Golang.
- asyncmachine-go/pkg/machine Graph control flow library (AOP, actor, state-machine).
Artificial Intelligence
Libraries for building programs that leverage AI.
- Ollama star:170336 Run large language models locally.
- LocalAI star:45930 Open Source OpenAI alternative, self-host AI models.
- langchaingo star:9167 LangChainGo is a framework for developing applications powered by language models.
- chromem-go star:932 Embeddable vector database for Go with Chroma-like interface and zero third-party dependencies. In-memory with optional persistence.
- fun The simplest but powerful way to use large language models (LLMs) in Go.
- langgraphgo star:240 A Go library for building stateful, multi-actor applications with LLMs, built on the concept of LangGraph,with a lot of builtin Agent architectures.
- OllamaFarm star:98 Manage, load-balance, and failover packs of Ollamas.
- goai star:69 Go SDK for building AI applications. One SDK, 20+ providers. Inspired by Vercel AI SDK.
- ai star:19 A Go toolkit for building AI agents and applications across multiple providers with unified LLM, embeddings, tool calling, and MCP integration.
- routex star:16 YAML-driven multi-agent AI runtime for Go with Erlang-style supervision, MCP tool server support, and a CLI.
- AegisFlow star:12 AI gateway for routing, securing, and monitoring LLM traffic across 10+ providers. OpenAI-compatible API, WASM policy plugins, canary rollouts, real-time dashboard.
- otellix star:9 OpenTelemetry-native LLM observability and budget guardrails for cost-constrained production environments.
- Aetheris star:7 AI Agent execution runtime with event sourcing, checkpoint recovery, and At-Most-Once execution guarantee. Written in Go.
- agent-sdk-go star:7 Go SDK for building durable AI agents on Temporal with support for tools, MCP, human approvals, and sub-agent delegation.
- localaik star:7 Local compatibility proxy for the Gemini and OpenAI APIs. Run one container locally and test both SDK protocol shapes on the same port without API keys or network access.
- hotplex star:1 AI Agent runtime engine with long-lived sessions for Claude Code, OpenCode, pi-mono and other CLI AI tools. Provides full-duplex streaming, multi-platform integrations, and secure sandbox.
Audio and Music
Libraries for manipulating audio and music.
- Oto star:1906 A low-level library to play sound on multiple platforms.
- PortAudio star:836 Go bindings for the PortAudio audio I/O library.
- beep star:564 A simple library for playback and audio manipulation.
- music-theory star:457 Music theory models in Go.
- GoAudio star:415 Native Go Audio Processing Library.
- malgo star:403 Mini audio library.
- id3v2 star:364 ID3 decoding and encoding library for Go.
- flac star:353 Native Go FLAC encoder/decoder with support for FLAC streams.
- gaad star:136 Native Go AAC bitstream parser.
- minimp3 star:133 Lightweight MP3 decoder library.
- gosamplerate star:39 libsamplerate bindings for go.
- go-mpris star:21 Client for mpris dbus interfaces.
Authentication and Authorization
Libraries for implementing authentication and authorization.
- casbin star:20053 Authorization library that supports access control models like ACL, RBAC, and ABAC.
- jwt-go star:9052 A full featured implementation of JSON Web Tokens (JWT). This library supports the parsing and verification as well as the generation and signing of JWTs.
- spicedb star:6653 A Zanzibar-inspired database that enables fine-grained authorization.
- goth star:6516 provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.
- oauth2 star:5845 Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine, and App Engine support.
- keto star:5322 Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular permission language. Supports ACL, RBAC, and other access models.
- openfga star:5095 Implementation of fine-grained authorization based on the "Zanzibar: Google's Consistent, Global Authorization System" paper. Backed by CNCF.
- authboss star:4174 Modular authentication system for the web. It tries to remove as much boilerplate and "hard things" as possible so that each time you start a new web project in Go, you can plug it in, configure it, and start building your app without having to build an authentication system each time.
- scs star:2553 Session Manager for HTTP servers.
- jwx star:2367 Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies.
- gologin star:1953 chainable handlers for login with OAuth1 and OAuth2 authentication providers.
- osin star:1934 Golang OAuth2 server library.
- loginsrv star:1933 JWT login microservice with pluggable backends such as OAuth2 (Github), htpasswd, osiam.
- oidc star:1812 Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation.
- gorbac star:1669 provides a lightweight role-based access control (RBAC) implementation in Golang.
- paseto star:934 Golang implementation of Platform-Agnostic Security Tokens (PASETO).
- jwt star:687 Safe, simple, and fast JSON Web Tokens for Go.
- go-guardian star:609 Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication that supports LDAP, Basic, Bearer token, and Certificate based authentication.
- go-jose star:500 Fairly complete implementation of the JOSE working group's JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs.
- jwt star:361 Lightweight JSON Web Token (JWT) library.
- jeff star:272 Simple, flexible, secure, and idiomatic web session management with pluggable backends.
- gosession star:258 This is quick session for net/http in GoLang. This package is perhaps the best implementation of the session mechanism, or at least it tries to become one.
- jwt-auth star:237 JWT middleware for Golang http servers with many configuration options.
- goiabada star:189 An open-source authentication and authorization server supporting OAuth2 and OpenID Connect.
- otpgen star:142 Library to generate TOTP/HOTP codes.
- sessionup star:131 Simple, yet effective HTTP session management and identification package.
- sjwt star:122 Simple jwt generator and parser.
- session star:118 Go session management for web servers (including support for Google App Engine - GAE).
- branca star:97 branca token specification implementation for Golang 1.15+.
- securecookie star:85 Efficient secure cookie encoding/decoding.
- sessions star:79 Dead simple, highly performant, highly customizable sessions service for go http servers.
- otpgo star:77 Time-Based One-Time Password (TOTP) and HMAC-Based One-Time Password (HOTP) library for Go.
- authgate star:57 A lightweight OAuth 2.0 Authorization Server supporting Device Authorization Grant (RFC 8628), Authorization Code Flow with PKCE (RFC 6749 + RFC 7636), and Client Credentials Grant for machine-to-machine authentication.
- scope star:42 Easily Manage OAuth2 Scopes In Go.
- go-iam star:38 Developer-first Identity and Access Management system with a simple UI.
- go-githubauth star:29 Utilities for GitHub authentication: generate and use GitHub application and installation tokens.
- cookiestxt star:22 provides a parser of cookies.txt file format.
- go-jwt star:18 JWT authentication package providing access tokens and refresh tokens with fingerprinting, Redis storage, and automatic refresh capabilities.
- permissions star:12 Library for keeping track of users, login states, and permissions. Uses secure cookies and bcrypt.
- x509proxy star:7 Library to handle X509 proxy certificates.
- go-jwt star:2 A JWT (JSON Web Token) library for Go.
Blockchain
Tools for building blockchains.
- go-ethereum star:51009 Official Go implementation of the Ethereum protocol.
- kubo star:16999 An IPFS implementation in Go. It provides content-addressable storage which can be used for decentralized storage in DApps. It is based on the IPFS protocol.
- lnd star:8138 A complete implementation of a Lightning Network node.
- cosmos-sdk star:6990 A Framework for Building Public Blockchains in the Cosmos Ecosystem.
- tendermint star:5861 High-performance middleware for transforming a state machine written in any programming language into a Byzantine Fault Tolerant replicated state machine using the Tendermint consensus and blockchain protocols.
- solana-go star:1543 Go library to interface with Solana JSON RPC and WebSocket interfaces.
- gno star:1069 A comprehensive smart contract suite built with Golang and Gnolang, a deterministic, purpose-built Go variant for blockchains.
- cometbft star:888 A distributed, Byzantine fault-tolerant, deterministic state machine replication engine. It is a fork of Tendermint Core and implements the Tendermint consensus algorithm.
- gossamer star:454 A Go implementation of the Polkadot Host.
- nview star:39 Local monitoring tool for a Cardano Node. It's a TUI (terminal user interface) designed to fit most screens.
- gosemble star:15 A Go-based framework for building Polkadot/Substrate-compatible runtimes.
- tronlib star:2 A comprehensive, production-ready Go SDK for interacting with the TRON blockchain with TRC20 token support.
Bot Building
Libraries for building and working with bots.
- telegram-bot-api star:6401 Simple and clean Telegram bot client.
- telebot star:4590 Telegram bot framework is written in Go.
- wayback star:2179 A bot for Telegram, Mastodon, Slack, and other messaging platforms archives webpages.
- bot star:1696 Zero-dependencies Telegram Bot library with additional UI components.
- telego star:1009 Telegram Bot API library for Golang with full one-to-one API implementation.
- arikawa star:590 A library and framework for the Discord API.
- echotron star:436 An elegant and concurrent library for Telegram Bots in Go.
- go-joe A general-purpose bot library inspired by Hubot but written in Go.
- go-twitch-irc star:395 Library to write bots for twitch.tv chat
- go-sarah star:268 Framework to build a bot for desired chat services including LINE, Slack, Gitter, and more.
- slack-bot star:208 Ready to use Slack Bot for lazy developers: Custom commands, Jenkins, Jira, Bitbucket, Github...
- go-tg star:130 Generated from official docs Go client library for accessing Telegram Bot API, with batteries for building complex bots included.
- slacker star:59 Easy to use framework to create Slack bots.
- TG star:50 Telegram Bot Framework for Go.
- micha star:33 Go Library for Telegram bot api.
- Wisp star:9 Event-driven trading framework for Go. Spot, perpetual futures, prediction markets. Multi-exchange (Bybit, Hyperliquid, Polymarket).
- Wisp star:9 Event-driven trading framework for Go. Spot, perpetual futures, prediction markets. Multi-exchange (Bybit, Hyperliquid, Polymarket).
- ymsdk star:4 Go SDK for Yandex Messenger Bot API with type-safe models, automatic retry, and rate-limit handling.
Build Automation
Libraries and tools help with build automation.
- air star:23459 Air - Live reload for Go apps.
- Task star:15401 simple "Make" alternative.
- mage star:4655 Mage is a make/rake-like build tool using Go.
- realize star:4447 Go build a system with file watchers and live to reload. Run, build and watch file changes with custom paths.
- mmake star:1739 Modern Make.
- xc star:1378 Task runner with README.md defined tasks, executable markdown.
- goyek star:684 Create build pipelines in Go.
- taskctl star:319 Concurrent task runner.
- 1build star:243 Command line tool to frictionlessly manage project-specific commands.
- gaper star:83 Builds and restarts a Go project when it crashes or some watched file changes.
- gilbert Build system and task runner for Go projects.
- anko star:42 Simple application watcher for multiple programming languages.
- gob star:14 Gradle/Maven like build tool for Go projects.
Command Line
Advanced Console UIs
Libraries for building Console Applications and Console User Interfaces.
- bubbletea star:41962 Go framework to build terminal apps, based on The Elm Architecture.
- fx star:20440 Terminal JSON viewer & processor.
- termui star:13545 Go terminal dashboard based on termbox-go and inspired by blessed-contrib.
- lipgloss star:11154 Declaratively define styles for color, format and layout in the terminal.
- gocui star:10557 Minimalist Go library aimed at creating Console User Interfaces.
- gommon/color Style terminal text.
- bubbles star:8284 TUI components for bubbletea.
- go-prompt star:5474 Library for building a powerful interactive prompt, inspired by python-prompt-toolkit.
- pterm star:5437 A library to beautify console output on every platform with many combinable components.
- termbox-go star:4776 Termbox is a library for creating cross-platform text-based interfaces.
- progressbar star:4666 Basic thread-safe progress bar that works in every OS.
- asciigraph star:3016 Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
- termdash star:2991 Go terminal dashboard based on termbox-go and inspired by termui.
- spinner star:2525 Go package to easily provide a terminal spinner with options.
- mpb star:2490 Multi progress bar for terminal applications.
- uiprogress star:2142 Flexible library to render progress bars in terminal applications.
- termenv star:1982 Advanced ANSI style & color support for your terminal applications.
- uilive star:1720 Library for updating terminal output in real time.
- gookit/color star:1582 Terminal color rendering tool library, support 16 colors, 256 colors, RGB color rendering output, compatible with Windows.
- aurora star:1487 ANSI terminal colors that support fmt.Printf/Sprintf.
- go-isatty star:903 isatty for golang.
- go-colorable star:807 Colorable writer for windows.
- uitable star:743 Library to improve readability in terminal apps using tabular data.
- box-cli-maker star:630 Render highly customizable boxes in the terminal.
- bubble-table star:569 An interactive table component for bubbletea.
- simpletable star:547 Simple tables in a terminal with Go.
- yacspin star:456 Yet Another CLi Spinner package, for working with terminal spinners.
- tabby star:370 A tiny library for super simple Golang tables.
- go-colortext star:215 Go library for color output in terminals.
- loom star:124 Signal-based reactive components framework for building TUIs.
- ctc star:53 The non-invasive cross-platform terminal color library does not need to modify the Print method.
- marker star:53 Easiest way to match and mark strings for colorful terminal outputs.
- table star:51 Small library for terminal color based tables.
- lazyenv star:40 TUI for browsing, comparing, and editing .env files.
- phoenix star:26 High-performance TUI framework with Elm-inspired architecture, perfect Unicode rendering, and zero-allocation event system.
- goscaf star:23 goscaf generates opinionated, production-quality Go project boilerplate via an interactive CLI. Stop copy-pasting skeleton code between projects.
- go-ataman star:20 Go library for rendering ANSI colored text templates in terminals.
- go-palette star:20 Go library that provides elegant and convenient style definitions using ANSI colors. Fully compatible & wraps the fmt library for nice terminal layouts.
- crab-config-files-templating star:8 Dynamic configuration file templating tool for kubernetes manifest or general configuration files.
- chroma16 star:1 Generate a harmonious 16-color terminal palette from a single seed color or string.
Standard CLI
Libraries for building standard or basic Command Line applications.
- cobra star:43798 Commander for modern Go CLI interactions.
- carapace-bin star:1803 Multi-shell multi-command argument completer.
- carapace star:1262 Command argument completion generator for spf13/cobra.
- complete star:953 Write bash completions in Go + Go command bash completion.
- argparse star:639 Command line argument parser inspired by Python's argparse module.
- climax star:216 Alternative CLI with "human face", in spirit of Go command.
- clîr star:200 A Simple and Clear CLI library. Dependency free.
- commandeer star:175 Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags.
- cmdr star:142 A POSIX/GNU style, getopt-like command-line UI Go library.
- acmd star:138 Simple, useful, and opinionated CLI package in Go.
- command-chain star:71 A go library for configure and run command chains - such as pipelining in unix shells.
- cmd star:47 Extends the standard
flagpackage to support sub commands and more in idiomatic way. - argv star:43 Go library to split command line string as arguments array using the bash syntax.
- boa star:42 Declarative flags, env vars, validation, and config files from struct tags. Built on cobra.
- carapace-spec star:30 Define simple completions using a spec file.
- console Closed-loop application library for Cobra commands, with oh-my-posh prompts, and more.
- urfave/cli star:23999 Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).
- elvish star:6290 An expressive programming language and a versatile interactive shell.
- kingpin star:3563 Command line and flag parser supporting sub commands (superseded by
kong; see below). - Dnote star:3030 A simple command line notebook with multi-device sync.
- pflag star:2731 Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
- go-flags star:2698 go command line option parser.
- go-arg star:2253 Struct-based argument parsing in Go.
- ops star:1492 Unikernel Builder/Orchestrator.
- liner star:1094 Go readline-like library for command-line interfaces.
- flaggy star:947 A robust and idiomatic flags package with excellent subcommand support.
- mow.cli star:883 Go library for building CLI applications with sophisticated flag and argument parsing and validation.
- mkideal/cli star:725 Feature-rich and easy to use command-line package based on golang struct tags.
- wmenu star:229 Easy to use menu structure for cli applications that prompt users to make choices.
- sflags star:166 Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin, and other libraries.
- job star:149 JOB, make your short-term command as a long-term job.
- readline star:138 Shell library with modern and easy to use UI features.
- teris-io/cli star:132 Simple and complete API for building command line interfaces in Go.
- env star:126 Tag-based environment configuration for structs.
- version star:111 Collects and displays CLI version information in multiple formats along with upgrade notice.
- gocmd star:67 Go library for building command line applications.
- wlog star:67 Simple logging interface that supports cross-platform color and concurrency.
- strumt star:62 Library to create prompt chain.
- go-getoptions star:61 Go option parser inspired by the flexibility of Perl’s GetOpt::Long.
- flagvar star:48 A collection of flag argument types for Go's standard
flagpackage. - mcli star:46 A minimal but very powerful cli library for Go.
- hashicorp/cli star:37 Go library for implementing command-line interfaces.
- hiboot cli cli application framework with auto configuration and dependency injection.
- go-readline-ny star:34 A customizable line-editing library with Emacs keybindings, Unicode support, completion, and syntax highlighting. Used in NYAGOS shell.
- orpheus star:30 CLI framework with security hardening, plugin storage system, and production observability features.
- flash-flags star:10 Ultra-fast, zero-dependency, POSIX-compliant flag parsing library that can be used as drop-in stdlib replacement with security hardening.
- structcli star:10 Eliminate Cobra boilerplate: build powerful, feature-rich CLIs declaratively from Go structs.
- subcmd star:9 Another approach to parsing and running subcommands. Works alongside the standard
flagpackage. - getopt star:8 An accurate Go
getopt, validated against the GNU libc implementation. - goopt star:5 A declarative, struct-tag based CLI framework for Go, with a broad feature set such as hierarchical commands/flags, i18n, shell completion, and validation.
Configuration
Libraries for configuration parsing.
- viper star:30225 Go configuration with fangs.
- godotenv star:10398 Go port of Ruby's dotenv library (Loads environment variables from
.env). - sonic star:9360 A blazingly fast JSON serializing & deserializing library.
- env star:6129 Parse environment variables to Go structs (with defaults).
- kelseyhightower/envconfig star:5429 Go library for managing configuration data from environment variables.
- koanf star:3989 Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line.
- ini star:3538 Go package to read and write INI files.
- kong star:3044 Command-line parser with support for arbitrarily complex command-line structures and additional sources of configuration such as YAML, JSON, TOML, etc (successor to
kingpin). - cleanenv star:2096 Minimalistic configuration reader (from files, ENV, and wherever you want).
- xdg star:984 Go implementation of the XDG Base Directory Specification and XDG user directories.
- konfig star:646 Composable, observable and performant config handling for Go for the distributed processing era.
- aconfig star:628 Simple, useful and opinionated config loader.
- gookit/config star:584 application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge.
- confita star:507 Load configuration in cascade from multiple backends into a struct.
- fig star:384 Tiny library for reading configuration from a file and from environment variables (with validation & defaults).
- konf star:380 The simplest API for reading/watching config from file, env, flag and clouds (e.g. AWS, Azure, GCP).
- GoLobby/Config star:369 GoLobby Config is a lightweight yet powerful configuration manager for the Go programming language.
- gone/jconf Modular JSON configuration. Keep your config structs along with the code they configure and delegate parsing to submodules without sacrificing full config serialization.
- hjson star:350 Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.
- config star:338 Cloud native application configuration. Bind ENV to structs in only two lines.
- envconfig star:250 Read your configuration from environment variables.
- zerocfg star:200 Zero-effort, concise configuration management that avoids boilerplate and repetitive code, supports multiple sources with priority overrides.
- argus star:167 File watching and configuration management with MPSC ring buffer, adaptive batching strategies, and universal format parsing (JSON, YAML, TOML, INI, HCL, Properties).
- harvester star:134 Harvester, a easy to use static and dynamic configuration package supporting seeding, env vars and Consul integration.
- onion star:119 Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP.
- configuration star:108 Library for initializing configuration structs from env variables, files, flags and 'default' tag.
- envh star:100 Helpers to manage environment variables.
- configuro star:93 opinionated configuration loading & validation framework from ENV and Files focused towards 12-Factor compliant applications.
- hocon star:90 Configuration library for working with the HOCON(a human-friendly JSON superset) format, supports features like environment variables, referencing other values, comments and multiple files.
- env star:80 A lightweight package for loading environment variables into structs.
- uConfig star:73 Lightweight, zero-dependency, and extendable configuration management.
- go-aws-ssm star:63 Go package that fetches parameters from AWS System Manager - Parameter Store.
- config star:60 configure your app using file, environment variables, or flags in two lines of code.
- go-cfg star:48 The library provides a unified way to read configuration data into a structure from various sources, such as env, flags, and configuration files (.json, .yaml, .toml, .env).
- goconfig star:48 Populate Go structs from flags, environment variables, config.json and defaults with deterministic precedence. No extra dependencies.
- genv star:43 Read environment variables easily with dotenv support.
- go-up star:43 A simple configuration library with recursive placeholders resolution and no magic.
- confiq star:39 Structured data format to config struct decoder library for Go - supporting multiple data formats.
- enflag star:38 Container-oriented, zero-dependency configuration library that unifies Env variable and Flag parsing. Uses generics for type safety, without reflection or struct tags.
- conflate star:36 Library/tool to merge multiple JSON/YAML/TOML files from arbitrary URLs, validation against a JSON schema, and application of default values defined in the schema.
- bcl star:30 BCL is a configuration language similar to HCL.
- go-array star:22 A Go package that read or set data from map, slice or json.
- go-ssm-config star:22 Go utility for loading configuration parameters from AWS SSM (Parameter Store).
- nasermirzaei89/env star:22 Simple useful package for read environment variables.
- envyaml star:19 Yaml with environment variables reader. it helps to have secrets as environment variable but load them configs as structured Yaml.
- ini star:18 INI Parser & Write Library, Unmarshal to Struct, Marshal to Json, Write File, watch file.
- yamagiconf star:18 The "safe subset" of YAML for Go configs.
- go-ini star:17 A Go package that marshals and unmarshals INI-files.
- go-conf star:14 Simple library for application configuration based on annotated structs. It supports reading the configuration from environment variables, config files and command line parameters.
- typenv star:12 Minimalistic, zero dependency, typed environment variables library.
- nfigure star:11 Per-library struct-tag based configuration from command lines (Posix & Go-style); environment, JSON, YAML
- gonfig star:10 Tag-based configuration parser which loads values from different providers into typesafe struct.
- piper star:10 Viper wrapper with config inheritance and key generation.
- swap star:8 Instantiate/configure structs recursively, based on build environment. (YAML, TOML, JSON and env).
- env star:7 An environment utility package with support for unmarshaling into structs.
- hedzr/store star:7 Extensible, high-performance configuration management library, optimized for hierarchical data.
- GoCfg star:6 Config manager with Struct Tags based contracts, custom value providers, parsers, and documentation generation. Customizable yet simple.
- azureappconfiguration star:5 The configuration provider for consuming data in Azure App Configuration from Go applications.
- go-config star:5 Simple and convenient library for working with app configurations.
Continuous Integration
Tools for help with continuous integration.
- drone star:35369 Drone is a Continuous Integration platform built on Docker, written in Go.
- woodpecker star:6904 Woodpecker is a community fork of the Drone CI system.
- CDS star:4810 Enterprise-Grade CI/CD and DevOps Automation Open Source Platform.
- muffet star:2598 Fast website link checker in Go, see alternatives.
- abstruse star:956 Abstruse is a distributed CI platform.
- Bencher A suite of continuous benchmarking tools designed to catch performance regressions in CI.
- goveralls star:795 Go integration for Coveralls.io continuous code coverage tracking system.
- gotestfmt star:596 go test output for humans.
- overalls star:116 Multi-Package go project coverprofile for tools like goveralls.
- gomason star:66 Test, Build, Sign, and Publish your go binaries from a clean workspace.
- dot star:35 A minimal, local first continuous integration system that uses Docker to run jobs concurrently in stages.
- go-beautiful-html-coverage star:23 A GitHub Action to track code coverage in your pull requests, with a beautiful HTML preview, for free.
- go-semver-release star:21 Automate the semantic versioning of Git repositories.
- go-test-coverage A GitHub Action which reports issues when test coverage is below set threshold.
- roveralls star:20 Recursive coverage testing tool.
- go-fuzz-action star:19 Use Go 1.18's built-in fuzz testing in GitHub Actions.
CSS Preprocessors
Libraries for preprocessing CSS files.
- go-libsass star:215 Go wrapper to the 100% Sass compatible libsass project.
- go-css star:93 A very simple CSS parser, written in Go.
Data Integration Frameworks
Frameworks for performing ELT / ETL
- Benthos star:8653 A message streaming bridge between a range of protocols.
- CloudQuery A high-performance ELT data integration framework with pluggable architecture.
- omniparser star:1082 A versatile ETL library that parses text input (CSV/txt/JSON/XML/EDI/X12/EDIFACT/etc) in streaming fashion and transforms data into JSON output using data-driven schema.
Data Structures and Algorithms
Bit-packing and Compression
- roaring star:2876 Go package implementing compressed bitsets.
- binpacker star:233 Binary packer and unpacker helps user build custom binary stream.
- bit star:168 Golang set data structure with bonus bit-twiddling functions.
- crunch star:99 Go package implementing buffers for handling various datatypes easily.
- bingo star:52 Fast, zero-allocation, lexicographical-order-preserving packing of native types to bytes.
- go-ef star:41 A Go implementation of the Elias-Fano encoding.
Bit Sets
- bitset star:1493 Go package implementing bitsets.
- bitmap star:375 Dense, zero-allocation, SIMD-enabled bitmap/bitset in Go.
Bloom and Cuckoo Filters
- bloom star:2772 Go package implementing Bloom filters.
- boomfilters star:1647 Probabilistic data structures for processing continuous, unbounded streams.
- cuckoofilter star:1225 Cuckoo filter: a good alternative to a counting bloom filter implemented in Go.
- cuckoo-filter star:308 Cuckoo filter: a comprehensive cuckoo filter, which is configurable and space optimized compared with other implements, and all features mentioned in original paper are available.
- bloom star:147 Bloom filters implemented in Go.
- ring star:145 Go implementation of a high performance, thread safe bloom filter.
- bloom star:88 Golang Bloom filter implementation.
- bloomfilter star:20 Yet another Bloomfilter implementation in Go, compatible with Java's Guava library.
- ribbonGo star:6 First pure Go implementation of Ribbon filters (practically smaller than Bloom and Xor) for space-efficient approximate set membership queries.
Data Structure and Algorithm Collections
- gods star:17415 Go Data Structures. Containers, Sets, Lists, Stacks, Maps, BidiMaps, Trees, HashSet etc.
- go-datastructures star:7913 Collection of useful, performant, and thread-safe data structures.
- gostl star:1139 Data structure and algorithm library for go, designed to provide functions similar to C++ STL.
- algorithms star:837 Algorithms and data structures.CLRS study.
Iterators
- iter star:197 Go implementation of C++ STL iterators and algorithms.
- gloop star:27 Convenient looping using Go's range-over-func feature.
- goterator star:17 Iterator implementation to provide map and reduce functionalities.
Maps
See also Database for more complex key-value stores, and Trees for additional ordered map implementations.
- concurrent-swiss-map star:262 A high-performance, thread-safe generic concurrent hash map implementation with Swiss Map.
- cmap star:102 a thread-safe concurrent map for go, support using
interface{}as key and auto scale up shards. - goradd/maps star:52 Go 1.18+ generic map interface for maps; safe maps; ordered maps; ordered, safe maps; etc.
- hmap HMap is a concurrent and secure, generic support Map implementation designed to provide an easy-to-use API.
- dict star:46 Python-like dictionaries (dict) for Go.
- go-shelve star:12 A persistent, map-like object for the Go programming language. Supports multiple embedded key-value stores.
Miscellaneous Data Structures and Algorithms
- gota star:3271 Implementation of dataframes, series, and data wrangling methods for Go.
- hyperloglog star:1037 HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction.
- go-geoindex star:360 In-memory geo index.
- go-rquad star:140 Region quadtrees with efficient point location and neighbour finding.
- gogu star:109 A comprehensive, reusable and efficient concurrent-safe generics utility functions and data structures library.
- go-rampart star:106 Determine how intervals relate to each other.
- go-tuple star:100 Generic tuple implementation for Go 1.18+.
- fsm star:89 Finite-State Machine package.
- go-generics star:86 Generic slice, map, set, iterator, and goroutine utilities.
- hide star:74 ID type with marshalling to/from hash to prevent sending IDs to clients.
- count-min-log star:69 Go implementation Count-Min-Log sketch: Approximately counting with approximate counters (Like Count-Min sketch but using less memory).
- concurrent-writer star:61 Highly concurrent drop-in replacement for
bufio.Writer. - genfuncs star:51 Go 1.18+ generics package inspired by Kotlin's Sequence and Map.
- go18ds star:47 Go Data Structures using Go 1.18 generics.
- quadtree star:41 Generic, zero-alloc, 100%-test covered quadtree.
- slices star:22 Pure, generic functions for slices.
- gofal star:19 fractional api for Go.
- FSM star:18 FSM for Go.
- combo star:2 Combinatorial operations including permutations, combinations, and combinations-with-replacement.
Nullable Types
- nan star:86 Zero allocation Nullable structures in one library with handy conversion functions, marshallers and unmarshallers.
- typ star:46 Null Types, Safe primitive type conversion and fetching value from complex structures.
- null star:39 Nullable Go types that can be marshalled/unmarshalled to/from JSON.
Queues
- hatchet star:7034 Distributed, Fault-tolerant task queue.
- deque star:773 Fast ring-buffer deque (double-ended queue).
- goconcurrentqueue star:434 Concurrent FIFO queue.
- queue star:339 Multiple thread-safe, generic queue implementations for Go.
- deque star:205 A highly optimized double-ended queue.
- memlog star:138 An easy to use, lightweight, thread-safe and append-only in-memory data structure inspired by Apache Kafka.
- deheap star:16 Doubly-ended heap (min-max heap) with O(log n) access to both minimum and maximum elements.
- list star:11 A generic, thread-safe doubly linked list with full iterator support and an intrusive singly linked list for embedded use; a feature-rich replacement for container/list.
- dqueue star:2 Simple, in memory, zero dependency and battle tested, thread-safe deferred queue.
Sets
- golang-set star:4667 Thread-Safe and Non-Thread-Safe high-performance sets for Go.
- goset star:52 A useful Set collection implementation for Go.
- set star:30 Simple set data structure implementation in Go using LinkedHashMap.
- dsu star:16 Disjoint Set data structure implementation in Go.
Text Analysis
- bleve star:11017 Modern text indexing library for go.
- trie star:789 Trie implementation in Go.
- go-edlib star:597 Go string comparison and edit distance algorithms library (Levenshtein, LCS, Hamming, Damerau levenshtein, Jaro-Winkler, etc.) compatible with Unicode.
- levenshtein star:468 Implementation to calculate levenshtein distance in Go.
- go-adaptive-radix-tree star:414 Go implementation of Adaptive Radix Tree.
- levenshtein star:90 Levenshtein distance and similarity metrics with customizable edit costs and Winkler-like bonus for common prefix.
- ptrie star:46 An implementation of prefix tree.
- mspm star:28 Multi-String Pattern Matching Algorithm for information retrieval.
- parsefields star:7 Tools for parse JSON-like logs for collecting unique fields and events.
Trees
- skiplist star:296 Very fast Go Skiplist implementation.
- skiplist star:84 Skiplist implementation in Go.
- treemap star:66 Generic key-sorted map using a red-black tree under the hood.
- merkle star:22 Space-efficient computation of Merkle root hashes and inclusion proofs.
- graphlib star:3 Topological sort lib,Sorting and pruning of DAG graphs.
- hashsplit Split byte streams into chunks, and arrange chunks into trees, with boundaries determined by content, not position.
Pipes
- pipeline star:60 An implementation of pipelines with fan-in and fan-out.
- ordered-concurrently star:45 Go module that processes work concurrently and returns output in a channel in the order of input.
- parapipe star:37 FIFO Pipeline which parallels execution on each stage while maintaining the order of messages and results.
- pipelines star:15 Generic pipeline functions for concurrent processing.
Database
Caches
Data stores with expiring records, in-memory distributed data stores, or in-memory subsets of file-based databases.
- BigCache star:8122 Efficient key/value cache for gigabytes of data.
- GCache star:2733 Cache library with support for expirable Cache, LFU, LRU and ARC.
- fastcache star:2350 fast thread-safe inmemory cache for big number of entries. Minimizes GC overhead.
- cache2go star:2161 In-memory key:value cache which supports automatic invalidation based on timeouts.
- EchoVault star:530 Embeddable Distributed in-memory data store compatible with Redis clients.
- cachego star:371 Golang Cache component for multiple drivers.
- bcache star:163 Eventually consistent distributed in-memory cache Go library.
- go-cache star:160 A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern.
- couchcache star:66 RESTful caching micro-service backed by Couchbase server.
- clusteredBigCache star:45 BigCache with clustering support and individual item expiration.
- coherence-go-client star:14 Full implementation of Oracle Coherence cache API for Go applications using gRPC as network transport.
- gdcache star:13 A pure non-intrusive cache library implemented by golang, you can use it to implement your own distributed cache.
- go-freelru A GC-less, fast and generic LRU hashmap library with optional locking, sharding, eviction and expiration.
- groupcache star:13337 Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
- ristretto star:6880 A high performance memory-bound Go cache.
- gocache star:2853 A complete Go cache library with multiple stores (memory, memcache, redis, ...), chainable, loadable, metrics cache and more.
- otter star:2598 A high performance lockless cache for Go. Many times faster than Ristretto and friends.
- sturdyc star:1247 A caching library with advanced concurrency features designed to make I/O heavy applications robust and highly performant.
- ttlcache star:1239 An in-memory cache with item expiration and generics.
- jetcache-go star:527 Unified Go cache library supporting multi-level caching.
- theine star:369 High performance, near optimal in-memory cache with proactive TTL expiration and generics.
- pocache star:235 Pocache is a minimal cache package which focuses on a preemptive optimistic caching strategy.
- imcache star:123 A generic in-memory cache Go library. It supports expiration, sliding expiration, max entries limit, eviction callbacks and sharding.
- go-mcache star:104 Fast in-memory key:value store/cache library. Pointer caches.
- timedmap star:74 Map with expiring key-value pairs.
- icache star:23 A High Performance, Generic, thread-safe, zero-dependency cache package.
- gocache star:19 A data race free Go ache library with high performance and auto pruge functionality
- nscache star:14 A Go caching framework that supports multiple data source drivers.
- go-gcache star:12 The generic version of
GCache, cache support for expirable Cache, LFU, LRU and ARC. - ttlcache star:10 In-memory key value storage with TTL for each record.
Databases Implemented in Go
- prometheus star:63842 Monitoring system and time series database.
- Milvus star:44049 Milvus is a vector database for embedding management, analytics and search.
- tidb star:40042 TiDB is a distributed SQL database. Inspired by the design of Google F1.
- cockroach star:32106 Scalable, Geo-Replicated, Transactional Datastore.
- influxdb star:31472 Scalable datastore for metrics, events, and real-time analytics.
- dolt star:22435 Dolt – It's Git for Data.
- dgraph star:21667 Scalable, Distributed, Low Latency, High Throughput Graph Database.
- rqlite star:17456 The lightweight, distributed, relational database built on SQLite.
- VictoriaMetrics star:16908 fast, resource-effective and scalable open source time series database. May be used as long-term remote storage for Prometheus. Supports PromQL.
- badger star:15590 Fast key-value store in Go.
- DiceDB star:10744 An open-source, fast, reactive, in-memory database optimized for modern hardware. Higher throughput and lower median latencies, making it ideal for modern workloads.
- bbolt star:9485 An embedded key/value database for Go.
- Bitcask Bitcask is an embeddable, persistent and fast key-value (KV) database written in pure Go with predictable read/write performance, low latency and high throughput thanks to the bitcask on-disk layout (LSM+WAL).
- immudb star:8958 immudb is a lightweight, high-speed immutable database for systems and applications written in Go.
- goleveldb star:6327 Implementation of the LevelDB key/value database in Go.
- pebble star:5870 RocksDB/LevelDB inspired key-value database in Go.
- rosedb star:4883 An embedded k-v database based on LSM+WAL, supports string, list, hash, set, zset.
- buntdb star:4844 Fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support.
- redka star:4545 Redis re-implemented with SQLite.
- ledisdb star:4121 Ledisdb is a high performance NoSQL like Redis based on LevelDB.
- godis star:3833 A Golang implemented high-performance Redis server and cluster.
- nutsdb star:3564 Nutsdb is a simple, fast, embeddable, persistent key/value store written in pure Go. It supports fully serializable transactions and many data structures such as list, set, sorted set.
- LinDB star:3060 LinDB is a scalable, high performance, high availability distributed time series database.
- tiedot star:2731 Your NoSQL database powered by Golang.
- lotusdb star:2254 Fast k/v database compatible with lsm and b+tree.
- CovenantSQL star:1530 CovenantSQL is a SQL database on blockchain.
- column star:1512 High-performance, columnar, embeddable in-memory store with bitmap indexing and transactions.
- diskv star:1458 Home-grown disk-backed key-value store.
- Databunker star:1413 Personally identifiable information (PII) storage service built to comply with GDPR and CCPA.
- pogreb star:1350 Embedded key-value store for read-heavy workloads.
- objectbox-go star:1263 High-performance embedded Object Database (NoSQL) with Go API.
- eliasdb star:1034 Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.
- moss star:1018 Moss is a simple LSM key-value storage engine written in 100% Go.
- clover star:817 A lightweight document-oriented NoSQL database written in pure Golang.
- NornicDB star:697 High performance graph + vector database (Neo4j and qDrant compatible), focused on low latency graph-rag retreival for AI systems.
- levigo star:420 Levigo is a Go wrapper for LevelDB.
- NoKV star:381 Native metadata service for distributed filesystems, object storage, and AI dataset workloads.
- pudge star:369 Fast and simple key/value store written using Go's standard library.
- Vasto star:263 A distributed high-performance key-value store. On Disk. Eventual consistent. HA. Able to grow or shrink without service interruption.
- piladb star:205 Lightweight RESTful database engine based on stack data structures.
- libradb star:201 LibraDB is a simple database with less than 1000 lines of code for learning.
- unitdb star:124 Fast timeseries database for IoT, realtime messaging applications. Access unitdb with pubsub over tcp or websocket using github.com/unit-io/unitd application.
- hare star:97 A simple database management system that stores each table as a text file of line-delimited JSON.
- lynxdb star:54 Lightweight columnar log analytics database with a pipe-style query language inspired by SPL.
- rotom star:41 A tiny Redis server built with Golang, compatible with RESP protocols.
- Coffer star:39 Simple ACID key-value database that supports transactions.
- minisql star:36 Embedded single file SQL database.
- tempdb star:19 Key-value store for temporary items.
Database Schema Migration
- migrate star:18414 Database migrations. CLI and Golang library.
- bytebase star:13941 Safe database schema change and version control for DevOps teams.
- goose star:10596 Database migration tool. You can manage your database's evolution by creating incremental SQL or Go scripts.
- atlas star:8335 A Database Toolkit. A CLI designed to help companies better work with their data.
- dbmate star:6861 A lightweight, framework-agnostic database migration tool.
- sql-migrate star:3408 Database migration tool. Allows embedding migrations into the application using go-bindata.
- skeema star:1362 Pure-SQL schema management system for MySQL, with support for sharding and external online schema change tools.
- soda Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
- gormigrate star:1156 Database schema migration helper for Gorm ORM.
- goavro star:1059 A Go package that encodes and decodes Avro data.
- migrator star:178 Dead simple Go database migration library.
- darwin star:150 Database schema evolution library for Go.
- sqlize star:124 Database migration generator. Allows generate sql migration from model and existing sql by differ them.
- go-pg-migrations star:86 A Go package to help write migrations with go-pg/pg.
- avro star:48 Discover SQL schemas and convert them to AVRO schemas. Query SQL records into AVRO bytes.
- schema star:42 Library to embed schema migrations for database/sql-compatible databases inside your Go binaries.
- go-fixtures star:31 Django style fixtures for Golang's excellent built-in database/sql library.
- migrator star:25 MySQL database migrator designed to run migrations to your features and manage database schema update with intuitive go code.
- gorm-seeder star:18 Simple database seeder for Gorm ORM.
- libschema star:17 Define your migrations separately in each library. Migrations for open source libraries. MySQL & PostgreSQL.
- godfish star:12 Database migration manager, works with native query language. Support for cassandra, mysql, postgres, sqlite3.
- go-pg-migrate star:11 CLI-friendly package for go-pg migrations management.
Database Tools
- vitess star:20933 vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.
- pgweb star:9336 Web-based PostgreSQL database browser.
- go-mysql star:4935 Go toolset to handle MySQL protocol and replication.
- pREST star:4548 Simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new.
- chproxy star:1450 HTTP proxy for ClickHouse database.
- pg_timetable star:1350 Advanced scheduling for PostgreSQL.
- onedump star:961 Database backup from different drivers to different destinations with one command and configuration.
- rdb star:610 Redis RDB file parser for secondary development and memory analysis.
- clickhouse-bulk star:506 Collects small inserts and sends big requests to ClickHouse servers.
- wescale star:315 WeScale is a database proxy designed to enhance the scalability, performance, security, and resilience of your applications.
- gatewayd star:282 Cloud-native database gateway and framework for building data-driven applications. Like API gateways, for databases.
- octillery star:200 Go package for sharding databases ( Supports every ORM or raw SQL ).
- dbbench star:116 Database benchmarking tool with support for several databases and scripts.
- GoSQLX star:89 High-performance SQL parser, formatter, linter, and security scanner with multi-dialect support and WASM playground.
- hasql Library for accessing multi-host SQL database installations.
- gorm-multitenancy star:81 Multi-tenancy support for GORM managed databases.
- dg star:43 A fast data generator that produces CSV files from generated relational data.
- prep star:36 Use prepared SQL statements without changing your code.
- database-gateway star:35 Running SQL in production with ACLs, logs, and shared links.
- rwdb star:21 rwdb provides read replica capability for multiple database servers setup.
SQL Query Builders
Libraries for building and using SQL.
- sqlc star:17418 Generate type-safe code from SQL.
- Squirrel star:7920 Go library that helps you build SQL queries.
- xo star:3891 Generate idiomatic Go code for databases based on existing schema definitions or custom queries supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server.
- jet star:3656 Framework for writing type-safe SQL queries in Go, with ability to easily convert database query result into desired arbitrary object structure.
- goqu star:2653 Idiomatic SQL builder and query library.
- gendry star:1639 Non-invasive SQL builder and powerful data binder.
- Dotsql star:743 Go library that helps you keep sql files in one place and use them with ease.
- ozzo-dbx star:666 Powerful data retrieval methods as well as DB-agnostic query building capabilities.
- sqlingo star:450 A lightweight DSL to build SQL in Go.
- dbq star:414 Zero boilerplate database operations for Go.
- sqrl star:284 SQL query builder, fork of Squirrel with improved performance.
- Squalus Thin layer over the Go SQL package that makes it easier to perform queries.
- sq star:202 Type-safe SQL builder and struct mapper for Go.
- bqb star:192 Lightweight and easy to learn query builder.
- sqlf star:186 Fast SQL query builder.
- buildsqlx star:184 Go database query builder library for PostgreSQL.
- igor star:126 Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax.
- builq star:97 Easily build SQL queries in Go.
- godbal star:59 Database Abstraction Layer (dbal) for go. Support SQL builder and get result easily.
- gosql star:37 SQL Query builder with better null values support.
- qry star:35 Tool that generates constants from files with raw SQL queries.
- Hotcoal star:23 Secure your handcrafted SQL against injection.
- ormlite star:15 Lightweight package containing some ORM-like features and helpers for sqlite databases.
- obreron star:12 Fast and cheap SQL builder which does only one thing, SQL building.
- relica star:12 Type-safe database query builder with zero production dependencies, LRU statement cache, batch operations, and support for JOINs, subqueries, CTEs, and window functions.
- sg star:7 A SQL Gen for generating standard SQLs(supports: CRUD) written in Go.
- patcher star:6 Powerful SQL Query builder that automatically generates SQL queries from structs.
Database Drivers
Interfaces to Multiple Backends
- cayley star:15043 Graph database with support for multiple backends.
- gokv star:826 Simple key-value store abstraction and implementations for Go (Redis, Consul, etcd, bbolt, BadgerDB, LevelDB, Memcached, DynamoDB, S3, PostgreSQL, MongoDB, CockroachDB and many more).
- go-transaction-manager star:399 Transaction manager with multiple adapters (sql, sqlx, gorm, mongo, ...) controls transaction boundaries.
- dsc star:36 Datastore connectivity for SQL, NoSQL, structured files.
- dynamo star:23 A simple key-value abstraction to store algebraic and linked-data data types at AWS storage services: AWS DynamoDB and AWS S3.
Relational Database Drivers
- go-sql-driver/mysql star:15246 MySQL driver for Go.
- pgx star:13721 PostgreSQL driver supporting features beyond those exposed by database/sql.
- pq star:9871 Pure Go Postgres driver for database/sql.
- go-sqlite3 star:9071 SQLite3 driver for go that uses database/sql.
- go-mssqldb star:1881 Microsoft MSSQL driver for Go.
- go-sqlite3 star:986 This Go module is compatible with the database/sql driver. It allows embedding SQLite into your application, provides direct access to its C API, supports SQLite VFS, and also includes a GORM driver.
- sqlhooks star:666 Attach hooks to any database/sql driver.
- sqlite Package sqlite is a sql/database driver using a CGo-free port of the C SQLite3 library.
- go-oci8 star:631 Oracle driver for go that uses database/sql.
- godror star:593 Oracle driver for Go, using the ODPI-C driver.
- Sqinn-Go star:529 SQLite with pure Go.
- KSQL star:356 A Simple and Powerful Golang SQL Library.
- surrealdb.go star:311 SurrealDB Driver for Go.
- firebirdsql star:256 Firebird RDBMS SQL driver for Go.
- go-rqlite star:182 A Go client for rqlite, providing easy-to-use abstractions for working with the rqlite API.
- ydb-go-sdk star:178 native and database/sql driver YDB (Yandex Database).
- go-adodb star:151 Microsoft ActiveX Object DataBase driver for go that uses database/sql.
- avatica star:124 Apache Avatica/Phoenix SQL driver for database/sql.
- gofreetds star:114 Microsoft MSSQL driver. Go wrapper over FreeTDS.
- bgc star:21 Datastore Connectivity for BigQuery for go.
- pig star:17 Simple pgx wrapper to execute and scan query results easily.
NoSQL Database Drivers
- redis star:22069 Redis client for Golang.
- rueidis Fast Redis RESP3 client with auto pipelining and server-assisted client side caching.
- redigo star:9872 Redigo is a Go client for the Redis database.
- mongo-go-driver star:8521 Official MongoDB driver for the Go language.
- mgo star:1969 (unmaintained) MongoDB driver for the Go language that implements a rich and well tested selection of features under a very simple API following standard Go idioms.
- gorethink star:1649 Go language driver for RethinkDB.
- qmgo star:1352 The MongoDB driver for Go. It‘s based on official MongoDB driver but easier to use like Mgo.
- mgm star:765 MongoDB model-based ODM for Go (based on official MongoDB driver).
- aerospike-client-go star:458 Aerospike client in Go language.
- redeo star:444 Redis-protocol compatible TCP servers/services.
- neoism star:388 Neo4j client for Golang.
- gocb star:374 Official Couchbase Go SDK.
- Kivik star:343 Kivik provides a common Go and GopherJS client library for CouchDB, PouchDB, and similar databases.
- go-rejson star:342 Golang client for redislabs' ReJSON module using Redigo golang client. Store and manipulate structs as JSON objects in redis with ease.
- go-couchbase star:323 Couchbase client in Go.
- go-mongox star:217 A Go Mongo library based on the official driver, featuring streamlined document operations, generic binding of structs to collections, built-in CRUD, aggregation, automated field updates, struct validation, hooks, and plugin-based programming.
- godis star:112 redis client implement by golang, inspired by jedis.
- arangolite star:72 Lightweight golang driver for ArangoDB.
- go-pilosa star:58 Go client library for Pilosa.
- forestdb star:36 Go bindings for ForestDB.
- goriak star:30 Go language driver for Riak KV.
- neo4j star:29 Neo4j Rest API Bindings for Golang.
- gocosmos star:22 REST client and standard
database/sqldriver for Azure Cosmos DB. - gocql Go language driver for Apache Cassandra.
- gomemcached star:22 A binary Memcached client for Go with support for sharding using consistent hashing, along with SASL.
- xredis star:19 Typesafe, customizable, clean & easy to use Redis client.
- asc star:11 Datastore Connectivity for Aerospike for go.
- godscache star:11 A wrapper for the Google Cloud Platform Go Datastore package that adds caching using memcached.
- gomemcache memcache client library for the Go programming language.
Search and Analytic Databases
- elastic star:7460 Elasticsearch client for Go.
- go-elasticsearch star:6042 Official Elasticsearch client for Go.
- zoekt star:1598 Fast trigram based code search.
- elasticsql star:1194 Convert sql to elasticsearch dsl in Go.
- elastigo star:941 Elasticsearch client library.
- effdsl star:34 Elasticsearch query builder for Go.
- goes star:31 Library to interact with Elasticsearch.
- skizze probabilistic data-structures service and storage.
- clickhouse-go ClickHouse SQL client for Go with a
database/sqlcompatibility.
Date and Time
Libraries for working with dates and times.
- carbon star:5226 A simple, semantic and developer-friendly time package for golang.
- now star:4685 Now is a time toolkit for golang.
- dateparse star:2143 Parse date's without knowing format in advance.
- carbon star:782 Simple Time extension with a lot of util methods, ported from PHP Carbon library.
- durafmt star:511 Time duration formatting library for Go.
- go-persian-calendar star:236 The implementation of the Persian (Solar Hijri) Calendar in Go (golang).
- gostradamus star:208 A Go package for working with dates.
- timeutil star:193 Useful extensions (Timedelta, Strftime, ...) to the golang's time package.
- go-sunrise star:175 Calculate the sunrise and sunset times for a given location.
- iso8601 star:158 Efficiently parse ISO8601 date-times without regex.
- date star:142 Augments Time for working with dates, date ranges, time spans, periods, and time-of-day.
- go-str2duration star:117 Convert string to duration. Support time.Duration returned string and more.
- timespan star:84 For interacting with intervals of time, defined as a start time and a duration.
- feiertage star:52 Set of functions to calculate public holidays in Germany, incl. specialization on the states of Germany (Bundesländer). Things like Easter, Pentecost, Thanksgiving...
- go-anytime star:35 Parse dates/times like "next dec 22nd at 3pm" and ranges like "from today until next thursday" without knowing the format in advance.
- kair star:24 Date and Time - Golang Formatting Library.
- cronrange star:18 Parses Cron-style time range expressions, checks if the given time is within any ranges.
- approx star:17 A Duration extension supporting parsing/printing durations in days, weeks and years.
- strftime star:14 C99-compatible strftime formatter.
- tuesday star:12 Ruby-compatible Strftime function.
- go-week star:11 An efficient package to work with ISO8601 week dates.
- go-faketime star:5 A simple
time.Now()that honors the faketime(1) utility. - go-date-fns star:4 A comprehensive date utility library for Go, inspired by date-fns, with 140+ pure and immutable functions.
- go-datebin star:4 A simple datetime parse pkg.
Distributed Systems
Packages that help with building Distributed Systems.
- go-zero star:32973 A web and rpc framework. It's born to ensure the stability of the busy sites with resilient design. Builtin goctl greatly improves the development productivity.
- go-kit star:27447 Microservice toolkit with support for service discovery, load balancing, pluggable transports, request tracking, etc.
- Kratos star:25651 A modular-designed and easy-to-use microservices framework in Go.
- grpc-go star:22924 The Go language implementation of gRPC. HTTP/2 based RPC.
- go-micro star:22744 A distributed systems development framework.
- NATS star:19709 NATS is a simple, secure, and performant communications system for digital systems, services, and devices.
- raft star:9002 Golang implementation of the Raft consensus protocol, by HashiCorp.
- rpcx star:8282 Distributed pluggable RPC service framework like alibaba Dubbo.
- Kitex star:7937 A high-performance and strong-extensibility Golang RPC framework that helps developers build microservices. If the performance and extensibility are the main concerns when you develop microservices, Kitex can be a good choice.
- lura star:6767 Ultra performant API Gateway framework with middlewares.
- micro A distributed systems runtime for the cloud and beyond.
- torrent star:6014 BitTorrent client package.
- dragonboat star:5301 A feature complete and high performance multi-group Raft library in Go.
- evans star:4478 Evans: more expressive universal gRPC client.
- emitter-io star:4002 High performance, distributed, secure and low latency publish-subscribe platform built with MQTT, Websockets and love.
- gleam star:3558 Fast and scalable distributed map/reduce system written in pure Go and Luajit, combining Go's high concurrency with Luajit's high performance, runs standalone or distributed.
- glow star:3223 Easy-to-Use scalable distributed big data processing, Map-Reduce, DAG execution, all in pure Go.
- Dragonfly star:3152 Provide efficient, stable and secure file distribution and image acceleration based on p2p technology to be the best practice and standard solution in cloud native architectures.
- sponge star:2828 A distributed development framework that integrates automatic code generation, gin and grpc frameworks, base development frameworks.
- liftbridge star:2784 Lightweight, fault-tolerant message streams for NATS.
- go-eagle star:2421 A Go framework for the API or Microservice with handy scaffolding tools.
- oras star:2240 CLI and library for OCI Artifacts in container registries.
- mochi mqtt star:1846 Fully spec compliant, embeddable high-performance MQTT v5/v3 broker for IoT, smarthome, and pubsub.
- redis-lock star:1747 Simplified distributed locking implementation using Redis.
- resgate Realtime API Gateway for building REST, real time, and RPC APIs, where all clients are synchronized seamlessly.
- hprose star:1262 Very newbility RPC Library, support 25+ languages now.
- go-doudou star:1170 A gossip protocol and OpenAPI 3.0 spec based decentralized microservice framework. Built-in go-doudou cli focusing on low-code and rapid dev can power up your productivity.
- K8gb star:1166 A cloud native Kubernetes Global Balancer.
- trpc-go star:1143 The Go language implementation of tRPC, which is a pluggable, high-performance RPC framework.
- rain star:1121 BitTorrent client and library.
- arpc star:1089 More effective network communication, support two-way-calling, notify, broadcast.
- raft star:1020 Go implementation of the Raft consensus protocol, by CoreOS.
- Temporal star:876 Durable execution system for making code fault-tolerant and simple.
- opentelemetry-go-auto-instrumentation star:848 OpenTelemetry Compile-Time Instrumentation for Golang.
- consistent star:771 Consistent hashing with bounded loads.
- gorpc star:708 Simple, fast and scalable RPC library for high load.
- go-sundheit star:560 A library built to provide support for defining async service health checks for golang services.
- digota star:525 grpc ecommerce microservice.
- dot distributed sync using operational transformation/OT.
- go-jump star:389 Port of Google's "Jump" Consistent Hash function.
- sleuth star:388 Library for master-less p2p auto-discovery and RPC between HTTP services (using ZeroMQ).
- jsonrpc star:370 JSON-RPC 2.0 HTTP client implementation.
- dht star:354 BitTorrent Kademlia DHT implementation.
- Tarmac star:343 Framework for writing functions, microservices, or monoliths with WebAssembly
- jsonrpc star:193 The jsonrpc package helps implement of JSON-RPC 2.0.
- outboxer star:167 Outboxer is a go library that implements the outbox pattern.
- pglock PostgreSQL-backed distributed locking implementation.
- pjrpc Golang JSON-RPC Server-Client with Protobuf spec.
- outbox star:126 Lightweight library for the transactional outbox pattern in Go, not tied to any specific relational database or broker.
- doublejump star:110 A revamped Google's jump consistent hash.
- Semaphore star:95 A straightforward (micro) service orchestrator.
- cmd-stream-go star:88 High-performance distributed command pattern library for Go.
- capillaries star:71 distributed batch data processing framework.
- go-mysql-lock star:66 MySQL based distributed lock.
- flowgraph star:65 flow-based programming package.
- drmaa star:51 Job submission library for cluster schedulers based on the DRMAA standard.
- dynamolock DynamoDB-backed distributed locking implementation.
- go-pdu star:49 A decentralized identity-based social network.
- committer star:42 A distributed transactions management system (2PC/3PC implementation).
- consistenthash star:32 Consistent hashing with configurable replicas.
- gmsec star:26 A Go distributed systems development framework.
- dynatomic star:17 A library for using DynamoDB as an atomic counter.
- bedrock star:15 Provides a minimal, modular and composable foundation for quickly developing services and more use case specific frameworks in Go.
- failured star:15 adaptive accrual failure detector for distributed systems.
- health star:11 Health checker for Go services with Kubernetes probe support.
- circuit star:3 Circuit breaker with gradual recovery via probabilistic throttling.
- rpcplatform star:1 Framework for microservices with service discovery, load balancing, and related features.
Dynamic DNS
Tools for updating dynamic DNS records.
- GoDNS star:1744 A dynamic DNS client tool, supports DNSPod & HE.net, written in Go.
- DDNS star:267 Personal DDNS client with Digital Ocean Networking DNS as backend.
- dyndns Background Go process to regularly and automatically check your IP Address and make updates to (one or many) Dynamic DNS records for Google domains whenever your address changes.
Libraries and tools that implement email creation and sending.
- MailHog star:15949 Email and SMTP testing with web and API interface.
- Mailpit star:9269 Email and SMTP testing tool for developers.
- Maddy star:5946 All-in-one (SMTP, IMAP, DKIM, DMARC, MTA-STS, DANE) email server
- mox star:5659 Modern full-featured secure mail server for low-maintenance, self-hosted email.
- hermes star:3001 Golang package that generates clean, responsive HTML e-mails.
- email star:2797 A robust and flexible email library for Go.
- go-imap star:2319 IMAP library for clients and servers.
- chasquid SMTP server written in Go.
- email-verifier star:1555 A Go library for email verification without sending any emails.
- go-mail star:1352 A simple Go library for sending mails in Go.
- SendGrid star:1056 SendGrid's Go library for sending email.
- mailgun-go star:744 Go library for sending mail with the Mailgun API.
- go-simple-mail star:694 Very simple package to send emails with SMTP Keep Alive and two timeouts: Connect and Send.
- go-message star:445 Streaming library for the Internet Message Format and mail messages.
- douceur star:258 CSS inliner for your HTML emails.
- Hectane star:226 Lightweight SMTP client providing an HTTP API.
- go-premailer star:197 Inline styling for HTML mail in Go.
- smtpmock star:164 Lightweight configurable multithreaded fake SMTP server. Mimic any SMTP behaviour for your test environment.
- mailchain star:142 Send encrypted emails to blockchain addresses written in Go.
- truemail-go star:134 Configurable Golang email validator/verifier. Verify email via Regex, DNS, SMTP and even more.
- go-imap star:100 Batteries-included IMAP client with auto-reconnect, OAuth2, IDLE support, and built-in MIME parsing.
- go-dkim star:99 DKIM library, to sign & verify email.
- go-email-normalizer star:78 Golang library for providing a canonical representation of email address.
- smtp star:76 SMTP server protocol state machine.
- mailx star:21 Mailx is a library that makes it easier to send email via SMTP. It is an enhancement of the golang standard library
net/smtp. - tickstem/verify star:2 Validate email addresses before they hit your database: syntax, MX lookup, disposable domains, and role-based inboxes.
Embeddable Scripting Languages
Embedding other languages inside your go code.
- FrankenPHP star:11026 PHP embedded in Go, with a
net/httphandler. - expr star:7829 Expression evaluation engine for Go: fast, non-Turing complete, dynamic typing, static typing.
- gopher-lua star:6889 Lua 5.1 VM and compiler written in Go.
- goja star:6838 ECMAScript 5.1(+) implementation in Go.
- tengo star:3800 Bytecode compiled script language for Go.
- go-lua star:3434 Port of the Lua 5.2 VM to pure Go.
- cel-go star:2952 Fast, portable, non-Turing complete expression evaluation with gradual typing.
- starlark-go star:2676 Go implementation of Starlark: Python-like language with deterministic evaluation and hermetic execution.
- metacall star:1795 Cross-platform Polyglot Runtime which supports NodeJS, JavaScript, TypeScript, Python, Ruby, C#, WebAssembly, Java, Cobol and more.
- Wa/凹语言 star:1762 The Wa Programming Language embedded in Go.
- anko star:1563 Scriptable interpreter written in Go.
- go-php star:940 PHP bindings for Go.
- goal An embeddable scripting array language.
- gval star:813 A highly customizable expression language written in Go.
- prolog star:719 Embeddable Prolog.
- golua star:696 Go bindings for Lua C API.
- gisp star:530 Simple LISP in Go.
- gentee star:146 Embeddable scripting programming language.
- binder star:79 Go to Lua binding library, based on gopher-lua.
- ecal star:46 A simple embeddable scripting language which supports concurrent event processing.
- starlet star:43 Go wrapper for starlark-go that simplifies script execution, offers data conversion, and useful Starlark libraries and extensions.
- purl star:41 Perl 5.18.2 embedded in Go.
- ngaro star:30 Embeddable Ngaro VM implementation enabling scripting in Retro.
- go-lua star:5 Lua 5.4 VM implemented in pure Go.
Error Handling
Libraries for handling errors.
- go-multierror star:2566 Go (golang) package for representing a list of errors as a single error.
- errors star:2392 Go error library with error portability over the network.
- eris star:1786 A better way to handle, trace, and log errors in Go. Compatible with the standard error library and github.com/pkg/errors.
- errorx star:1274 A feature rich error package with stack traces, composition of errors and more.
- multierr star:1174 Package for representing a list of errors as a single error.
- tracerr star:1110 Golang errors with stack trace and source fragments.
- oops star:932 Error handling with context, stack trace and source fragments.
- errlog star:460 Hackable package that determines responsible source code for an error (and some other fast-debugging features). Pluggable to any logger in-place.
- emperror star:375 Error handling tools and best practices for Go libraries and applications.
- Fault star:309 An ergonomic mechanism for wrapping errors in order to facilitate structured metadata and context for error values.
- errors star:204 Drop-in replacement for the standard library errors package and github.com/pkg/errors. Provides various error handling primitives.
- errors star:75 Drop-in replacement for builtin Go errors. This is a minimal error handling package with custom error types, user friendly messages, Unwrap & Is. With very easy to use and straightforward helper functions.
- exception star:38 A simple utility package for exception handling with try-catch in Golang.
- Falcon star:11 A Simple Yet Highly Powerful Package For Error Handling.
- errors star:7 The most simple error wrapper with awesome performance and minimal memory overhead.
- errors Providing errors with a stack trace and optional structured details. Compatible with github.com/pkg/errors API but does not use it internally.
- errors star:6 Simple golang error handling with classification primitives.
- metaerr star:5 A library to create your custom error builders producing structured errors with metadata from different sources and optional stacktraces.
File Handling
Libraries for handling files and file systems.
- pdfcpu star:8588 PDF processor.
- afero star:6637 FileSystem Abstraction System for Go.
- gdu star:5590 Disk usage analyzer with console interface.
- go-wkhtmltopdf star:1175 A package to convert an HTML template to a PDF file.
- notify star:929 File system event notification library with simple API, similar to os/signal.
- copy star:772 Copy directory recursively.
- gofs star:528 A cross-platform real-time file synchronization tool out of the box.
- afs star:383 Abstract File Storage (mem, scp, zip, tar, cloud: s3, gs) for Go.
- vfs star:360 A pluggable, extensible, and opinionated set of filesystem functionality for Go across a number of filesystem types such as os, S3, and GCS.
- go-exiftool star:295 Go bindings for ExifTool, the well-known library used to extract as much metadata as possible (EXIF, IPTC, ...) from files (pictures, PDF, office, ...).
- iso9660 star:282 A package for reading and creating ISO9660 disk images
- fastwalk star:131 Fast parallel directory traversal library (used by fzf).
- go-csv-tag star:131 Load csv file using tag.
- parquet star:127 Read and write parquet files.
- checksum star:114 Compute message digest, like MD5, SHA256, SHA1, CRC or BLAKE2s, for large files.
- skywalker star:103 Package to allow one to concurrently go through a filesystem with ease.
- opc star:80 Load Open Packaging Conventions (OPC) files for Go.
- gulter star:70 A simple HTTP middleware to automatically handle all your file upload needs
- baraka star:64 A library to process http file uploads easily.
- go-gtfs star:48 Load gtfs files in go.
- flop star:35 File operations library which aims to mirror feature parity with GNU cp.
- gxpdf star:29 Modern full-lifecycle PDF library for Go — parse, extract tables, generate, and sign documents with zero CGO dependencies.
- gut/yos star:27 Simple and reliable package for file operations like copy/move/diff/list on files, directories and symbolic links.
- todotxt star:25 Go library for Gina Trapani's todo.txt files, supports parsing and manipulating of task lists in the todo.txt format.
- higgs star:24 A tiny cross-platform Go library to hide/unhide files and directories.
- go-decent-copy star:22 Copy files for humans.
- pathtype star:13 Treat paths as their own type instead of using strings.
Financial
Packages for accounting and finance.
- decimal star:7331 Arbitrary-precision fixed-point decimal numbers.
- ticker star:6066 Terminal stock watcher and stock position tracker.
- go-money star:1886 Implementation of Fowler's Money pattern.
- bbgo star:1632 A crypto trading bot framework written in Go. Including common crypto exchange API, standard indicators, back-testing and many built-in strategies.
- ledger star:1214 A programmable financial ledger that provides a foundation for money-moving applications.
- accounting star:909 money and currency formatting for golang.
- techan star:895 Technical analysis library with advanced market analysis and trading strategies.
- indicator star:844 Technical analysis library providing financial indicators, strategies, and backtesting framework.
- currency star:635 Handles currency amounts, provides currency information and formatting.
- orderbook star:545 Matching Engine for Limit Order Book in Golang.
- ach star:539 A reader, writer, and validator for Automated Clearing House (ACH) files.
- gobl star:275 Invoice and billing document framework. JSON Schema based. Automates tax calculations and validation, with tooling to convert into global formats.
- decimal star:235 Immutable decimal numbers with panic-free arithmetic.
- go-finance star:190 Library of financial functions for time value of money (annuities), cash flow, interest rate conversions, bonds and depreciation calculations.
- udecimal star:181 High performance, high precision, zero allocation fixed-point decimal library for financial applications.
- ofxgo star:149 Query OFX servers and/or parse the responses (with example command-line client).
- transaction star:139 Embedded transactional database of accounts, running in multithreaded mode.
- vat star:119 VAT number validation & EU VAT rates.
- payme star:90 QR code generator (ASCII & PNG) for SEPA payments.
- swift Offline validity check of IBAN (International Bank Account Number) and retrieval of BIC (for some countries).
- currency star:61 High performant & accurate currency computation package.
- money star:52 Immutable monetary amounts and exchange rates with panic-free arithmetic.
- dec128 star:43 High performance 128-bit fixed-point decimal numbers.
- fpmoney star:35 Fast and simple ISO4217 fixed-point decimal money.
- fpdecimal star:34 Fast and precise serialization and arithmetic for small fixed-point decimals
- go-finance star:32 Module to fetch exchange rates, check VAT numbers via VIES and check IBAN bank account numbers.
- coinpaprika-api-go-client star:27 Go client for the CoinPaprika cryptocurrency market data API.
- go-nowpayments star:5 Library for the crypto NOWPayments API.
Forms
Libraries for working with forms.
- nosurf star:1734 CSRF protection middleware for Go.
- gorilla/csrf star:1192 CSRF protection for Go web applications & services.
- form star:909 Decodes url.Values into Go value(s) and Encodes Go value(s) into url.Values. Dual Array and Full map support.
- httpin star:384 Decode an HTTP request into a custom struct, including querystring, forms, HTTP headers, etc.
- conform star:325 Keeps user input in check. Trims, sanitizes & scrubs data based on struct tags.
- formam star:192 decode form's values into a struct.
- forms star:142 Framework-agnostic library for parsing and validating form/JSON data which supports multipart forms and files.
- qs star:80 Go module for encoding structs into URL query parameters.
- checker star:48 Checker helps validating user input through rules defined in struct tags or directly through functions.
- bind star:32 Bind form data to any Go values.
- queryparam star:19 Decode
url.Valuesinto usable struct values of standard or custom types. - gbind star:10 Bind data to any Go value. Can use built-in and custom expression binding capabilities; supports data validation
- roamer star:6 Eliminates boilerplate code for parsing HTTP requests by binding cookies, headers, query params, path params, body to structs and more by using simple tags.
Functional
Packages to support functional programming in Go.
- mo star:3346 Monads and popular FP abstractions, based on Go 1.18+ Generics (Option, Result, Either...).
- go-underscore star:1299 Useful collection of helpfully functional Go collection utilities.
- go-functional star:530 Functional programming in Go using generics
- fpGo star:354 Monad, Functional Programming features for Golang.
- fp-go star:325 Collection of Functional Programming helpers powered by Golang 1.18+ generics.
- FuncFrog star:285 Functional helpers library providing Map, Filter, Reduce and other stream operations on generic slices Go1.18+ with lazy evaluation and error handling mechanisms.
- gofp star:153 A lodash like powerful utility library for Golang.
- fuego star:145 Functional Experiment in Go.
- underscore star:117 Functional programming helpers for Go 1.18 and beyond.
- g star:58 Functional programming framework for Go.
- valor star:20 Generic option and result types that optionally contain a value.
Game Development
Awesome game development libraries.
- Ebitengine star:13137 dead simple 2D game engine in Go.
- Leaf star:5505 Lightweight game server framework.
- nano star:3196 Lightweight, facility, high performance golang based game server framework.
- g3n star:3084 Go 3D Game Engine.
- Pitaya star:2774 Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK.
- goworld star:2709 Scalable game server engine, featuring space-entity framework and hot-swapping.
- raylib-go star:2420 Go bindings for raylib, a simple and easy-to-use library to learn videogames programming.
- go-sdl2 star:2321 Go bindings for the Simple DirectMedia Layer.
- engo star:1817 Engo is an open-source 2D game engine written in Go. It follows the Entity-Component-System paradigm.
- Oak star:1656 Pure Go game engine.
- termloop star:1475 Terminal-based game engine for Go, built on top of Termbox.
- gonet star:1288 Game server skeleton implemented with golang.
- go-astar star:629 Go implementation of the A* path finding algorithm.
- Pixel star:386 Hand-crafted 2D game library in Go.
- go3d star:337 Performance oriented 2D/3D math package for Go.
- gogpu star:259 GPU application framework with windowing, input, and rendering built on WebGPU — reduces 480+ lines of GPU code to ~20, zero CGO (GoGPU ecosystem: gg, ui, wgpu, naga).
- Ark star:247 Archetype-based Entity Component System (ECS) for Go.
- tile star:221 Data-oriented and cache-friendly 2D Grid library (TileMap), includes pathfinding, observers and import/export.
- ecs star:173 Build your own Game-Engine based on the Entity Component System concept in Golang.
- prototype star:107 Cross-platform (Windows/Linux/Mac) library for creating desktop games using a minimal API.
- Pi star:65 Game engine for creating retro games for modern computers. Inspired by Pico-8 and powered by Ebitengine.
- fantasyname star:42 Fantasy names generator.
- grid star:25 Generic 2D grid with ray-casting, shadow-casting and path finding.
Generators
Tools that generate Go code.
- oapi-codegen star:8263 This package contains a set of utilities for generating Go boilerplate code for services based on OpenAPI 3.0 API definitions.
- go-linq star:3651 .NET LINQ-like query methods for Go.
- jennifer star:3614 Generate arbitrary Go code without templates.
- GoWrap star:1322 Generate decorators for Go interfaces using simple templates.
- goderive star:1264 Derives functions from input types
- go-enum star:940 Code generation for enums from code comments.
- goverter star:848 Generate converters by defining an interface.
- interfaces star:431 Command line tool for generating interface definitions.
- copygen star:403 Generate any code based on Go types, including type-to-type converters (copy code) without reflection by default.
- convergen star:50 Feature rich type-to-type copy code generator.
- generis star:47 Code generation tool providing generics, free-form macros, conditional compilation and HTML templating.
- go-apispec star:27 Generate OpenAPI 3.1 specs from Go source code via static analysis with automatic framework detection.
- typeregistry star:23 A library to create type dynamically.
- protoc-gen-httpgo star:22 Generate HTTP server and client from protobuf.
- go-enum-encoding star:15 Code generation for enum encoding from code comments.
Geographic
Geographic tools and servers
- Tile38 star:9626 Geolocation DB with spatial index and realtime geofencing.
- S2 geometry star:1833 S2 geometry library in Go.
- mbtileserver star:782 A simple Go-based server for map tiles stored in mbtiles format.
- geoos star:530 A library provides spatial data and geometric algorithms.
- osm star:452 Library for reading, writing and working with OpenStreetMap data and APIs.
- H3 star:423 Go bindings for H3, a hierarchical hexagonal geospatial indexing system.
- godal star:175 Go wrapper for GDAL.
- simplefeatures star:172 simplesfeatures is a 2D geometry library that provides Go types that model geometries, as well as algorithms that operate on them.
- geoserver star:91 geoserver Is a Go Package For Manipulating a GeoServer Instance via the GeoServer REST API.
- pbf star:55 OpenStreetMap PBF golang encoder/decoder.
- gismanager star:54 Publish Your GIS Data(Vector Data) to PostGIS and Geoserver.
- S2 geojson star:37 Convert geojson to s2 cells & demonstrating some S2 geometry features on map.
- borders Detects image borders and converts to GeoJSON for GIS operations.
- H3 GeoJSON star:6 Conversion utilities between H3 indexes and GeoJSON.
- H3GeoDist star:2 Distribution of Uber H3geo cells by virtual nodes.
- Web-Mercator-Projection A project to easily use and convert LonLat, Point and Tile to display info, markers, etc, in a map using the Web Mercator Projection.
- WGS84 star:141 Library for Coordinate Conversion and Transformation (ETRS89, OSGB36, NAD83, RGF93, Web Mercator, UTM).
Go Compilers
Tools for compiling Go to other languages and vice-versa.
- gopherjs star:13139 Compiler from Go to JavaScript.
- bunster star:2663 Compile shell scripts to Go.
- cxgo star:389 Transpile C code to Go code.
- c4go star:378 Transpile C code to Go code.
- go2hx star:150 Compiler from Go to Haxe to Javascript/C++/Java/C#.
- esp32 star:99 Transpile Go into Arduino code.
- f4go star:49 Transpile FORTRAN 77 code to Go code.
Goroutines
Tools for managing and working with Goroutines.
- ants star:14405 A high-performance and low-cost goroutine pool in Go.
- conc star:10379
concis your toolbelt for structured concurrency in go, making common tasks easier and safer. - tunny star:4030 Goroutine pool for golang.
- goworker star:2851 goworker is a Go-based background worker.
- pond star:2146 Minimalistic and High-performance goroutine worker pool written in Go.
- rill star:1809 Go toolkit for clean, composable, channel-based concurrency.
- workerpool star:1449 Goroutine pool that limits the concurrency of task execution, not the number of tasks queued.
- grpool star:738 Lightweight Goroutine pool.
- pool star:727 Limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation.
- gowp star:520 gowp is concurrency limiting goroutine pool.
- flowmatic star:399 Structured concurrency made easy.
- async star:303 An alternative sync library for Go (Future, Promise, Locks).
- routine star:291
routineis aThreadLocalfor go library. It encapsulates and provides some easy-to-use, non-competitive, high-performancegoroutinecontext access interfaces, which can help you access coroutine context information more gracefully. - go-actor star:289 A tiny library for writing concurrent programs using actor model.
- go-floc star:269 Orchestrate goroutines with ease.
- go-flow star:222 Control goroutines execution order.
- artifex star:214 Simple in-memory job queue for Golang using worker-based dispatching.
- semaphore star:177 Fast resizable semaphore implementation based on CAS (faster than channel-based semaphore implementations).
- neilotoole/errgroup star:163 Drop-in alternative to
sync/errgroup, limited to a pool of N worker goroutines. - cyclicbarrier star:160 CyclicBarrier for golang.
- async star:139 A safe way to execute functions asynchronously, recovering them in case of panic.
- gollback star:123 asynchronous simple function utilities, for managing execution of closures and callbacks.
- Hunch star:104 Hunch provides functions like:
All,First,Retry,Waterfalletc., that makes asynchronous flow control more intuitive. - threadpool star:103 Golang threadpool implementation.
- semaphore star:102 Semaphore pattern implementation with timeout of lock/unlock operations based on channel and context.
- worker-pool star:92 goworker is a Go simple async worker pool.
- gpool star:91 manages a resizeable pool of context-aware goroutines to bound concurrency.
- goccm star:73 Go Concurrency Manager package limits the number of goroutines that allowed to run concurrently.
- gowl star:71 Gowl is a process management and process monitoring tool at once. An infinite worker pool gives you the ability to control the pool and processes and monitor their status.
- nursery star:70 Structured concurrency in Go.
- oversight Oversight is a complete implementation of the Erlang supervision trees.
- routine star:62 go routine control with context, support: Main, Go, Pool and some useful Executors.
- gohive star:53 A highly performant and easy to use Goroutine pool for Go.
- kyoo star:51 Provides an unlimited job queue and concurrent worker pools.
- go-waitgroup star:49 Like
sync.WaitGroupwith error handling and concurrency control. - parallel-fn star:37 Run functions in parallel.
- go-trylock star:36 TryLock support on read-write lock for Golang.
- channelify star:33 Transform your function to return channels for easy and powerful parallel processing.
- stl star:31 Software transactional locks based on Software Transactional Memory (STM) concurrency control mechanism.
- execpool star:29 A pool built around exec.Cmd that spins up a given number of processes in advance and attaches stdin and stdout to them when needed. Very similar to FastCGI or Apache Prefork MPM but works for any command.
- breaker star:20 Flexible mechanism to make execution flow interruptible.
- concurrency-limiter star:18 Concurrency limiter with support for timeouts, dynamic priority and context cancellation of goroutines.
- conexec star:17 A concurrent toolkit to help execute funcs concurrently in an efficient and safe way. It supports specifying the overall timeout to avoid blocking and uses goroutine pool to improve efficiency.
- go-tools/multithreading star:16 Manage a pool of goroutines using this lightweight library with a simple API.
- async star:15 An asynchronous task package with async/await style for Go.
- async-job star:12 AsyncJob is an asynchronous queue job manager with light code, clear and speed.
- go-workerpool star:12 Inspired from Java Thread Pool, Go WorkerPool aims to control heavy Go Routines.
- go-accumulator star:10 Solution for accumulation of events and their subsequent processing.
- hands star:10 A process controller used to control the execution and return strategies of multiple goroutines.
- autopool star:4 Zero-config, auto-scaling worker pool for Go with priority-aware scheduling.
- anchor star:2 Library to manage component lifecycle in microservice architectures.
GUI
Libraries for building GUI Applications.
Toolkits
- fyne star:28197 Cross platform native GUIs designed for Go based on Material Design. Supports: Linux, macOS, Windows, BSD, iOS and Android.
- gio Gio is a library for writing cross-platform immediate mode GUI-s in Go. Gio supports all the major platforms: Linux, macOS, Windows, Android, iOS, FreeBSD, OpenBSD and WebAssembly.
- go-gtk Go bindings for GTK.
- webview star:14042 Cross-platform webview window with simple two-way JavaScript bindings (Windows / macOS / Linux).
- qt star:10786 Qt binding for Go (support for Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi).
- app star:8884 Package to create apps with GO, HTML and CSS. Supports: MacOS, Windows in progress.
- ui star:8358 Platform-native GUI library for Go. Cross platform.
- walk star:7070 Windows application library kit for Go.
- DarwinKit star:5424 Build native macOS applications using Go.
- go-sciter star:2621 Go bindings for Sciter: the Embeddable HTML/CSS/script engine for modern desktop UI development. Cross platform.
- Goey Cross platform UI toolkit aggregator for Windows / Linux / Mac. GTK, Cocoa, Windows API
- Cogent Core star:2318 A framework for building 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the web.
- gotk3 star:2210 Go bindings for GTK3.
- Spot star:1258 Reactive, cross-platform desktop GUI toolkit.
- energy star:587 Cross-platform based on LCL(Native System UI Control Library) and CEF(Chromium Embedded Framework) (Windows/ macOS / Linux)
- cimgui-go star:512 Auto generated Go wrapper for Dear ImGui via cimgui.
- gowd star:437 Rapid and simple desktop UI development with GO, HTML, CSS and NW.js. Cross platform.
- unison star:322 A unified graphical user experience toolkit for Go desktop applications. macOS, Windows, and Linux are supported.
- Wails Mac, Windows, Linux desktop apps with HTML UI using built-in OS HTML renderer.
- gogpu/ui star:226 GPU-accelerated GUI toolkit with 22 widgets, 3 design systems (Material, Fluent, Cupertino), reactive signals, and zero CGO (part of GoGPU ecosystem).
- goradd/html5tag star:13 Library for outputting HTML5 tags.
Interaction
- robotgo star:10702 Go Native cross-platform GUI system automation. Control the mouse, keyboard and other.
- systray star:3691 Cross platform Go library to place an icon and menu in the notification area.
- zenity star:905 Cross-platform Go library and CLI to create simple dialogs that interact graphically with the user.
- gosx-notifier star:590 OSX Desktop Notifications library for Go.
- trayhost star:259 Cross-platform Go library to place an icon in the host operating system's taskbar.
- mac-sleep-notifier star:40 OSX Sleep/Wake notifications in golang.
- mac-activity-tracker star:31 OSX library to notify about any (pluggable) activity on your machine.
- AppIndicator Go star:5 Go bindings for libappindicator3 C library.
Hardware
Libraries, tools, and tutorials for interacting with hardware.
- arduino-cli star:4883 Official Arduino CLI and library. Can run standalone, or be incorporated into larger Go projects.
- go-rpio star:2286 GPIO for Go, doesn't require cgo.
- ghw star:1856 Golang hardware discovery/inspection library.
- emgo star:1098 Go-like language for programming embedded systems (e.g. STM32 MCU).
- sysinfo star:575 A pure Go library providing Linux OS / kernel / hardware system information.
- goroslib star:368 Robot Operating System (ROS) library for Go.
- go-osc star:229 Open Sound Control (OSC) bindings for Go.
- joystick star:75 a polled API to read the state of an attached joystick.
- moody star:3 Hardware event personality daemon for macOS. Monitors USB, charger, lid, and other hardware events and responds with customizable personalities.
Images
Libraries for manipulating images.
- gocv star:7436 Go package for computer vision using OpenCV 3.3+.
- imaginary star:6043 Fast and simple HTTP microservice for image resizing.
- imaging star:5714 Simple Go image processing package.
- gg star:4771 2D rendering in pure Go.
- gowitness star:4253 Screenshoting webpages using go and headless chrome on command line.
- bild star:4188 Collection of image processing algorithms in pure Go.
- imagor star:3939 Fast, secure image processing server and Go library, using libvips.
- ln star:3366 3D line art rendering in Go.
- bimg star:3011 Small package for fast and efficient image processing using libvips.
- picfit star:2338 An image resizing server written in Go.
- svgo star:2243 Go Language Library for SVG generation.
- pt star:2102 Path tracing engine written in Go.
- imagick star:1867 Go binding to ImageMagick's MagickWand C API.
- smartcrop star:1851 Finds good crops for arbitrary images and crop sizes.
- canvas star:1807 Vector graphics to PDF, SVG or rasterized image.
- gift star:1796 Package of image processing filters.
- govips star:1596 A lightning fast image processing and resizing library for Go.
- geopattern star:1285 Create beautiful generative image patterns from a string.
- stegify star:1263 Go tool for LSB steganography, capable of hiding any file within an image.
- image2ascii star:969 Convert image to ASCII.
- go-qrcode star:840 Generate QR codes with personalized styles, allowing adjustments to color, block size, shape, and icons.
- goimagehash star:829 Go Perceptual image hashing package.
- govatar star:607 Library and CMD tool for generating funny avatars.
- mort star:520 Storage and image processing server written in Go.
- go-nude star:420 Nudity detection with Go.
- nativewebp star:412 Go native WebP encoder with zero external dependencies.
- steganography star:354 Pure Go Library for LSB steganography.
- go-webp star:305 Library for encode and decode webp pictures, using libwebp.
- transformimgs star:288 Transformimgs resizes and optimises images for Web using next-generation formats.
- gltf star:281 Efficient and robust glTF 2.0 reader, writer and validator.
- mergi star:243 Tool & Go library for image manipulation (Merge, Crop, Resize, Watermark, Animate).
- darkroom star:236 An image proxy with changeable storage backends and image processing engines with focus on speed and resiliency.
- img star:158 Selection of image manipulation tools.
- go-cairo star:152 Go binding for the cairo graphics library.
- color-extractor star:132 Dominant color extractor with no external dependencies.
- cameron star:131 An avatar generator for Go.
- gogpu/gg star:97 GPU-accelerated 2D rendering with Canvas-like API, zero CGO (part of GoGPU pure Go graphics ecosystem).
- gridder star:81 A Grid based 2D Graphics library.
- webp-server star:81 Simple and minimal image server capable of storing, resizing, converting and caching images.
- go-gd star:60 Go binding for GD library.
- goimghdr star:40 The imghdr module determines the type of image contained in a file for Go.
- go-webcolors star:29 Port of webcolors library from Python to Go.
- scout star:27 Scout is a standalone open source software solution for DIY video security.
- mpo star:25 Decoder and conversion tool for MPO 3D Photos.
IoT (Internet of Things)
Libraries for programming devices of the IoT.
- flogo star:2495 Project Flogo is an Open Source Framework for IoT Edge Apps & Integration.
- ekuiper star:1698 Lightweight data stream processing engine for IoT edge.
- rulego star:1499 RuleGo is a lightweight, high-performance, embedded, orchestrable component-based rule engine for IoT edge.
- shifu star:1412 Kubernetes native IoT development framework.
- gatt star:1166 Gatt is a Go package for building Bluetooth Low Energy peripherals.
- gobot Gobot is a framework for robotics, physical computing, and the Internet of Things.
- connectordb star:421 Open-Source Platform for Quantified Self & IoT.
- devices star:265 Suite of libraries for IoT devices, experimental for x/exp/io.
- huego star:262 An extensive Philips Hue client library for Go.
- iot IoT is a simple framework for implementing a Google IoT Core device.
- periph Peripherals I/O to interface with low-level board facilities.
- sensorbee star:230 Lightweight stream processing engine for IoT.
- smart-home star:98 Software package for IoT automation.
- eywa star:65 Project Eywa is essentially a connection manager that keeps track of connected devices.
Job Scheduler
Libraries for scheduling jobs.
- gocron star:7027 Easy and fluent Go job scheduling. This is an actively maintained fork of jasonlvhit/gocron.
- go-quartz star:2013 Simple, zero-dependency scheduling library for Go.
- JobRunner star:1089 Smart and featureful cron job scheduler with job queuing and live monitoring built in.
- gron star:1038 Define time-based tasks using a simple Go API and Gron’s scheduler will run them accordingly.
- gronx star:503 Cron expression parser, task runner and daemon consuming crontab like task list.
- goflow star:478 A simple but powerful DAG scheduler and dashboard.
- scheduler star:469 Cronjobs scheduling made easy.
- tasks star:327 An easy to use in-process scheduler for recurring tasks in Go.
- tickstem/cron Go client for scheduling HTTP cron jobs, with execution history, failure alerts, and tsk-local for testing handlers without live credentials.
- go-cron star:238 Simple Cron library for go that can execute closures or functions at varying intervals, from once a second to once a year on a specific date and time. Primarily for web applications and long running daemons.
- cheek star:195 A simple crontab like scheduler that aims to offer a KISS approach to job scheduling.
- clockwerk star:182 Go package to schedule periodic jobs using a simple, fluent syntax.
- leprechaun star:107 Job scheduler that supports webhooks, crons and classic scheduling.
- cdule star:61 Job scheduler library with database support
- go-scheduler star:34 Job scheduler supporting standard cron expressions, custom descriptors, intervals, and task dependencies.
- sched star:30 A job scheduler with the ability to fast-forward time.
- cronticker star:19 A ticker implementation to support cron schedules.
- pending star:6 ID-based debounced task scheduler for deferred tasks with cancellation, graceful shutdown, and optional concurrency limits.
- scheduler star:5 Go-native distributed job scheduler with delayed tasks, batched Redis coordination, retries, lease-based recovery, and versioned queue partitioning.
- go-job star:1 A flexible and extensible job scheduling and execution library for Go.
JSON
Libraries for working with JSON.
- GJSON star:15488 Get a JSON value with one line of code.
- gabs star:3531 For parsing, creating and editing unknown or dynamic JSON in Go.
- SJSON star:2705 Set a JSON value with one line of code.
- gojson star:2687 Automatically generate Go (golang) struct definitions from example JSON.
- fastjson star:2449 Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection.
- OjG star:943 Optimized JSON for Go is a high performance parser with a variety of additional JSON tools including JSONPath.
- jsondiff star:624 JSON diff library for Go based on RFC6902 (JSON Patch).
- marshmallow star:392 Performant JSON unmarshalling for flexible use cases.
- kazaam star:293 API for arbitrary transformation of JSON documents.
- ajson star:290 Abstract JSON for golang with JSONPath support.
- jsonvalue star:202 A fast and convenient library for unstructured JSON data, replacing
encoding/json. - gojq star:190 JSON query in Golang.
- jettison star:180 Fast and flexible JSON encoder for Go.
- json2go star:141 Advanced JSON to Go struct conversion. Provides package that can parse multiple JSON documents and create struct to fit them all.
- gjo star:132 Small utility to create JSON objects.
- JayDiff star:110 JSON diff utility written in Go.
- jsongo star:108 Fluent API to make it easier to create Json objects.
- jscan star:101 High performance zero-allocation JSON iterator.
- JSON-to-Go Convert JSON to Go struct.
- JSON-to-Proto Convert JSON to Protobuf online.
- ujson star:85 Fast and minimal JSON parser and transformer that works on unstructured JSON.
- jsonf star:64 Console tool for highlighted formatting and struct query fetching JSON.
- ask star:56 Easy access to nested values in maps and slices. Works in combination with encoding/json and other packages that "Unmarshal" arbitrary data into Go data-types.
- go-respond star:56 Go package for handling common HTTP JSON responses.
- jsoncolor star:52 Drop-in replacement for
encoding/jsonthat outputs colorized JSON. - mp star:47 Simple cli email parser. It currently takes stdin and outputs JSON.
- vjson star:41 Go package for validating JSON objects with declaring a JSON schema with fluent API.
- gojmapr star:22 Get simple struct from complex json by json path.
- mapslice-json star:20 Go MapSlice for ordered marshal/ unmarshal of maps in JSON.
- epoch star:17 Contains primitives for marshaling/unmarshalling Unix timestamp/epoch to/from build-in time.Time type in JSON.
- dynjson star:16 Client-customizable JSON formats for dynamic APIs.
- go-jsonerror star:16 Go-JsonError is meant to allow us to easily create json response errors that follow the JsonApi spec.
- jsonapi-errors star:13 Go bindings based on the JSON API errors reference.
- jsonhal star:13 Simple Go package to make custom structs marshal into HAL compatible JSON responses.
- jsonic star:11 Utilities to handle and query JSON without defining structs in a type safe manner.
- jzon star:11 JSON library with standard compatible API/behavior.
- ej star:10 Write and read JSON from different sources succinctly.
- htmljson star:9 Rich rendering of JSON as HTML in Go.
- omg.jsonparser star:6 Simple JSON parser with validation by condition via golang struct fields tags.
- jsonhandlers star:2 JSON library to expose simple handlers that lets you easily read and write json from various sources.
Logging
Libraries for generating and working with log files.
- logrus star:25719 Structured logger for Go.
- zap star:24433 Fast, structured, leveled logging in Go.
- zerolog star:12361 Zero-allocation JSON logger.
- spew star:6388 Implements a deep pretty printer for Go data structures to aid in debugging.
- lumberjack star:5416 Simple rolling logger, implements io.WriteCloser.
- glog star:3605 Leveled execution logs for Go.
- tail star:2778 Go package striving to emulate the features of the BSD tail program.
- pp star:2039 Colored pretty printer for Go language.
- seelog star:1637 Logging functionality with flexible dispatching, filtering, and formatting.
- log star:1374 Structured logging package for Go.
- tint star:1289 A slog.Handler that writes tinted logs.
- lazyjournal star:1250 A TUI for reading and filtering logs from journalctl, file system, Docker and Podman containers, as well Kubernetes pods.
- log15 star:1102 Simple, powerful logging for Go.
- sentry-go star:1083 Sentry SDK for Go. Helps monitor and track errors with real-time alerts and performance monitoring.
- phuslu/log star:845 High performance structured logging.
- slog-multi star:620 Chain of slog.Handler (pipeline, fanout...).
- slogor A colorful slog handler.
- slog star:541 Lightweight, configurable, extensible logger for Go.
- onelog star:415 Onelog is a dead simple but very efficient JSON logger. It is the fastest JSON logger out there in all scenarios. Also, it is one of the logger with the lowest allocation.
- httpretty star:413 Pretty-prints your regular HTTP requests on your terminal for debugging (similar to http.DumpRequest).
- sqldb-logger star:382 A logger for Go SQL database driver without modify existing *sql.DB stdlib usage.
- logutils star:372 Utilities for slightly better logging in Go (Golang) extending the standard logger.
- logxi star:357 12-factor app logger that is fast and makes you happy.
- log star:293 Simple, configurable and scalable Structured Logging for Go.
- rollingwriter star:293 RollingWriter is an auto-rotate
io.Writerimplementation with multi policies to provide log file rotation. - go-logger star:288 Simple logger of Go Programs, with level handlers.
- gone/log Fast, extendable, full-featured, std-lib source compatible log library.
- slog-formatter star:216 Common formatters for slog and helpers to build your own.
- glg star:192 glg is simple and fast leveled logging library for Go.
- logger star:158 Minimalistic logging library for Go.
- xlog star:141 Structured logger for
net/contextaware HTTP handlers with flexible dispatching. - timberjack star:133 Rolling logger with size-based, time-based, and scheduled clock-based rotation, supporting compression and cleanup.
- ozzo-log star:123 High performance logging supporting log severity, categorization, and filtering. Can send filtered log messages to various targets (e.g. console, network, mail).
- caarlos0/log star:62 Colorful CLI logger.
- go-cronowriter star:56 Simple writer that rotate log files automatically based on current date and time, like cronolog.
- stdlog star:48 Stdlog is an object-oriented library providing leveled logging. It is very useful for cron jobs.
- journald star:46 Go implementation of systemd Journal's native API for logging.
- noodlog star:44 Parametrized JSON logging library which lets you obfuscate sensitive data and marshal any kind of content. No more printed pointers instead of values, nor escape chars for the JSON strings.
- go-log star:42 Log4j implementation in Go.
- logex star:42 Golang log lib, supports tracking and level, wrap by standard log lib.
- go-log star:38 Log lib supports level and multi handlers.
- zax star:36 Integrate Context with Zap logger, which leads to more flexibility in Go logging.
- mlog star:33 Simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output.
- distillog star:31 distilled levelled logging (think of it as stdlib + log levels).
- logrusly star:29 logrus plug-in to send errors to a Loggly.
- zkits-logger star:28 A powerful zero-dependency JSON logger.
- log star:25 Structured log interface for Go cleanly separates logging facade from its implementation.
- kemba star:17 A tiny debug logging tool inspired by debug, great for CLI tools and applications.
- log star:17 Simple leveled logging wrapper around standard log package.
- xylog star:17 Leveled and structured logging, dynamic fields, high performance, zone management, simple configuration, and readable syntax.
- glo star:16 PHP Monolog inspired logging facility with identical severity levels.
- logrusiowriter star:16
io.Writerimplementation using logrus logger. - go-log star:14 Simple and configurable Logging in Go, with level, formatters and writers.
- logo star:12 Golang logger to different configurable writers.
- logdump star:11 Package for multi-level logging.
- go-log star:10 A logging library with stack traces, object dumping and optional timestamps.
- log star:10 An O(1) logging system that allows you to connect one log to multiple writers (e.g. stdout, a file and a TCP connection).
- zl star:9 High Developer Experience, zap based logger. It offers rich functionality but is easy to configure.
- xlog star:8 Plugin architecture and flexible log system for Go, with level ctrl, multiple log target and custom log format.
- slf4g star:5 Simple Logging Facade for Golang: Simple structured logging; but powerful, extendable and customizable, with huge amount of learnings from decades of past logging frameworks.
- structy/log star:5 A simple to use log system, minimalist but with features for debugging and differentiation of messages.
- log star:3 A simple logging framework out of the box.
- yell star:1 Yet another minimalistic logging library.
Machine Learning
Libraries for Machine Learning.
- GoLearn star:9447 General Machine Learning library for Go.
- gorgonia star:5916 graph-based computational library like Theano for Go that provides primitives for building various machine learning and neural network algorithms.
- gosseract star:3099 Go package for OCR (Optical Character Recognition), by using Tesseract C++ library.
- m2cgen star:2977 A CLI tool to transpile trained classic ML models into a native Go code with zero dependencies, written in Python with Go language support.
- tfgo star:2494 Easy to use Tensorflow bindings: simplifies the usage of the official Tensorflow Go bindings. Define computational graphs in Go, load and execute models trained in Python.
- goml star:1615 On-line Machine Learning in Go.
- GoMLX star:1393 An accelerated Machine Learning framework for Go.
- eaopt star:907 An evolutionary optimization library.
- onnx-go star:893 Go Interface to Open Neural Network Exchange (ONNX).
- bayesian star:812 Naive Bayesian Classification for Golang.
- ocrserver star:767 A simple OCR API server, seriously easy to be deployed by Docker and Heroku.
- CloudForest star:748 Fast, flexible, multi-threaded ensembles of decision trees for machine learning in pure Go.
- hugot star:600 Huggingface transformer pipelines for golang with onnxruntime.
- gobrain star:565 Neural Networks written in go.
- go-deep star:555 A feature-rich neural network library in Go.
- regommend star:312 Recommendation & collaborative filtering engine.
- Goptuna star:279 Bayesian optimization framework for black-box functions written in Go. Everything will be optimized.
- goga star:222 Genetic algorithm library for Go.
- goRecommend star:205 Recommendation Algorithms library written in Go.
- go-galib star:202 Genetic Algorithms library written in Go / golang.
- shield star:160 Bayesian text classifier with flexible tokenizers and storage backends for Go.
- go-fann star:118 Go bindings for Fast Artificial Neural Networks(FANN) library.
- goscore star:101 Go Scoring API for PMML.
- GoMind star:98 A simplistic Neural Network Library in Go.
- fonet star:86 A Deep Neural Network library written in Go.
- gonet star:82 Neural Network for Go.
- born star:80 Deep learning framework inspired by Burn (Rust), with autograd, type-safe tensors, and zero-CGO GPU acceleration.
- neural-go star:73 Multilayer perceptron network implemented in Go, with training via backpropagation.
- libsvm star:72 libsvm golang version derived work based on LIBSVM 3.14.
- go-pr star:68 Pattern recognition package in Go lang.
- randomforest star:60 Easy to use Random Forest library for Go.
- Varis star:55 Golang Neural Network.
- go-cluster star:44 Go implementation of the k-modes and k-prototypes clustering algorithms.
- ddt star:42 Dynamic decision tree, create trees defining customizable rules.
- godist star:42 Various probability distributions, and associated methods.
- evoli star:33 Genetic Algorithm and Particle Swarm Optimization library.
- catboost-cgo star:25 Fast, scalable, high performance Gradient Boosting on Decision Trees library. Golang using Cgo for blazing fast inference CatBoost Model.
- probab star:22 Probability distribution functions. Bayesian inference. Written in pure Go.
- datatrax star:9 Data engineering and classic ML toolkit with batch processing, type coercion, and 7 algorithms in pure Go with zero dependencies.
- gorse star:9 An offline recommender system backend based on collaborative filtering written in Go.
Messaging
Libraries that implement messaging systems.
- Asynq star:13212 A simple, reliable, and efficient distributed task queue for Go built on top of Redis.
- Centrifugo star:10221 Real-time messaging (Websockets or SockJS) server in Go.
- gorush star:8721 Push notification server using APNs2 and google GCM.
- machinery star:7956 Asynchronous task queue/job queue based on distributed message passing.
- NATS Go Client star:6571 Go client for the NATS
- Mercure star:5237 Server and library to dispatch server-sent updates using the Mercure protocol (built on top of Server-Sent Events).
- Confluent Kafka Golang Client star:5131 confluent-kafka-go is Confluent's Golang client for Apache Kafka and the Confluent Platform.
- melody star:4071 Minimalist framework for dealing with websocket sessions, includes broadcasting and automatic ping/pong handling.
- APNs2 star:3170 HTTP/2 Apple Push Notification provider for Go - Send push notifications to iOS, tvOS, Safari and OSX apps.
- go-nsq star:2652 the official Go package for NSQ.
- gopush-cluster star:2072 gopush-cluster is a go push server cluster.
- amqp star:1998 Go RabbitMQ Client Library.
- EventBus star:1972 The lightweight event bus with async compatibility.
- Beaver star:1584 A real time messaging server to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps.
- Chanify star:1325 A push notification server send message to your iOS devices.
- dbus star:1162 Native Go bindings for D-Bus.
- Gollum star:941 A n:m multiplexer that gathers messages from different sources and broadcasts them to a set of destinations.
- mangos star:753 Pure go implementation of the Nanomsg ("Scalability Protocols") with transport interoperability.
- golongpoll star:668 HTTP longpoll server library that makes web pub-sub simple.
- emitter star:531 Emits events using Go way, with wildcard, predicates, cancellation possibilities and many other good wins.
- Glue star:421 Robust Go and Javascript Socket Library (Alternative to Socket.io).
- Bus star:362 Minimalist message bus implementation for internal communication.
- messagebus star:287 messagebus is a Go simple async message bus, perfect for using as event bus when doing event sourcing, CQRS, DDD.
- Go-MediatR star:279 A library for handling mediator patterns and simplified CQRS patterns within an event-driven architecture, inspired by csharp MediatR library.
- guble star:161 Messaging server using push notifications (Google Firebase Cloud Messaging, Apple Push Notification services, SMS) as well as websockets, a REST API, featuring distributed operation and message-persistence.
- hub star:149 A Message/Event Hub for Go applications, using publish/subscribe pattern with support for alias like rabbitMQ exchanges.
- backlite star:144 Type-safe, persistent, embedded task queues and background job runner w/ SQLite.
- go-mq star:91 RabbitMQ client with declarative configuration.
- drone-line star:81 Sending Line notifications using a binary, docker or Drone CI.
- go-notify star:71 Native implementation of the freedesktop notification spec.
- go-res star:68 Package for building REST/real-time services where clients are synchronized seamlessly, using NATS and Resgate.
- Commander star:67 A high-level event driven consumer/producer supporting various "dialects" such as Apache Kafka.
- event star:62 Implementation of the pattern observer.
- GoEventBus star:61 A blazing‑fast, in‑memory, lock‑free event bus library
- hare star:54 A user friendly library for sending messages and listening to TCP sockets.
- ami star:34 Go client to reliable queues based on Redis Cluster Streams.
- hypermatch star:33 A very fast and efficient Go library for matching events to a large set of rules
- gosd star:26 A library for scheduling when to dispatch a message to a channel.
- go-vitotrol star:23 Client library to Viessmann Vitotrol web service.
- jazz star:18 A simple RabbitMQ abstraction layer for queue administration and publishing and consuming of messages.
- gaurun-client star:11 Gaurun Client written in Go.
- go-eventbus star:10 Simple Event Bus package for Go.
- broker star:9 Production-grade messaging abstraction with a unified API for various brokers and built-in OpenTelemetry integration.
messaging system.
- sarama star:12470 Go library for Apache Kafka.
- Watermill star:9682 Working efficiently with message streams. Building event driven applications, enabling event sourcing, RPC over messages, sagas. Can use conventional pub/sub implementations like Kafka or RabbitMQ, but also HTTP or MySQL binlog.
- Uniqush-Push star:1565 Redis backed unified push service for server-side notifications to mobile devices.
- zmq4 star:1251 Go interface to ZeroMQ version 4. Also available for version 3 and version 2.
- Quamina star:492 Fast pattern-matching for filtering messages and events.
- pubsub star:452 Simple pubsub package for go.
- rabtap star:281 RabbitMQ swiss army knife cli app.
- varmq star:184 A storage-agnostic message queue and worker pool for concurrent Go programs.
- redisqueue star:139 redisqueue provides a producer and consumer of a queue that uses Redis streams.
- Ratus star:123 Ratus is a RESTful asynchronous task queue server.
- rabbitroutine star:115 Lightweight library that handles RabbitMQ auto-reconnect and publishing retries. The library takes into account the need to re-declare entities in RabbitMQ after reconnection.
- oplog star:111 Generic oplog/replication system for REST APIs.
- rabbus star:98 A tiny wrapper over amqp exchanges and queues.
- nsq-event-bus star:80 A tiny wrapper around NSQ topic and channel.
- RapidMQ star:70 RapidMQ is a lightweight and reliable library for managing of the local messages queue.
- rmqconn star:23 RabbitMQ Reconnection. Wrapper over amqp.Connection and amqp.Dial. Allowing to do a reconnection when the connection is broken before forcing the call to the Close () method to be closed.
Microsoft Office
- unioffice star:4845 Pure go library for creating and processing Office Word (.docx), Excel (.xlsx) and Powerpoint (.pptx) documents.
Microsoft Excel
Libraries for working with Microsoft Excel.
- excelize star:20534 Golang library for reading and writing Microsoft Excel™ (XLSX) files.
- xlsx star:6002 Library to simplify reading the XML format used by recent version of Microsoft Excel in Go programs.
- go-excel star:198 A simple and light reader to read a relate-db-like excel as a table.
- xlsx star:177 Fast and safe way to read/update your existing Microsoft Excel files in Go programs.
- exl star:32 Excel binding to struct written in Go.(Only supports Go1.18+)
- cellwalker star:3 Virtually traverse Excel cell by cell's name.
Microsoft Word
Libraries for working with Microsoft Word.
- godocx star:256 Library for reading and writing Microsoft Word (Docx) files.
Miscellaneous
Dependency Injection
Libraries for working with dependency injection.
- fx star:7483 A dependency injection based application framework for Go (built on top of dig).
- dig star:4460 A reflection based dependency injection toolkit for Go.
- do star:2721 A dependency injection framework based on Generics.
- GoLobby/Container star:614 GoLobby Container is a lightweight yet powerful IoC dependency injection container for the Go programming language.
- goioc/di star:379 Spring-inspired Dependency Injection Container.
- di star:240 A dependency injection container for go programming language.
- kod star:197 A generics based dependency injection framework for Go.
- dingo star:188 A dependency injection toolkit for Go, based on Guice.
- gontainer star:138 A dependency injection service container for Go projects.
- Go-Spring star:82 A high-performance Go framework inspired by Spring Boot, offering DI, auto-configuration, and lifecycle management while maintaining Go's simplicity and efficiency.
- godi star:75 Microsoft-style dependency injection for Go with scoped lifetimes and generics.
- alice star:51 Additive dependency injection container for Golang.
- wire star:40 Strict Runtime Dependency Injection for Golang.
- linker star:35 A reflection based dependency injection and inversion of control library with components lifecycle support.
- parsley star:32 A flexible and modular reflection-based DI library with advanced features like scoped contexts and proxy generation, designed for large-scale Go applications.
- nject star:30 A type safe, reflective framework for libraries, tests, http endpoints, and service startup.
- componego star:29 A dependency injection framework based on components, allowing dynamic dependency replacement without duplicating code in tests.
- cosban/di A code generation based dependency injection wiring tool.
- ore star:26 Lightweight, generic & simple dependency injection (DI) container.
- gocontainer star:21 Simple Dependency Injection Container.
- gontainer/gontainer star:16 A YAML-based Dependency Injection container for GO. It supports dependencies' scopes, and auto-detection of circular dependencies. Gontainer is concurrent-safe.
- autowire star:12 Dependency injection using Generics and reflection.
- boot-go Component-based development with dependency injection using reflections for Go developers.
- kinit star:10 Customizable dependency injection container with the global mode, cascade initialization and panic-safe finalization.
- HnH/di star:8 DI container library that is focused on clean API and flexibility.
Project Layout
Unofficial set of patterns for structuring projects.
- golang-standards/project-layout star:55875 Set of common historical and emerging project layout patterns in the Go ecosystem. Note: despite the org-name they do not represent official golang standards, see this issue for more information. Nonetheless, some may find the layout useful.
- go-blueprint star:8804 Allows users to spin up a quick Go project using a popular framework.
- ardanlabs/service star:3968 A starter kit for building production grade scalable web service applications.
- goxygen star:3596 Generate a modern Web project with Go and Angular, React, or Vue in seconds.
- pagoda star:2929 Rapid, easy full-stack web development starter kit built in Go.
- nunu star:2556 Nunu is a scaffolding tool for building Go applications.
- modern-go-application star:1940 Go application boilerplate and example applying modern practices.
- goapp star:1058 An opinionated guideline to structure & develop a Go web application/service.
- cookiecutter-golang star:735 A Go application boilerplate template for quick starting projects following production best practices.
- go-starter star:607 An opinionated production-ready RESTful JSON backend template, highly integrated with VSCode DevContainers.
- golang-templates/seed star:558 Go application GitHub repository template.
- go-todo-backend star:335 Go Todo Backend example using modular project layout for product microservice.
- scaffold star:149 Scaffold generates a starter Go project layout. Lets you focus on business logic implemented.
- go-sample star:139 A sample layout for Go application projects with the real code.
- kickstart.go star:110 Minimalistic single-file Go HTTP server template without third-party dependencies.
- gobase star:66 A simple skeleton for golang application with basic setup for real golang application.
- go-rest-api-boilerplate star:50 AI-friendly, production-ready Go REST API boilerplate with clean architecture, JWT authentication, RBAC, PostgreSQL, Docker hot-reload, and Swagger documentation.
- go-module star:38 Template for a typical module written on Go.
- wangyoucao577/go-project-layout star:26 Set of practices and discussions on how to structure Go project layout.
- insidieux/inizio star:18 Golang project layout generator with plugins.
Strings
Libraries for working with strings.
- gobeam/Stringy star:251 String manipulation library to convert string to camel case, snake case, kebab case / slugify etc.
- caps star:61 A case conversion library.
- go-formatter Implements replacement fields surrounded by curly braces
{}format strings. - bexp Go implementation of Brace Expansion mechanism to generate arbitrary strings.
- strcase star:14 Case-insensitive implementation of the standard library's strings/bytes packages.
- str star:9 Pipeline-first string toolkit for composing transformations.
- stringFormatter - String formatting like in Python or C# manner with the additional text formatting features.
- xstrings star:1418 Collection of useful string functions ported from other languages.
- sttr star:1309 cross-platform, cli app to perform various operations on string.
- strutil star:206 String utilities.
Uncategorized
These libraries were placed here because none of the other categories seemed to fit.
- gopsutil star:11809 Cross-platform library for retrieving process and system utilization(CPU, Memory, Disks, etc).
- gatus star:10791 Automated service health dashboard.
- gofakeit star:5342 Random data generator written in go.
- purego star:3565 A library for calling C functions from Go without Cgo.
- base64Captcha star:2358 Base64captch supports digit, number, alphabet, arithmetic, audio and digit-alphabet captcha.
- go-resiliency star:2343 Resiliency patterns for golang.
- shoutrrr star:1562 Notification library providing easy access to various messaging services like slack, mattermost, gotify and smtp among others.
- gosms star:1470 Your own local SMS gateway in Go that can be used to send SMS.
- stateless star:1291 A fluent library for creating state machines.
- llvm star:1276 Library for interacting with LLVM IR in pure Go.
- go-commons-pool star:1241 Generic object pool for Golang.
- go-openapi Collection of packages to parse and utilize open-api schemas.
- shortid star:961 Distributed generation of super short, unique, non-sequential, URL friendly IDs.
- health star:831 A simple and flexible health check library for Go.
- xz star:555 Pure golang package for reading and writing xz-compressed files.
- banner star:463 Add beautiful banners into your Go applications.
- health star:449 Easy to use, extensible health check library.
- gountries star:431 Package that exposes country and subdivision data.
- lk star:413 A simple licensing library for golang.
- archives star:404 a cross-platform, multi-format Go library for working with archives and compression formats with a unified API and as virtual file systems compatible with io/fs.
- conv star:382 Package conv provides fast and intuitive conversions across Go types.
- gtree star:332 Provide CLI, Package and Web for tree output and directories creation from Markdown or programmatically.
- ffmt star:315 Beautify data display for Humans.
- go-unarr star:311 Decompression library for RAR, TAR, ZIP and 7z archives.
- healthcheck star:276 An opinionated and concurrent health-check HTTP handler for RESTful services.
- battery star:272 Cross-platform, normalized battery information library.
- antch star:265 A fast, powerful and extensible web crawling & scraping framework.
- bitio star:257 Highly optimized bit-level Reader and Writer for Go.
- stats star:172 Monitors Go MemStats + System stats such as Memory, Swap and CPU and sends via UDP anywhere you want for logging etc...
- turtle star:164 Emojis for Go.
- captcha star:162 Package captcha provides an easy to use, unopinionated API for captcha generation.
- gommit star:116 Analyze git commit messages to ensure they follow defined patterns.
- indigo star:112 Distributed unique ID generator of using Sonyflake and encoded by Base58.
- gotoprom star:108 Type-safe metrics builder wrapper library for the official Prometheus client.
- faker star:100 Random fake data and struct generator for Go.
- persian star:93 Some utilities for Persian language in go.
- morse star:86 Library to convert to and from morse code.
- pdfgen star:75 HTTP service to generate PDF from Json requests.
- xkg star:61 X Keyboard Grabber.
- url-shortener star:51 A modern, powerful, and robust URL shortener microservice with mysql support.
- VarHandler Generate boilerplate http input and output handling.
- datacounter star:50 Go counters for readers/writer/http.ResponseWriter.
- browscap_go star:49 GoLang Library for Browser Capabilities Project.
- xdg star:48 FreeDesktop.org (xdg) Specs implemented in Go.
- sandid star:46 Every grain of sand on earth has its own ID.
- autoflags star:42 Go package to automatically define command line flags from struct fields.
- goffi star:38 Pure Go FFI with libffi-style typed call interface and structured error handling for calling C libraries without CGO.
- numa star:38 NUMA is a utility library, which is written in go. It help us to write some NUMA-AWARED code.
- gosh star:37 Provide Go Statistics Handler, Struct, Measure Method.
- shellwords star:28 A Golang library to manipulate strings according to the word parsing rules of the UNIX Bourne shell.
- metrics star:27 Library for metrics instrumentation and Prometheus exposition.
- avgRating star:17 Calculate average score and rating based on Wilson Score Equation.
- anagent star:16 Minimalistic, pluggable Golang evloop/timer handler with dependency-injection.
- fake-useragent star:16 Up-to-date simple useragent faker with real world database in Golang
- go-commandbus star:15 A slight and pluggable command-bus for Go.
- varint star:15 A faster varying length integer encoder/decoder than the one provided in the standard library.
- hostutils star:13 A golang library for packing and unpacking FQDNs list.
- basexx star:6 Convert to, from, and between digit strings in various number bases.
- sitemap-format star:6 A simple sitemap generator, with a little syntactic sugar.
- common star:4 A library for server framework.
⬆ back to top
Natural Language Processing
Libraries for working with human languages.
See also Text Processing and Text Analysis.
Language Detection
- lingua-go star:1338 An accurate natural language detection library, suitable for long and short text alike. Supports detecting multiple languages in mixed-language text.
- whatlanggo star:687 Natural language detection package for Go. Supports 84 languages and 24 scripts (writing systems e.g. Latin, Cyrillic, etc).
- getlang star:175 Fast natural language detection package.
- guesslanguage star:58 Functions to determine the natural language of a unicode text.
- detectlanguage star:26 Language Detection API Go Client. Supports batch requests, short phrase or single word language detection.
Morphological Analyzers
- spaGO star:1850 Self-contained Machine Learning and Natural Language Processing library in Go.
- kagome star:965 JP morphological analyzer written in pure Go.
- nlp star:471 Go Natural Language Processing library supporting LSA (Latent Semantic Analysis).
- RAKE.go star:123 Go port of the Rapid Automatic Keyword Extraction Algorithm (RAKE).
- go-stem star:81 Implementation of the porter stemming algorithm.
- go2vec star:58 Reader and utility functions for word2vec embeddings.
- govader star:54 Go implementation of VADER Sentiment Analysis.
- porter2 star:47 Really fast Porter 2 stemmer.
- snowball star:38 Snowball stemmer port (cgo wrapper) for Go. Provides word stem extraction functionality Snowball native.
- paicehusk star:29 Golang implementation of the Paice/Husk Stemming Algorithm.
- golibstemmer star:21 Go bindings for the snowball libstemmer library including porter 2.
- libtextcat star:13 Cgo binding for libtextcat C library. Guaranteed compatibility with version 2.2.
- porter star:13 This is a fairly straightforward port of Martin Porter's C implementation of the Porter stemming algorithm.
- gosentiwordnet star:11 Sentiment analyzer using sentiwordnet lexicon in Go.
- govader-backend star:6 Microservice implementation of GoVader.
- go-propisyu star:4 Convert numbers to Russian words with correct grammatical gender and noun declension.
- spelling-corrector star:2 A spelling corrector for the Spanish language or create your own.
Slugifiers
- slug star:1325 URL-friendly slugify with multiple languages support.
- go-slugify star:97 Make pretty slug with multiple languages support.
- Slugify star:35 Go slugify application that handles string.
Tokenizers
- gse star:2808 Go efficient text segmentation; support english, chinese, japanese and other.
- gojieba star:2634 This is a Go implementation of jieba which a Chinese word splitting algorithm.
- sentences star:467 Sentence tokenizer: converts text into a list of sentences.
- segment star:88 Go library for performing Unicode Text Segmentation as described in Unicode Standard Annex #29
- textcat star:73 Go package for n-gram based text categorization, with support for utf-8 and raw text.
- MMSEGO star:62 This is a GO implementation of MMSEG which a Chinese word splitting algorithm.
- stemmer star:55 Stemmer packages for Go programming language. Includes English and German stemmers.
- gotokenizer star:21 A tokenizer based on the dictionary and Bigram language models for Golang. (Now only support chinese segmentation)
- shamoji star:13 The shamoji is word filtering package written in Go.
Translation
- go-pinyin star:1769 CN Hanzi to Hanyu Pinyin converter.
- gotext star:495 GNU gettext utilities for Go.
- spreak star:93 Flexible translation and humanization library for Go, based on the concepts behind gettext.
- ctxi18n Context aware i18n with a short and consise API, pluralization, interpolation, and
fs.FSsupport. YAML locale definitions are based on Rails i18n. - go-i18n Package and an accompanying tool to work with localized text.
- iuliia-go star:56 Transliterate Cyrillic → Latin in every possible way.
- go-mystem star:35 CGo bindings to Yandex.Mystem - russian morphology analyzer.
- t star:21 Another i18n pkg for golang, which follows GNU gettext style and supports .po/.mo files:
t.T (gettext),t.N (ngettext), etc. And it contains a cmd tool xtemplate, which can extract messages as a pot file from text/html template. - go-words star:8 A words table and text resource library for Golang projects.
Transliteration
- go-unidecode star:145 ASCII transliterations of Unicode text.
- gounidecode star:80 Unicode transliterator (also known as unidecode) for Go.
- transliterator star:46 Provides one-way string transliteration with supporting of language-specific transliteration rules.
- enca star:19 Minimal cgo bindings for libenca, which detects character encodings.
Networking
Libraries for working with various layers of the network.
- fasthttp star:23347 Package fasthttp is a fast HTTP implementation for Go, up to 10 times faster than net/http.
- webrtc star:16259 A pure Go implementation of the WebRTC API.
- kcptun star:14404 Extremely simple & fast udp tunnel based on KCP protocol.
- cloudflared star:14015 Cloudflare Tunnel client (formerly Argo Tunnel).
- quic-go star:11563 An implementation of the QUIC protocol in pure Go.
- gnet star:11137
gnetis a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go. - dns star:8677 Go library for working with DNS.
- gopacket star:6775 Go library for packet processing with libpcap bindings.
- GoProxy star:6671 A library to create a customized HTTP/HTTPS proxy server using Go.
- tun2socks star:5083 A pure go implementation of tun2socks powered by gVisor TCP/IP stack.
- netpoll star:4561 A high-performance non-blocking I/O networking framework, which focused on RPC scenarios, developed by ByteDance.
- kcp-go star:4486 KCP - Fast and Reliable ARQ Protocol.
- HTTPLab star:4162 HTTPLabs let you inspect HTTP requests and forge responses.
- ssh star:4131 Higher-level API for building SSH servers (wraps crypto/ssh).
- gobgp star:4042 BGP implemented in the Go Programming Language.
- fortio star:3693 Load testing library and command line tool, advanced echo server and web UI. Allows to specify a set query-per-second load and record latency histograms and other useful stats and graph them. Tcp, Http, gRPC.
- nbio star:2727 Pure Go 1000k+ connections solution, support tls/http1.x/websocket and basically compatible with net/http, with high-performance and low memory cost, non-blocking, event-driven, easy-to-use.
- net This repository holds supplementary Go networking libraries.
- water star:2155 Simple TUN/TAP library.
- nodepass star:2108 A secure, efficient TCP/UDP tunneling solution that delivers fast, reliable access across network restrictions using pre-established TCP/QUIC/WebSocket or HTTP/2 connections.
- go-getter star:1815 Go library for downloading files or directories from various sources using a URL.
- gev star:1776 gev is a lightweight, fast non-blocking TCP network library based on Reactor mode.
- gws star:1765 High-Performance WebSocket Server & Client With AsyncIO Supporting .
- sftp star:1640 Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt.
- grab star:1478 Go package for managing file downloads.
- NFF-Go star:1419 Framework for rapid development of performant network functions for cloud and bare-metal (former YANFF).
- ftp star:1392 Package ftp implements a FTP client as described in RFC 959.
- mdns star:1359 Simple mDNS (Multicast DNS) client/server library in Golang.
- mqttPaho The Paho Go Client provides an MQTT client library for connection to MQTT brokers via TCP, TLS or WebSockets.
- sdns star:1036 A high-performance, recursive DNS resolver server with DNSSEC support, focused on preserving privacy.
- gmqtt star:1034 Gmqtt is a flexible, high-performance MQTT broker library that fully implements the MQTT protocol V3.1.1.
- vssh star:993 Go library for building network and server automation over SSH protocol.
- cidranger star:969 Fast IP to CIDR lookup for Go.
- gaio star:954 High performance async-io networking for Golang in proactor mode.
- easytcp star:822 A light-weight TCP framework written in Go (Golang), built with message router. EasyTCP helps you build a TCP server easily fast and less painful.
- go-stun star:719 Go implementation of the STUN client (RFC 3489 and RFC 5389).
- lhttp star:688 Powerful websocket framework, build your IM server more easily.
- peerdiscovery star:671 Pure Go library for cross-platform local peer discovery using UDP multicast.
- gotcp star:510 Go package for quickly writing tcp applications.
- stun star:496 Go implementation of RFC 5389 STUN protocol.
- gopcap star:491 Go wrapper for libpcap.
- winrm star:469 Go WinRM client to remotely execute commands on Windows machines.
- ftpserverlib star:467 Fully featured FTP server library.
- arp star:387 Package arp implements the ARP protocol, as described in RFC 826.
- dnsmonster star:355 Passive DNS Capture/Monitoring Framework.
- ethernet star:287 Package ethernet implements marshaling and unmarshalling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags.
- gNxI star:284 A collection of tools for Network Management that use the gNMI and gNOI protocols.
- buffstreams star:255 Streaming protocolbuffer data over TCP made easy.
- psql-wire star:231 PostgreSQL server wire protocol. Build your own server and start serving connections..
- jazigo star:230 Jazigo is a tool written in Go for retrieving configuration for multiple network devices.
- utp star:182 Go uTP micro transport protocol implementation.
- tcpack star:166 tcpack is an application protocol based on TCP to Pack and Unpack bytes stream in go program.
- xtcp star:160 TCP Server Framework with simultaneous full duplex communication, graceful shutdown, and custom protocol.
- canopus star:156 CoAP Client/Server implementation (RFC 7252).
- iplib star:151 Library for working with IP addresses (net.IP, net.IPNet), inspired by python ipaddress and ruby ipaddr
- sslb star:151 It's a Super Simples Load Balancer, just a little project to achieve some kind of performance.
- bart star:136 Package bart provides a Balanced-Routing-Table (BART) for very fast IP to CIDR lookups and more.
- gldap star:120 gldap provides an ldap server implementation and you provide handlers for its ldap operations.
- event star:119 Simple I/O event notification library written in Golang.
- natiu-mqtt star:105 A dead-simple, non-allocating, low level implementation of MQTT well suited for embedded systems.
- go-powerdns star:103 PowerDNS API bindings for Golang.
- ether star:82 Cross-platform Go package for sending and receiving ethernet frames.
- fullproxy star:82 A fully featured scriptable and daemon configurable proxy and pivoting toolkit with SOCKS5, HTTP, raw ports and reverse proxy protocols.
- dhcp6 star:80 Package dhcp6 implements a DHCPv6 server, as described in RFC 3315.
- fwdctl star:72 A simple and intuitive CLI to manage IPTables forwards in your Linux server.
- portproxy star:58 Simple TCP proxy which adds CORS support to API's which don't support it.
- linkio star:54 Network link speed simulation for Reader/Writer interfaces.
- httpproxy star:32 HTTP proxy handler and dialer.
- go-multiproxy star:29 Library for making HTTP requests through a pool of proxies offering fault tolerance, load balancing, automatic retries, cookie management, and more, via http.Get/Post replacement or http.Client RoundTripper drop-in
- publicip star:29 Package publicip returns your public facing IPv4 address (internet egress).
- graval star:28 Experimental FTP server framework.
- gnet star:27
gnetis a high-performance networking framework,especially for game servers. - goshark star:18 Package goshark use tshark to decode IP packet and create data struct to analyse packet.
- gosnmp Native Go library for performing SNMP actions.
- llb star:16 It's a very simple but quick backend for proxy servers. Can be useful for fast redirection to predefined domain with zero memory allocation and fast response.
- go-sse star:15 Go client and server implementation of HTML server-sent events.
- tspool star:14 A TCP Library use worker pool to improve performance and protect your server.
- go-pcaplite star:8 Lightweight live packet capture library with HTTPS SNI extraction.
- cdns star:3 Change DNS servers effortlessly via terminal.
- macwifi star:2 Wi-Fi scanning and Keychain password retrieval for macOS 13+.
- fibersse star:1 Production-grade Server-Sent Events (SSE) for Fiber v3 with event coalescing, priority lanes, topic wildcards, adaptive throttling, and built-in auth.
HTTP Clients
Libraries for making HTTP requests.
- go-retryablehttp star:2306 Retryable HTTP client in Go.
- gentleman star:1130 Full-featured plugin-driven HTTP client library.
- azuretls-client star:448 An easy-to-use HTTP client 100% in Go to spoof TLS/JA3 and HTTP2 fingerprint.
- go-cleanhttp star:436 Get easily stdlib HTTP client, which does not share any state with other clients.
- fast-shot star:121 Hit your API targets with rapid-fire precision using Go's fastest and simple HTTP Client.
- go-zoox/fetch star:88 A Powerful, Lightweight, Easy Http Client, inspired by Web Fetch API.
- go-otelroundtripper star:87 Go http.RoundTripper that emits open telemetry metrics for HTTP requests.
- go-http-client star:84 Make http calls simply and easily.
- axios4go star:34 A Go HTTP client library inspired by Axios, providing a simple and intuitive API for making HTTP requests.
- go-ipmux star:28 A library for Multiplexing HTTP requests based on multiple Source IPs.
- go-req star:23 Declarative golang HTTP client.
- Grequest - Simple and lightweight golang package for http requests. based on powerful net/http
- resty star:11651 Simple HTTP and REST client for Go inspired by Ruby rest-client.
- req star:4792 Simple Go HTTP client with Black Magic (Less code and More efficiency).
- heimdall star:2708 An enhanced http client with retry and hystrix capabilities.
- grequests star:2188 A Go "clone" of the great and famous Requests library.
- sling star:1717 Sling is a Go HTTP client library for creating and sending API requests.
- requests star:1670 HTTP requests for Gophers. Uses context.Context and doesn't hide the underlying net/http.Client, making it compatible with standard Go APIs. Also includes testing tools.
- surf star:1637 Advanced HTTP client with HTTP/1.1, HTTP/2, HTTP/3 (QUIC), SOCKS5 proxy support and browser-grade TLS fingerprinting.
- tls-client star:1581 net/http.Client like HTTP Client with options to select specific client TLS Fingerprints to use for requests.
- pester star:655 Go HTTP client calls with retries, backoff, and concurrency.
- request star:295 HTTP client for golang. If you have experience about axios or requests, you will love it. No 3rd dependency.
- hedge star:273 Adaptive hedged requests for Go. Cuts p99 latency with zero configuration, based on Google's "The Tail at Scale" paper.
- httpretry star:57 Enriches the default go HTTP client with retry functionality.
- rq star:52 A nicer interface for golang stdlib HTTP client.
OpenGL
Libraries for using OpenGL in Go.
- glfw star:1674 Go bindings for GLFW 3.
- gl star:1195 Go bindings for OpenGL (generated via glow).
- mathgl star:604 Pure Go math package specialized for 3D math, with inspiration from GLM.
- goxjs/gl star:174 Go cross-platform OpenGL bindings (OS X, Linux, Windows, browsers, iOS, Android).
- goxjs/glfw star:83 Go cross-platform glfw library for creating an OpenGL context and receiving events.
- go-glmatrix star:11 Go port of glMatrix library.
ORM
Libraries that implement Object-Relational Mapping or datamapping techniques.
- GORM star:39723 The fantastic ORM library for Golang, aims to be developer friendly.
- ent star:17046 An entity framework for Go. Simple, yet powerful ORM for modeling and querying data.
- SQLBoiler star:6990 ORM generator. Generate a featureful and blazing-fast ORM tailored to your database schema.
- bun star:4775 SQL-first Golang ORM. Successor of go-pg.
- gorp star:3755 Go Relational Persistence, ORM-ish library for Go.
- upper.io/db star:3658 Single interface for interacting with different data sources through the use of adapters that wrap mature database drivers.
- XORM Simple and powerful ORM for Go. (Support: MySQL, MyMysql, PostgreSQL, Tidb, SQLite3, MsSql and Oracle).
- gormt star:2434 Mysql database to golang gorm struct.
- Prisma star:2285 Prisma Client Go, Typesafe database access for Go.
- bob star:1712 SQL query builder and ORM/Factory generator for Go. Successor of SQLBoiler.
- go-sqlbuilder star:1698 A flexible and powerful SQL string builder library plus a zero-config ORM.
- pop/soda star:1505 Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
- reform star:1456 Better ORM for Go, based on non-empty interfaces and code generation.
- rel star:781 Modern Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API.
- Zoom star:311 Blazing-fast datastore and querying engine built on Redis.
- go-sql star:178 A easy ORM for mysql.
- golobby/orm star:162 Simple, fast, type-safe, generic orm for developer happiness.
- grimoire star:161 Grimoire is a database access layer and validation for golang. (Support: MySQL, PostgreSQL and SQLite3).
- go-store star:113 Simple and fast Redis backed key-value store library for Go.
- go-firestorm star:53 A simple ORM for Google/Firebase Cloud Firestore.
- cacheme star:25 Schema based, typed Redis caching/memoize framework for Go.
- CQL star:17 Built on top of GORM, adds compile-time verified queries based on auto-generated code.
- go-dbw star:17 A simple package that encapsulates database operations.
- lore star:14 Simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go.
- marlow star:12 Generated ORM from project structs for compile time safety assurances.
Package Management
Official tooling for dependency and package management
- go modules Modules are the unit of source code interchange and versioning. The go command has direct support for working with modules, including recording and resolving dependencies on other modules.
Unofficial libraries for package and dependency management.
- syft star:8844 A CLI tool and Go library for generating a Software Bill of Materials (SBOM) from container images and filesystems.
- gup star:569 Update binaries installed by "go install".
- modup star:64 Terminal UI for Go dependency updates with outdated module detection and selective upgrading.
Performance
- jaeger star:22738 A distributed tracing system.
- ebpf-go star:7714 Provides utilities for loading, compiling, and debugging eBPF programs.
- pixie star:6429 No instrumentation tracing for Golang applications via eBPF.
- statsviz star:3636 Live visualization of your Go application runtime statistics.
- profile star:2057 Simple profiling support package for Go.
- go-instrument star:293 Automatically add spans to all methods and functions.
- mm-go star:194 Generic manual memory management for golang.
- tracer star:89 Simple, lightweight tracing.
- otelinji star:27 OpenTelemetry auto-instrumentation tool for adding spans to functions.
Query Language
- gqlgen star:10716 go generate based graphql server library.
- graphql-go star:10154 Implementation of GraphQL for Go.
- dasel star:7913 Query and update data structures using selectors from the command line. Comparable to jq/yq but supports JSON, YAML, TOML and XML with zero runtime dependencies.
- graphql star:4749 GraphQL server with a focus on ease of use.
- gojsonq star:2227 A simple Go package to Query over JSON Data.
- play star:557 A TUI playground to experiment with your favorite programs, such as grep, sed, awk, jq and yq.
- rql star:366 Resource Query Language for REST API.
- jsonql star:279 JSON query expression library in Golang.
- jsonslice star:92 Jsonpath queries with advanced filters.
- rqp star:91 Query Parser for REST API. Filtering, validations, both
AND,ORoperations are supported directly in the query. - mql star:65 Model Query Language (mql) is a query language for your database models.
- goven star:62 A drop-in query language for any database schema.
- api-fu star:57 Comprehensive GraphQL implementation.
- straf star:40 Easily Convert Golang structs to GraphQL objects.
- jsonpath star:30 A query library for retrieving part of JSON based on JSONPath syntax.
- gws star:6 Apollos' "GraphQL over Websocket" client and server implementation.
- grapher star:3 A GraphQL field builder utilizing Go generics with extra utilities and features.
Reflection
- Deepcopier star:460 Simple struct copying for Go.
- go-deepcopy star:129 Fast deep copy library.
- gotype star:64 Golang source code parsing, usage like reflect package.
- copy star:52 Package for fast copying structs of different types.
- gpath star:41 Library to simplify access struct fields with Go's expression in reflection.
- goenum star:16 A common enumeration struct based on generics and reflection that allows you to quickly define enumerations and use a set of useful default methods.
- reflectpro star:9 Callers, copiers, getters and setters for go.
- reflectutils star:9 Helpers for working with reflection: struct tag parsing; recursive walking; fill value from string.
- objwalker star:4 Walk by go objects with reflection.
Resource Embedding
- vfsgen star:982 Generates a vfsdata.go file that statically implements the given virtual filesystem.
- debme star:35 Create an
embed.FSfrom an existingembed.FSsubdirectory. - embed Package embed provides access to files embedded in the running Go program.
- rebed star:30 Recreate folder structures and files from Go 1.16's
embed.FStype
Science and Data Analysis
Libraries for scientific computing and data analyzing.
- gonum star:8357 Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more.
- stats star:3005 Statistics package with common functions missing from the Golang standard library.
- gonum/plot star:2948 gonum/plot provides an API for building and drawing plots in Go.
- gosl star:1875 Go scientific library for linear algebra, FFT, geometry, NURBS, numerical methods, probabilities, optimisation, differential equations, and more.
- streamtools star:1312 general purpose, graphical tool for dealing with streams of data.
- dataframe-go star:1287 Dataframes for machine-learning and statistics (similar to pandas).
- orb star:1110 2D geometry types with clipping, GeoJSON and Mapbox Vector Tile support.
- go-dsp star:911 Digital Signal Processing for Go.
- chart star:774 Simple Chart Plotting library for Go. Supports many graphs types.
- graph star:750 Library of basic graph algorithms.
- goraph star:747 Pure Go graph theory library(data structure, algorithm visualization).
- Poly star:724 A Go package for engineering organisms.
- taxonkit star:469 A practical and efficient NCBI taxonomy toolkit; supports querying lineage, reformatting, filtering, and creating custom taxdump files.
- ewma star:451 Exponentially-weighted moving averages.
- calendarheatmap star:410 Calendar heatmap in plain Go inspired by Github contribution activity.
- go-hep star:252 A set of libraries and tools for performing High Energy Physics analyses with ease.
- TextRank star:223 TextRank implementation in Golang with extendable features (summarization, weighting, phrase extraction) and multithreading (goroutine) support.
- sparse star:167 Go Sparse matrix formats for linear algebra supporting scientific and machine learning applications, compatible with gonum matrix libraries.
- go-estimate star:121 State estimation and filtering algorithms in Go.
- gograph star:112 A golang generic graph library that provides mathematical graph-theory and algorithms.
- pagerank star:87 Weighted PageRank algorithm implemented in Go.
- jsonl-graph star:77 Tool to manipulate JSONL graphs with graphviz support.
- geom star:55 2D geometry for golang.
- insyra star:51 Data analysis library with statistics, visualization, Parquet support, and Python integration.
- evaler star:50 Simple floating point arithmetic expression evaluator.
- decimal star:44 Package decimal implements arbitrary-precision decimal floating-point arithmetic.
- triangolatte star:37 2D triangulation library. Allows translating lines and polygons (both based on points) to the language of GPUs.
- goent star:36 GO Implementation of Entropy Measures.
- piecewiselinear star:28 Tiny linear interpolation library.
- hdf5 star:26 Pure Go implementation of the HDF5 file format for scientific data storage and exchange.
- godesim star:23 Extended/multivariable ODE solver framework for event-based simulations with simple API.
- GoStats star:22 GoStats is an Open Source GoLang library for math statistics mostly used in Machine Learning domains, it covers most of the Statistical measures functions.
- ode star:22 Ordinary differential equation (ODE) solver which supports extended states and channel-based iteration stop conditions.
- PiHex star:20 Implementation of the "Bailey-Borwein-Plouffe" algorithm for the hexadecimal number Pi.
- topk star:17 Sliding-window and regular top-K sketches, based on the HeavyKeeper algorithm.
- rootfinding star:12 root-finding algorithms library for finding roots of quadratic functions.
- bradleyterry star:11 Provides a Bradley-Terry Model for pairwise comparisons.
- go-gt star:11 Graph theory algorithms written in "Go" language.
- matlab star:11 Pure Go library for reading and writing MATLAB .mat files (v5-v7.3) without CGO.
- MatProInterface.go star:2 MatProInterface.go is an open source package for defining mathematical programs (e.g., convex optimization problems) in Go.
- entitydebs star:1 A social science tool to programmatically analyze entities in non-fictional texts with a built-in dependency parser.
Security
Libraries that are used to help make your application more secure.
- age star:22130 A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
- lego star:9504 Pure Go ACME client library and CLI tool (for use with Let's Encrypt).
- CertMagic star:5543 Mature, robust, and powerful ACME client integration for fully-managed TLS certificate issuance and renewal.
- Cameradar star:5012 Tool and library to remotely hack RTSP streams from surveillance cameras.
- Coraza star:3445 Enterprise-ready, modsecurity and OWASP CRS compatible WAF library.
- memguard star:2732 A pure Go library for handling sensitive values in memory.
- secure star:2341 HTTP middleware for Go that facilitates some quick security wins.
- acmetool star:2087 ACME (Let's Encrypt) client tool with automatic renewal.
- acopw-go Small cryptographically secure password generator package for Go.
- beelzebub star:1975 A secure low code honeypot framework, leveraging AI for System Virtualization.
- themis star:1963 high-level cryptographic library for solving typical data security tasks (secure data storage, secure messaging, zero-knowledge proof authentication), available for 14 languages, best fit for multi-platform apps.
- acra star:1473 Network encryption proxy to protect database-based applications from data leaks: strong selective encryption, SQL injections prevention, intrusion detection system.
- dongle star:1103 A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption.
- SafeDep/vet star:1023 Protect against malicious open source packages.
- booster star:628 Fast initramfs generator with full-disk encryption support.
- go-password-validator star:578 Password validator based on raw cryptographic entropy values.
- nacl star:552 Go implementation of the NaCL set of API's.
- ssh-vault star:504 encrypt/decrypt using ssh keys.
- teler-waf star:402 teler-waf is a Go HTTP middleware that provide teler IDS functionality to protect against web-based attacks and improve the security of Go-based web applications. It is highly configurable and easy to integrate into existing Go applications.
- go-yara star:388 Go Bindings for YARA, the "pattern matching swiss knife for malware researchers (and everyone else)".
- optimus-go star:369 ID hashing and Obfuscation using Knuth's Algorithm.
- firewalld-rest star:343 A rest application to dynamically update firewalld rules on a linux server.
- BadActor star:324 In-memory, application-driven jailer built in the spirit of fail2ban.
- go-peer star:320 A software library for creating secure and anonymous decentralized systems.
- passlib star:290 Futureproof password hashing library.
- simple-scrypt star:202 Scrypt package with a simple, obvious API and automatic cost calibration built-in.
- urusai star:181 Urusai ("noisy" in Japanese) is a Go implementation of a random HTTP/DNS traffic noise generator that helps protect privacy by creating digital smokescreens while browsing.
- luks.go star:96 Pure Golang library to manage LUKS partitions.
- passwap star:74 Provides a unified implementation between different password hashing algorithms
- goSecretBoxPassword star:60 A probably paranoid package for securely hashing and encrypting passwords.
- go-generate-password star:57 Password generator that can be used on the cli or as a library.
- pii-shield star:57 Zero-code log sanitization sidecar for Kubernetes that redacts PII from logs.
- go-htpasswd star:47 Apache htpasswd Parser for Go.
- certificates star:38 An opinionated tool for generating tls certificates.
- secret star:33 Prevent your secrets from leaking into logs, std* etc.
- secureio star:33 An keyexchanging+authenticating+encrypting wrapper and multiplexer for
io.ReadWriteCloserbased on XChaCha20-poly1305, ECDH and ED25519. - sslmgr star:31 SSL certificates made easy with a high level wrapper around acme/autocert.
- argon2-hashing star:25 light wrapper around Go's argon2 package that closely mirrors with Go's standard library Bcrypt and simple-scrypt package.
- autocert Auto provision Let's Encrypt certificates and start a TLS server.
- goArgonPass star:20 Argon2 password hash and verification designed to be compatible with existing Python and PHP implementations.
- qrand star:17 Client for the ANU Quantum Numbers (AQN) API, providing quantum-mechanically secure random data.
- leakhound star:16 Static analysis tool to detect accidental logging of sensitive struct fields, preventing data leaks in logs.
- multikey star:12 An n-out-of-N keys encryption/decryption framework based on Shamir's Secret Sharing algorithm.
- Interpol star:7 Rule-based data generator for fuzzing and penetration testing.
- encid star:6 Encode and decode encrypted integer IDs.
- entpassgen star:6 Entropy Password Generator with extensive command line arguments to generate random strings securely including digits, passwords, and passwords built using obscure dictionary words mixed with symbols and digits.
- procscope star:2 Process-scoped runtime investigator using eBPF to trace process lifecycle, file activity, and network connections.
- gost-crypto star:1 Go library for Russian GOST cryptographic standards (digital signatures, Streebog hash, Kuznechik cipher, MGM AEAD) backed by OpenSSL gost-engine.
- gspy Forensic goroutine-to-syscall inspector for live Go processes.
- pm star:1 Unix-style password manager written in Go to save your data with OpenPGP encryption.
- redact star:1 Redact sensitive information from slog-based logs using a configurable pipeline.
Serialization
Libraries and tools for binary serialization.
- jsoniter star:13908 High-performance 100% compatible drop-in replacement of "encoding/json".
- goprotobuf star:10067 Go support, in the form of a library and protocol compiler plugin, for Google's protocol buffers.
- go-codec star:1946 High Performance, feature-Rich, idiomatic encode, decode and rpc library for msgpack, cbor and json, with runtime-based OR code-generation support.
- cbor star:1043 Small, safe, and easy CBOR encoding and decoding library.
- csvutil star:1032 High Performance, idiomatic CSV record encoding and decoding to native Go structures.
- colfer star:758 Code generation for the Colfer binary format.
- go-capnproto star:287 Cap'n Proto library and parser for go.
- php_session_decoder star:169 GoLang library for working with PHP session format and PHP Serialize/Unserialize functions.
- structomap star:145 Library to easily and dynamically generate maps from static structures.
- mus-go star:137 MUS format serializer for Go.
- binstruct star:114 Golang binary decoder for mapping data into the structure.
- bambam star:64 generator for Cap'n Proto schemas from go.
- bel star:46 Generate TypeScript interfaces from Go structs/interfaces. Useful for JSON RPC.
- fwencoder star:27 Fixed width file parser (encoding and decoding library) for Go.
- elastic star:25 Convert slices, maps or any other unknown value across different types at run-time, no matter what.
- gotiny star:21 Efficient Go serialization library, gotiny is almost as fast as serialization libraries that generate code.
- pletter star:19 A standard way to wrap a proto message for message brokers.
- go-csvlib star:18 High level and rich functionalities CSV serialization/deserialization library.
- fixedwidth star:9 Fixed-width text formatting (UTF-8 supported).
- unitpacking star:7 Library to pack unit vectors into as fewest bytes as possible.
Server Applications
- Caddy star:71934 Caddy is an alternative, HTTP/2 web server that's easy to configure and use.
- consul Consul is a tool for service discovery, monitoring and configuration.
- minio star:60828 Minio is a distributed object storage server.
- pocketbase star:58033 PocketBase is a realtime backend in 1 file consisting of embedded database (SQLite) with realtime subscriptions, built-in auth management and much more.
- etcd star:51660 Highly-available key value store for shared configuration and service discovery.
- SFTPGo star:11991 Fully featured and highly configurable SFTP server with optional FTP/S and WebDAV support. It can serve local filesystem and Cloud Storage backends such as S3 and Google Cloud Storage.
- RoadRunner star:8445 High-performance PHP application server, load-balancer and process manager.
- Easegress star:5870 A cloud native high availability/performance traffic orchestration system with observability and extensibility.
- Engity's Bifröst Highly customizable SSH server with several ways to authorize a user how to execute its session (local or in containers).
- Wish star:5160 Make SSH apps, just like that!
- flipt star:4784 A self contained feature flag solution written in Go and Vue.js
- Fider star:4256 Fider is an open platform to collect and organize customer feedback.
- devd star:3467 Local webserver for developers.
- algernon star:3005 HTTP/2 web server with built-in support for Lua, Markdown, GCSS and Amber.
- Flagr star:2586 Flagr is an open-source feature flagging and A/B testing service.
- Trickster star:2073 HTTP reverse proxy cache and time series accelerator.
- go-feature-flag star:2007 A simple, complete and lightweight self-hosted feature flag solution 100% Open Source.
- discovery star:1805 A registry for resilient mid-tier load balancing and failover.
- OpenRun star:830 Open-source alternative to Google Cloud Run and AWS App Runner. Easily deploy internal tools across a team.
- goshs star:693 SimpleHTTPServer replacement with file upload/download, WebDAV, SFTP, SMB, TLS, authentication, and share links.
- Euterpe star:572 Self-hosted music streaming server with built-in web UI and REST API.
- wd-41 star:151 A (w)eb (d)evelopment server with automatic live-reload on file changes.
- go-proxy-cache star:150 Simple Reverse Proxy with Caching, written in Go, using Redis.
- dudeldu star:147 A simple SHOUTcast server.
- cortex-tenant star:138 Prometheus remote write proxy that adds add Cortex tenant ID header based on metric labels.
- lets-proxy2 star:103 Reverse proxy for handle https with issue certificates in fly from lets-encrypt.
- psql-streamer star:61 Stream database events from PostgreSQL to Kafka.
- nginx-prometheus star:43 Nginx log parser and exporter to Prometheus.
- nsq A realtime distributed messaging platform.
- protoxy star:35 A proxy server that converts JSON request bodies to Protocol Buffers.
- Moxy star:16 Moxy is a simple mocker and proxy application server, you can create mock endpoints as well as proxy requests in case no mock exists for the endpoint.
- gondola star:10 A YAML based golang reverse proxy.
- Kono star:5 lightweight extendable API Gateway in Go - parallel fan-out, flexible aggregation, and zero configuration magic.
- Kono star:5 lightweight extendable API Gateway in Go - parallel fan-out, flexible aggregation, and zero configuration magic.
- riemann-relay star:2 Relay to load-balance Riemann events and/or convert them to Carbon.
Stream Processing
Libraries and tools for stream processing and reactive programming.
- go-streams star:2170 Go stream processing library.
- ro star:641 Reactive Programming: declarative and composable API for event-driven applications.
- go-etl star:187 A lightweight toolkit for data source extraction, transformation, and loading (ETL).
- gostream star:171 Type-safe stream processing library inspired by the Java Streams API.
- machine star:167 Go library for writing and generating stream workers with built in metrics and traceability.
- stream star:92 Go Stream, like Java 8 Stream: Filter/Map/FlatMap/Peek/Sorted/ForEach/Reduce...
- goio star:89 An implementation of IO, Stream, Fiber for Golang, inspired by awesome Scala libraries cats and fs2.
- StreamSQL star:55 A lightweight streaming SQL engine for real-time data processing.
- signals star:15 Type-safe reactive state management inspired by Angular Signals with computed values, effects, and dependency tracking.
- nibbler star:14 A lightweight package for micro batch processing.
Template Engines
Libraries and tools for templating and lexing.
- templ star:10258 A HTML templating language that has great developer tooling.
- quicktemplate star:3317 Fast, powerful, yet easy to use template engine. Converts templates into Go code and then compiles it.
- pongo2 star:3057 Django-like template-engine for Go.
- maroto star:2687 A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.
- jet star:1396 Jet template engine.
- fasttemplate star:909 Simple and fast template engine. Substitutes template placeholders up to 10x faster than text/template.
- gomponents HTML 5 components in pure Go, that look something like this:
func(name string) g.Node { return Div(Class("headline"), g.Textf("Hi %v!", name)) }. - Razor star:882 Razor view engine for Golang.
- ego star:591 Lightweight templating language that lets you write templates in Go. Templates are translated into Go and compiled.
- goview star:465 Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
- liquid star:346 Go implementation of Shopify Liquid templates.
- sprout star:214 Useful template functions for Go templates.
- Soy star:177 Closure templates (aka Soy templates) for Go, following the official spec.
- bagme star:100 HTML/CSS to PDF rendering with TeX-quality typesetting in pure Go.
- gox star:53 HTML templates as first-class Go expressions, with seamless editor support.
- htmgo build simple and scalable systems with go + htmx
- got star:38 A Go code generator inspired by Hero and Fasttemplate. Has include files, custom tag definitions, injected Go code, language translation, and more.
- tbd star:27 A really simple way to create text templates with placeholders - exposes extra builtin Git repo metadata.
- templator star:8 A type-safe HTML template rendering engine for Go.
Testing
Libraries for testing codebases and generating test data.
Testing Frameworks
- Testify star:25964 Sacred extension to the standard go testing package.
- keploy star:17189 Generate Testcase and Data Mocks from API calls automatically.
- testcontainers-go star:4809 A Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.
- go-cmp star:4623 Package for comparing Go values in tests.
- httpexpect star:2716 Concise, declarative, and easy to use end-to-end HTTP and REST API testing.
- godog star:2619 Cucumber BDD framework for Go.
- is star:1954 Professional lightweight testing mini-framework for Go.
- gnomock star:1485 integration testing with real dependencies (database, cache, even Kubernetes or AWS) running in Docker, without mocks.
- go-vcr star:1373 Record and replay your HTTP interactions for fast, deterministic and accurate tests.
- tparse star:1247 CLI tool for summarizing go test output. Pipe friendly. Compatible with go test flags.
- testfixtures star:1226 A helper for Rails' like test fixtures to test database applications.
- embedded-postgres star:1171 Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test.
- goblin star:890 Mocha like testing framework of Go.
- goc star:876 Goc is a comprehensive coverage testing system for The Go Programming Language.
- gocheck More advanced testing framework alternative to gotest.
- GoConvey BDD-style framework with web UI and live reload.
- go-httpbin star:841 HTTP testing and debugging tool with various endpoints for client testing.
- baloo star:779 Expressive and versatile end-to-end HTTP API testing made easy.
- go-mutesting star:667 Mutation testing for Go source code.
- gotest.tools star:577 A collection of packages to augment the go testing package and support common patterns.
- go-testdeep star:462 Extremely flexible golang deep comparison, extends the go testing package.
- gofight star:444 API Handler Testing for Golang Router framework.
- testza star:418 Full-featured test framework with nice colorized output.
- cupaloy star:330 Simple snapshot testing addon for your test framework.
- frisby star:275 REST API testing framework.
- endly star:267 Declarative end to end functional testing.
- got star:267 An enjoyable golang test framework.
- go-hit star:256 Hit is an http integration test framework written in golang.
- arch-go star:255 Architecture testing tool for Go projects.
- go-carpet star:251 Tool for viewing test coverage in terminal.
- commander star:229 Tool for testing cli applications on windows, linux and osx.
- go-test-coverage star:228 Tool that reports coverage of files below set threshold.
- charlatan star:205 Tool to generate fake interface implementations for tests.
- dbcleaner star:163 Clean database for testing purpose, inspired by
database_cleanerin Ruby. - jsonassert star:141 Package for verifying that your JSON payloads are serialized correctly.
- be star:132 The minimalist generic test assertion library.
- testcase star:127 Idiomatic testing framework for Behavior Driven Development.
- gocrest star:107 Composable hamcrest-like matchers for Go assertions.
- wstest star:102 Websocket client for unit-testing a websocket http.Handler.
- gherkingen star:96 BDD boilerplate generator and framework.
- ginkgo BDD Testing Framework for Go.
- testcerts star:84 Dynamically generate self-signed certificates and certificate authorities within your test functions.
- assert star:68 Basic Assertion Library used along side native go testing, with building blocks for custom assertions.
- restit star:55 Go micro framework to help writing RESTful API integration test.
- gospecify star:52 This provides a BDD syntax for testing your Go code. It should be familiar to anybody who has used libraries such as rspec.
- gomatch star:47 library created for testing JSON against patterns.
- gomega Rspec like matcher/assertion library.
- Gont Go network testing toolkit for testing building complex network topologies using Linux namespaces.
- dsunit star:45 Datastore testing for SQL, NoSQL, structured files.
- should star:41 Testing library with zero dependencies, detailed struct diffs and human-readable error messages.
- fixenv star:33 Fixture manage engine, inspired by pytest fixtures.
- Hamcrest star:30 fluent framework for declarative Matcher objects that, when applied to input values, produce self-describing results.
- flute star:22 HTTP client testing framework.
- schema star:20 Quick and easy expression matching for JSON schemas used in requests and responses.
- dft star:19 Lightweight, zero dependency docker containers for testing (or more).
- testsql star:17 Generate test data from SQL files before testing and clear it after finished.
- gogiven star:16 YATSPEC-like BDD testing framework for Go.
- biff star:14 Bifurcation testing framework, BDD compatible.
- gosuite star:12 Brings lightweight test suites with setup/teardown facilities to
testingby leveraging Go1.7's Subtests. - stop-and-go star:12 Testing helper for concurrency.
- Tt star:9 Simple and colorful test tools.
- apitest Simple and extensible behavioural testing library for REST based services or HTTP handlers that supports mocking external http calls and rendering of sequence diagrams.
- trial star:6 Quick and easy extendable assertions without introducing much boilerplate.
- go-testpredicate star:5 Test predicate style assertions library with extensive diagnostics output.
- envite star:4 Dev and testing environment management framework.
- go-mysql-test-container star:3 Golang MySQL testcontainer to help with MySQL integration testing.
- go-snaps Jest-like snapshot testing in Golang.
- omg.testingtools star:1 The simple library for change a values of private fields for testing.
Mock
- mockery star:7089 Tool to generate Go interfaces.
- go-sqlmock star:6545 Mock SQL driver for testing database interactions.
- gomock star:3326 Mocking framework for the Go programming language.
- hoverfly star:2485 HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI.
- moq star:2199 Utility that generates a struct from any interface. The struct can be used in test code as a mock of the interface.
- moxie Generate mock methods on embedded structs.
- httpmock star:2075 Easy mocking of HTTP responses from external resources.
- counterfeiter star:1128 Tool for generating self-contained mock objects.
- genmock Go mocking system with code generator for building calls of the interface methods.
- go-txdb star:751 Single transaction based database driver mainly for testing purposes.
- minimock star:748 Mock generator for Go interfaces.
- pgxmock star:581 A mock library implementing pgx - PostgreSQL Driver and Toolkit.
- xgo star:432 A general pureposed function mocking library.
- govcr star:197 HTTP mock for Golang: record and replay HTTP interactions for offline testing.
- connexions Combine multiple APIs with meaningful responses, configurable latency and error codes based on OpenAPI 3.0 specifications and files.
- go-localstack star:87 Tool for using localstack in AWS testing.
- timex star:71 A test-friendly replacement for the native
timepackage. - mockhttp star:23 Mock object for Go http.ResponseWriter.
- mooncake star:18 A simple way to generate mocks for multiple purposes.
- mockfs star:8 Mock filesystem for Go testing with error injection and latency simulation, built on
testing/fstest.MapFS. - gomock star:6 CLI tool to generate typed and framework-agnostic interface mocks, with support for generics.
Fuzzing and delta-debugging/reducing/shrinking
- go-fuzz star:4851 Randomized testing system.
- Tavor star:246 Generic fuzzing and delta-debugging framework.
Selenium and browser control tools
- chromedp star:12994 a way to drive/test Chrome, Safari, Edge, Android Webviews, and other browsers supporting the Chrome Debugging Protocol.
- rod star:6887 A Devtools driver to make web automation and scraping easy.
- playwright-go star:3325 browser automation library to control Chromium, Firefox and WebKit with a single API.
- cdp star:791 Type-safe bindings for the Chrome Debugging Protocol that can be used with browsers or other debug targets that implement it.
- bonk star:10 Fast, stealth-first browser automation library using Chrome DevTools Protocol over WebSocket with no external dependencies.
Fail injection
- failpoint star:880 An implementation of failpoints for Golang.
Text Processing
Libraries for parsing and manipulating texts.
See also Natural Language Processing and Text Analysis.
Formatters
- go-humanize star:4784 Formatters for time, numbers, and memory size to human readable format.
- sq star:2471 Convert data from SQL databases or document formats like CSV or Excel into formats such as JSON, Excel, CSV, HTML, Markdown, XML, and YAML.
- gotabulate star:340 Easily pretty-print your tabular data with Go.
- go-fixedwidth star:88 Fixed-width text formatting (encoder/decoder with reflection).
- align star:84 A general purpose application that aligns text.
- bytes Formats and parses numeric byte values (10K, 2M, 3G, etc.).
- address star:82 Handles address representation, validation and formatting.
- textwrap star:7 Wraps text at end of lines. Implementation of
textwrapmodule from Python.
Markup Languages
- blackfriday star:5618 Markdown processor in Go.
- toml star:4938 TOML configuration format (encoder/decoder with reflection).
- goldmark star:4734 A Markdown parser written in Go. Easy to extend, standard (CommonMark) compliant, well structured.
- html-to-markdown star:3598 Convert HTML to Markdown. Even works with entire websites and can be extended through rules.
- go-toml star:1930 Go library for the TOML format with query support and handy cli tools.
- htmlquery star:782 An XPath query package for HTML, lets you extract data or evaluate from HTML documents by an XPath expression.
- mxj star:631 Encode / decode XML as JSON or map[string]interface{}; extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.
- goq star:270 Declarative unmarshalling of HTML using struct tags with jQuery syntax (uses GoQuery).
- bafi star:114 Universal JSON, BSON, YAML, XML translator to ANY format using templates.
- go-output-format star:18 Output go structures into multiple formats (YAML/JSON/etc) in your command line app.
- bbConvert star:12 Converts bbCode to HTML that allows you to add support for custom bbCode tags.
- htmlyaml star:5 Rich rendering of YAML as HTML in Go.
- htree star:4 Traverse, navigate, filter, and otherwise process trees of html.Node objects.
Parsers/Encoders/Decoders
- sh star:8702 Shell parser and formatter.
- gofeed star:2835 Parse RSS and Atom feeds in Go.
- go-querystring star:2134 Go library for encoding structs into URL query parameters.
- godump (goforj) star:1733 Pretty-print Go structs with Laravel/Symfony-style dumps, full type info, colorized CLI output, cycle detection, and private field access.
- when star:1462 Natural EN and RU language date/time parser with pluggable rules.
- commonregex star:899 A collection of common regular expressions for Go.
- gographviz star:567 Parses the Graphviz DOT language.
- go-nmea star:262 NMEA parser library for the Go language.
- godump star:222 Pretty print any GO variable with ease, an alternative to Go's
fmt.Printf("%#v"). - editorconfig-core-go star:154 Editorconfig file parser and manipulator for Go.
- encdec Package provides a generic interface to encoders and decoders.
- tokenizer star:139 Parse any string, slice or infinite buffer to any tokens.
- go-vcard star:126 Parse and format vCard.
- did star:96 DID (Decentralized Identifiers) Parser and Stringer in Go.
- vdf star:64 A Lexer and Parser for Valves Data Format (known as vdf) written in Go.
- allot star:60 Placeholder and wildcard text parsing for CLI tools and bots.
- normalize star:54 Sanitize, normalize and compare fuzzy text.
- gonameparts star:43 Parses human names into individual name parts.
- go-fasttld star:38 High performance effective top level domains (eTLD) extraction module.
- xj2go star:36 Convert xml or json to go struct.
- codetree star:25 Parses indented code (python, pixy, scarlet, etc.) and returns a tree structure.
- doi star:11 Document object identifier (doi) parser in Go.
- parseargs-go star:10 string argument parser that understands quotes and backslashes.
- ltsv star:9 High performance LTSV (Labeled Tab Separated Value) reader for Go.
- prattle star:8 Scan and parse LL(1) grammars simply and efficiently.
Regular Expressions
- rex star:211 Regular expressions builder.
- coregex star:177 Production regex engine with Rust regex-crate architecture: multi-engine DFA/NFA, SIMD prefilters, drop-in stdlib replacement.
- regroup star:150 Match regex expression named groups into go struct using struct tags and automatic parsing.
- go-wildcard star:101 Simple and lightweight wildcard pattern matching.
- goregen star:92 Library for generating random strings from regular expressions.
- genex star:76 Count and expand Regular Expressions into all matching Strings.
Sanitation
- bluemonday star:3665 HTML Sanitizer.
- gofuckyourself star:70 A sanitization-based swear filter for Go.
Scrapers
- colly star:25266 Fast and Elegant Scraping Framework for Gophers.
- GoQuery star:14931 GoQuery brings a syntax and a set of features similar to jQuery to the Go language.
- xurls star:1257 Extract urls from text.
- dataflowkit star:713 Web scraping Framework to turn websites into structured data.
- pagser star:111 Pagser is a simple, extensible, configurable parse and deserialize html page to struct based on goquery and struct tags for golang crawler.
- Tagify star:39 Produces a set of tags from given source.
- go-recipe star:32 A package for scraping recipes from websites.
- walker star:14 Seamlessly fetch paginated data from any source. Simple and high performance API scraping included.
- go-sitemap-parser star:5 Go language library for parsing Sitemaps.
RSS
- podcast star:140 iTunes Compliant and RSS 2.0 Podcast Generator in Golang
Utility/Miscellaneous
- lancet star:5282 A comprehensive, Lodash-like utility library for Go
- w2vgrep star:1223 A semantic grep tool using word embeddings to find semantically similar matches. For example, searching for "death" will find "dead", "killing", "murder".
- go-runewidth star:693 Functions to get fixed width of the character or string.
- radix star:196 Fast string sorting algorithm.
- petrovich star:51 Petrovich is the library which inflects Russian names to given grammatical case.
- kace star:21 Common case conversions covering common initialisms.
- TySug star:19 Alternative suggestions with respect to keyboard layouts.
- ahocorasick star:14 High-performance Aho-Corasick multi-pattern string matching with DFA compilation and SIMD prefilter, up to 7 GB/s throughput (part of coregx ecosystem).
- uniwidth star:6 High-performance Unicode character width calculation with SWAR optimization, O(1) lookup tables, and ZWJ emoji support.
Third-party APIs
Libraries for accessing third party APIs.
- github star:11198 Go library for accessing the GitHub REST API v3.
- go-openai star:10643 OpenAI ChatGPT, DALL·E, Whisper API library for Go.
- discordgo star:5893 Go bindings for the Discord Chat API.
- slack star:4932 Slack API in Go.
- google-cloud star:4446 Google Cloud APIs Go Client Library.
- google star:4427 Auto-generated Google APIs for Go.
- aws-sdk-go star:3539 The official AWS SDK for the Go programming language.
- minio-go star:2933 Minio Go Library for Amazon S3 compatible cloud storage.
- stripe star:2572 Go client for the Stripe API.
- go-jira star:1605 Go client library for Atlassian JIRA
- facebook star:1462 Go Library that supports the Facebook Graph API.
- githubql star:1185 Go library for accessing the GitHub GraphQL API v4.
- anaconda star:1140 Go client library for the Twitter 1.1 API.
- webhooks star:1027 Webhook receiver for GitHub and Bitbucket.
- paypal star:774 Wrapper for PayPal payment API.
- geo-golang star:542 Go Library to access Google Maps, MapQuest, Nominatim, OpenCage, Bing, Mapbox, and OpenStreetMap geocoding / reverse geocoding APIs.
- lark star:473 Feishu/Lark Open API Go SDK, Support ALL Open API and Event Callback.
- openaigo star:300 OpenAI GPT3/GPT3.5 ChatGPT API client library for Go.
- ethrpc star:277 Go bindings for Ethereum JSON RPC API.
- go-lark star:242 An easy-to-use unofficial SDK for Feishu and Lark Open Platform.
- Trello star:227 Go wrapper for the Trello API.
- go-atlassian star:206 Go library for accessing the Atlassian Cloud services (Jira, Jira Service Management, Jira Agile, Confluence, Admin Cloud)
- go-marathon star:199 Go library for interacting with Mesosphere's Marathon PAAS.
- simples3 star:198 Simple no frills AWS S3 Library using REST with V4 Signing written in Go.
- wit-go star:170 Go client for wit.ai HTTP API.
- gosip star:168 Client library for SharePoint.
- golang-tmdb star:160 Golang wrapper for The Movie Database API v3.
- pushover star:155 Go wrapper for the Pushover API.
- go-trending star:145 Go library for accessing trending repositories and developers at Github.
- Medium star:142 Golang SDK for Medium's OAuth2 API.
- gostorm star:129 GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells.
- disgo star:112 Go API Wrapper for the Discord API.
- hipchat (xmpp) star:111 A golang package to communicate with HipChat over XMPP.
- go-gerrit star:105 Go client library for Gerrit Code Review.
- hipchat star:104 This project implements a golang client library for the Hipchat API.
- go-redoc star:94 Embedded OpenAPI/Swagger documentation ui for Go using ReDoc.
- cachet star:90 Go client library for Cachet (open source status page system).
- GoFreeDB star:90 Golang library providing common and simple database abstractions on top of Google Sheets.
- gogtrends star:89 Google Trends Unofficial API.
- go-postman-collection star:87 Go module to work with Postman Collections (compatible with Insomnia).
- airtable star:86 Go client library for the Airtable API.
- igdb star:84 Go client for the Internet Game Database API.
- ynab star:78 Go wrapper for the YNAB API.
- go-unsplash star:77 Go client library for the Unsplash.com API.
- circleci star:65 Go client library for interacting with CircleCI's API.
- GoMusicBrainz star:63 Go MusicBrainz WS2 client library.
- mixpanel star:60 Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications.
- uptimerobot star:59 Go wrapper and command-line client for the Uptime Robot v2 API.
- clarifai star:55 Go client library for interfacing with the Clarifai API.
- go-salesforce star:55 Go client library for interacting with the Salesforce REST API.
- megos star:54 Client library for accessing an Apache Mesos cluster.
- spotify star:52 Go Library to access Spotify WEB API.
- fcm star:51 Go library for Firebase Cloud Messaging.
- gads star:51 Google Adwords Unofficial API.
- go-xkcd star:51 Go client for the xkcd API.
- go-yapla Go client library for the Yapla v2.0 API.
- swag star:50 No comments, simple go wrapper to create swagger 2.0 compatible APIs. Support most routing frameworks, such as built-in, gin, chi, mux, echo, httprouter, fasthttp and more.
- patreon-go star:46 Go library for Patreon API.
- go-myanimelist star:42 Go client library for accessing the MyAnimeList API.
- golyrics star:42 Golyrics is a Go library to fetch music lyrics data from the Wikia website.
- lastpass-go star:35 Go client library for the LastPass API.
- steam star:33 Go Library to interact with Steam game servers.
- gcm star:31 Go library for Google Cloud Messaging.
- coinpaprika-go star:27 Go client library for interacting with Coinpaprika's API.
- jokeapi-go star:27 Go client for JokeAPI.
- device-check-go star:25 Go client library for interacting with iOS DeviceCheck API v1.
- shopify star:25 Go Library to make CRUD request to the Shopify API.
- go-imgur star:23 Go client library for imgur
- aws-encryption-sdk-go star:22 Unofficial Go SDK implementation of the AWS Encryption SDK.
- goami2 star:21 AMI v2 library for Asterisk PBX.
- textbelt star:21 Go client for the textbelt.com txt messaging API.
- brewerydb star:20 Go library for accessing the BreweryDB API.
- go-openproject star:19 Go client library for interacting with OpenProject API.
- codeship-go star:18 Go client library for interacting with Codeship's API v2.
- go-aws-news star:18 Go application and library to fetch what's new from AWS.
- bqwriter star:16 High Level Go Library to write data into Google BigQuery at a high throughout.
- go-hacknews star:16 Tiny Go client for HackerNews API.
- gopaapi5 star:16 Go Client Library for Amazon Product Advertising API 5.0.
- google-analytics star:15 Simple wrapper for easy google analytics reporting.
- ip2location-io-go star:14 Go wrapper for the IP2Location.io API IP2Location.io.
- go-here star:13 Go client library around the HERE location based APIs.
- go-hibp star:13 Simple Go binding to the "Have I Been Pwned" APIs.
- gomalshare star:13 Go library MalShare API malshare.com
- rawg-sdk-go star:13 Go library for the RAWG Video Games Database API
- go-sophos star:12 Go client library for the Sophos UTM REST API with zero dependencies.
- goagi star:12 Go library to build Asterisk PBX agi/fastagi applications.
- go-swagger-ui star:11 Go library containing precompiled Swagger UI for serving swagger json.
- go-telegraph Telegraph publishing platform API client.
- smite star:11 Go package to wraps access to the Smite game API.
- libgoffi star:10 Library adapter toolbox for native libffi integration
- go-chronos star:8 Go library for interacting with the Chronos Job Scheduler
- tumblr star:8 Go wrapper for the Tumblr v2 API.
- appstore-sdk-go star:7 Unofficial Golang SDK for AppStore Connect API.
- newsapi-go star:7 Go client for NewsAPI.
- zooz star:7 Go client for the Zooz API.
- threads-go star:5 Go client library for the Meta Threads API with OAuth 2.0, rate limiting, and type-safe error handling.
- dusupay-sdk-go star:3 Unofficial Dusupay payment gateway API Client for Go
- go-restcountries star:3 Go library for the REST Countries API.
- gopensky star:3 Go client implementation for OpenSKY Network live's API (airspace ADS-B and Mode S data).
- fasapay-sdk-go star:2 Unofficial Fasapay payment gateway XML API Client for Golang.
- playlyfe star:2 The Playlyfe Rest API Go SDK.
- TripAdvisor star:2 Go wrapper for the TripAdvisor API.
- vl-go star:2 Go client library around the VerifID identity verification layer API.
Utilities
General utilities and tools to make your life easier.
- fzf star:79891 Command-line fuzzy finder written in Go.
- dive star:53856 A tool for exploring each layer in a Docker image.
- hub star:22948 wrap git commands with additional functionality to interact with github from the terminal.
- lo star:21216 A Lodash like Go library based on Go 1.18+ Generics (map, filter, contains, find...)
- ctop star:17714 Top-like interface (e.g. htop) for container metrics.
- sqlx star:17601 provides a set of extensions on top of the excellent built-in database/sql package.
- goreleaser star:15745 Deliver Go binaries as fast and easily as possible.
- wuzz star:10716 Interactive cli tool for HTTP inspection.
- usql star:9932 usql is a universal command-line interface for SQL databases.
- peco star:7885 Simplistic interactive filtering tool.
- go-funk star:4943 Modern Go utility library which provides helpers (map, find, contains, filter, chunk, reverse, ...).
- godropbox star:4204 Common libraries for writing Go services/applications from Dropbox.
- minify star:4095 Fast minifiers for HTML, CSS, JS, XML, JSON and SVG file formats.
- panicparse star:3715 Groups similar goroutines and colorizes stack dump.
- mc star:3463 Minio Client provides minimal tools to work with Amazon S3 compatible cloud storage and filesystems.
- goreporter star:3127 Golang tool that does static analysis, unit testing, code review and generate code quality report.
- mergo star:3100 Helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.
- retry-go star:2919 Simple library for retry mechanism.
- create-go-app star:2759 A powerful CLI for create a new production-ready project with backend (Golang), frontend (JavaScript, TypeScript) & deploy automation (Ansible, Docker) by running one command.
- sesh star:2403 Sesh is a CLI that helps you create and manage tmux sessions quickly and easily using zoxide.
- EaseProbe star:2299 A simple, standalone, and lightWeight tool that can do health/status checking daemon, support HTTP/TCP/SSH/Shell/Client/... probes, and Slack/Discord/Telegram/SMS... notification.
- filetype star:2289 Small package to infer the file type checking the magic numbers signature.
- Failsafe-go star:2209 Fault tolerance and resilience patterns for Go.
- Storm star:2100 Simple and powerful toolkit for BoltDB.
- mimetype star:1975 Package for MIME type detection based on magic numbers.
- jump star:1917 Jump helps you navigate faster by learning your habits.
- boilr star:1760 Blazingly fast CLI tool for creating projects from boilerplate templates.
- mole star:1726 cli app to easily create ssh tunnels.
- gitbatch star:1561 manage your git repositories in one place.
- gitcs Git Commits Visualizer, CLI tool to visualize your Git commits on your local machine.
- scany star:1515 Library for scanning data from a database into Go structs and more.
- bed star:1346 A Vim-like binary editor written in Go.
- hostctl star:1218 A CLI tool to manage /etc/hosts with easy commands.
- upterm star:1214 A tool for developers to share terminal/tmux sessions securely over the web. It’s perfect for remote pair programming, accessing computers behind NATs/firewalls, remote debugging, and more.
- circuitbreaker star:1166 Circuit Breakers in Go.
- boring star:1144 Simple command-line SSH tunnel manager.
- git-time-metric star:1001 Simple, seamless, lightweight time tracking for Git.
- changie star:875 Automated changelog tool for preparing releases with lots of customization options.
- immortal star:835 *nix cross-platform (OS agnostic) supervisor.
- circuit star:815 An efficient and feature complete Hystrix like Go implementation of the circuit breaker pattern.
- clipboard star:773 📋 cross-platform clipboard package in Go.
- clockwork star:726 A simple fake clock for golang.
- mani star:685 CLI tool to help you manage multiple repositories.
- delve star:662 Go debugger.
- remote-touchpad star:660 Control mouse and keyboard from a smartphone.
- ergo star:649 The management of multiple local services running over different ports made easy.
- limiters star:634 Rate limiters for distributed applications in Golang with configurable back-ends and distributed locks.
- scan star:612 Scan golang
sql.Rowsdirectly to structs, slices, or primitive types. - htcat star:558 Parallel and Pipelined HTTP GET Utility.
- koazee star:530 Library inspired in Lazy evaluation and functional programming that takes the hassle out of working with arrays.
- gubrak star:513 Golang utility library with syntactic sugar. It's like lodash, but for golang.
- countries star:510 Full implementation of ISO-3166-1, ISO-4217, ITU-T E.164, Unicode CLDR and IANA ccTLD standards.
- stacktower star:507 Visualize dependency graphs as physical tower structures, inspired by XKCD #2347.
- config-file-validator star:502 Cross Platform tool to validate configuration files.
- godaemon star:495 Utility to write daemons.
- go-dry star:487 DRY (don't repeat yourself) package for Go.
- gopencils star:452 Small and simple package to easily consume REST APIs.
- request star:422 Go HTTP Requests for Humans™.
- go-rate star:406 Timed rate limiter for Go.
- grofer star:375 A system and resource monitoring tool written in Golang!
- rospo star:364 Simple and reliable ssh tunnels with embedded ssh server in Golang.
- serve star:350 A static http server anywhere you need.
- retry star:345 The most advanced functional mechanism to perform actions repetitively until successful.
- gotenv star:307 Load environment variables from
.envor anyio.Readerin Go. - util star:300 Collection of useful utility functions. (strings, concurrency, manipulations, ...).
- wifiqr star:281 Wi-Fi QR Code Generator.
- pattern-match star:251 Pattern matching library.
- go-trigger star:250 Go-lang global event triggerer, Register Events with an id and trigger the event from anywhere from your project.
- go-sitemap-generator star:231 XML Sitemap generator written in Go.
- toolbox star:228 Slice, map, multimap, struct, function, data conversion utilities. Service router, macro evaluator, tokenizer.
- json-log-viewer star:221 Interactive viewer for JSON logs.
- Death star:198 Managing go application shutdown with signals.
- go-bind-plugin star:182 go:generate tool for wrapping symbols exported by golang plugins (1.8 only).
- goval star:174 Evaluate arbitrary expressions in Go.
- go-bsdiff star:172 Pure Go bsdiff and bspatch libraries and CLI tools.
- apm star:168 Process manager for Golang applications with an HTTP API.
- moldova star:168 Utility for generating random data based on an input template.
- rate star:165 High-performance rate limiting library with token bucket and AIMD strategies.
- rerun star:165 Recompiling and rerunning go apps when source changes.
- cmd star:161 Library for executing shell commands on osx, windows and linux.
- chyle star:160 Changelog generator using a git repository with multiple configuration possibilities.
- cryptgo star:160 Crytpgo is a TUI based application written purely in Go to monitor and observe cryptocurrency prices in real time!
- robustly star:159 Runs functions resiliently, catching and restarting panics.
- filter star:151 provide filtering, sanitizing, and conversion of Go data.
- nostromo star:150 CLI for building powerful aliases.
- sorty star:144 Fast Concurrent / Parallel Sorting.
- onecache star:135 Caching library with support for multiple backend stores (Redis, Memcached, filesystem etc).
- mongo-go-pagination star:131 Mongodb Pagination for official mongodb/mongo-go-driver package which supports both normal queries and Aggregation pipelines.
- lrserver star:129 LiveReload server for Go.
- go-lock star:126 go-lock is a lock library implementing read-write mutex and read-write trylock without starvation.
- goseaweedfs star:118 SeaweedFS client library with almost full features.
- cookie star:113 Cookie struct parsing and helper package.
- mssqlx star:104 Database client library, proxy for any master slave, master master structures. Lightweight and auto balancing in mind.
- go-pattern-match star:101 A Pattern matching library inspired by ts-pattern.
- xferspdy star:101 Xferspdy provides binary diff and patch library in golang.
- mimemagic star:100 Pure Go ultra performant MIME sniffing library/utility.
- countries star:96 All you need when you are working with countries in Go.
- go-health star:96 Health package simplifies the way you add health check to your services.
- go-lambda-cleanup star:96 A CLI for removing unused or previous versions of AWS Lambdas.
- equalizer star:89 Quota manager and rate limiter collection for Go.
- pgo star:88 Convenient functions for PHP community.
- go-safecast star:84 Safe number type conversion library that prevents integer overflow and underflow (addresses gosec G115 and CWE-190).
- repeat star:84 Go implementation of different backoff strategies useful for retrying operations and heartbeating.
- handy star:83 Many utilities and helpers like string handlers/formatters and validators.
- godoclive star:79 Generates interactive API documentation from Go HTTP handlers using static analysis of chi, gin, and net/http routers.
- pm star:79 Process (i.e. goroutine) manager with an HTTP API.
- netbug star:72 Easy remote profiling of your services.
- multitick star:71 Multiplexor for aligned tickers.
- UNIS star:70 Common Architecture™ for String Utilities in Go.
- backscanner star:69 A scanner similar to bufio.Scanner, but it reads and returns lines in reverse order, starting at a given position and going backward.
- goreadability star:69 Webpage summary extractor using Facebook Open Graph and arc90's readability.
- dbt star:68 A framework for running self-updating signed binaries from a central, trusted repository.
- scan star:68 Scan sql rows into any type powered by generics.
- go-astitodo star:66 Parse TODOs in your GO code.
- retry star:66 Simple and easy retry mechanism package for Go.
- golog star:63 Easy and lightweight CLI tool to time track your tasks.
- minquery star:61 MongoDB / mgo.v2 query that supports efficient pagination (cursors to continue listing documents where we left off).
- shutdown star:60 App shutdown hooks for
os.Signalhandling. - copy-pasta star:56 Universal multi-workstation clipboard that uses S3 like backend for the storage.
- sshman star:55 SSH Manager for authorized_keys files on multiple remote servers.
- cvt star:54 Easy and safe convert any value to another type.
- golarm star:54 Fire alarms with system events.
- ghokin star:53 Parallelized formatter with no external dependencies for gherkin (cucumber, behat...).
- gofn star:51 High performance utility functions written using Generics for Go 1.18+.
- slice star:51 Type-safe functions for common Go slice operations.
- goback star:50 Go simple exponential backoff package.
- retry-go star:50 Retrying made simple and easy for golang.
- go-qr star:49 A native, high-quality and minimalistic QR code generator.
- go-httpheader star:47 Go library for encoding structs into Header fields.
- gostrutils star:47 Collections of string manipulation and conversion functions.
- pointer star:47 Package pointer contains helper routines for simplifying the creation of optional fields of basic type.
- set star:47 Performant and flexible struct mapping and loose type conversion.
- slicer star:47 Makes working with slices easier.
- yogo star:45 Check yopmail mails from command line.
- evaluator star:42 Evaluate an expression dynamically based on s-expression. It's simple and easy to extend.
- throttle star:40 Throttle is an object that will perform exactly one action per duration.
- debounce star:37 A zero-allocation debouncer written in Go.
- just star:37 Just a collection of useful functions for working with generic data structures.
- rclient star:36 Readable, flexible, simple-to-use client for REST APIs.
- tome star:35 Tome was designed to paginate simple RESTful APIs.
- watchhttp star:34 Run command periodically and expose latest STDOUT or its rich delta as HTTP endpoint.
- git-tools star:32 Tool to help manage git tags.
- generate star:31 runs go generate recursively on a specified path or environment variable and can filter by regex.
- graterm star:30 Provides primitives to perform ordered (sequential/concurrent) GRAceful TERMination (aka shutdown) in Go application.
- goplaceholder star:29 a small golang lib to generate placeholder images.
- ptr star:28 Package that provide functions for simplified creation of pointers from constants of basic types.
- ctxutil star:25 A collection of utility functions for contexts.
- go-convert star:24 Package go-convert enables you to convert a value into another type.
- structs star:24 Implement simple functions to manipulate structs.
- go-type star:23 Library providing Go types for store/validation and transfer of ISO-4217, ISO-3166, and other types.
- healthcheck star:23 A simple yet powerful readiness test for Kubernetes.
- jsend star:22 JSend's implementation written in Go.
- filler star:18 small utility to fill structs using "fill" tag.
- go-problemdetails star:18 Go package for working with Problem Details.
- dlog star:17 Compile-time controlled logger to make your release smaller without removing debug calls.
- go-countries star:16 Lightweight lookup over ISO-3166 codes.
- okrun star:16 go run error steamroller.
- go-clip star:15 A minimalistic clipboard manager for Mac.
- go-tripper star:15 Tripper is a circuit breaker package for Go that allows you to circuit and control the status of circuits.
- jet star:15 Just Edit Text: a fast and powerful tool for finding and replacing file content and names using regular expressions.
- release star:15 CLI for Keep-a-changelog formatted changelogs.
- rest-go star:15 A package that provide many helpful methods for working with rest api.
- blank star:14 Verify or remove blanks and whitespace from strings.
- silk star:14 Read silk netflow files.
- retry star:13 A pretty simple library to ensure your work to be done.
- bleep star:11 Perform any number of actions on any set of OS signals in Go.
- goctx star:11 Get your context value with high performance.
- loncha star:11 A high-performance slice Utilities.
- nfdump star:11 Read nfdump netflow files.
- retry star:11 A simple but highly configurable retry package for Go.
- statiks star:11 Fast, zero-configuration, static HTTP filer server.
- optional star:10 Optional struct fields and vars.
- sliceconv star:9 Slice conversion between primitive types.
- sqlz star:9 Extension for the database/sql package, adding named queries, struct scanning, and batch operations.
- go-events star:8 A go event and event'subscribe package, like wordpress hook functions.
- go-pkg star:8 A go toolkit.
- lets-go star:7 Go module that provides common utilities for Cloud Native REST API development. Also contains AWS Specific utilities.
- xpool star:6 Yet another golang type safe object pool using generics.
- lang star:5 Generic one-liners to work with variables, slices and maps without boilerplate code.
- olaf star:5 Twitter Snowflake implemented in Go.
- tik star:5 Simple and easy timing wheel package for Go.
- contem star:4 Drop-in context.Context replacement for graceful shutdown Go applications.
- go-actuator star:3 Production ready features for Go based web frameworks.
- retro star:3 Handy retry-on-error library with extensive flexibility (backoff strategies, caps, etc).
- abstract star:2 Abstractions and utilities to get rid of boilerplate code in business logic.
UUID
Libraries for working with UUIDs.
- uuid star:6052 Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
- ulid star:5031 Go implementation of ULID (Universally Unique Lexicographically Sortable Identifier).
- uniq No hassle safe, fast unique identifiers with commands.
- xid star:4274 Xid is a globally unique id generator library, ready to be safely used directly in your server code.
- uuid star:1801 Implementation of Universally Unique Identifier (UUID). Supports both creation and parsing of UUIDs. Actively maintained fork of satori uuid.
- wuid star:546 An extremely fast globally unique number generator.
- sno star:94 Compact, sortable and fast unique IDs with embedded metadata.
- guid star:74 Fast cryptographically safe Guid generator for Go (~10x faster than
uuid). - nanoid star:62 A tiny and efficient Go unique string ID generator.
- goid star:41 Generate and Parse RFC4122 compliant V4 UUIDs.
- gouid star:26 Generate cryptographically secure random string IDs with just one allocation.
- uuid star:18 Generate, encode, and decode UUIDs v1 with fast or cryptographic-quality random node identifier.
- uuidcheck star:6 A tiny, dependency-free Go library that validates UUIDs against standard RFC 4122 formatting, converts UUIDv7() into UTC timestamps.
- fastuuid star:1 Fast generate UUIDv4 as string or bytes.
Validation
Libraries for validation.
- govalidator star:6199 Validators and sanitizers for strings, numerics, slices and structs.
- govalidator star:1346 Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
- gody star:180 🎈 A lightweight struct validator for Go.
- checkdigit star:114 Provide check digit algorithms (Luhn, Verhoeff, Damm) and calculators (ISBN, EAN, JAN, UPC, etc.).
- govalid star:114 Fast, tag-based validation for structs.
- go-validator star:31 Validation library using Generics.
- hvalid hvalid is a lightweight validation library written in Go language. It provides a custom validator interface and a series of common validation functions to help developers quickly implement data validation.
- validator star:19910 Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving.
- ozzo-validation star:4093 Supports validation of various data types (structs, strings, maps, slices, etc.) with configurable and extensible validation rules specified in usual code constructs instead of struct tags.
- validate star:1128 Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features.
- jio star:126 jio is a json schema validator similar to joi.
- validate star:94 This package provides a framework for writing validations for Go applications.
- Validator star:7 A lightweight model validator written in Go.Contains VFs:Min, Max, MinLength, MaxLength, Length, Enum, Regex.
- valix Go package for validating requests
- Zog star:1176 A Zod inspired schema builder for runtime value parsing and validation.
⬆ back to top
Version Control
Libraries for version control.
- go-git star:7417 highly extensible Git implementation in pure Go.
- hercules star:2788 gaining advanced insights from Git repository history.
- git2go star:2006 Go bindings for libgit2.
- cli An open-source GitLab command line tool bringing GitLab's cool features to your command line.
- ggc star:277 A Git CLI tool with both traditional command-line and interactive incremental-search UI, workflow support, and configurable keybindings.
- githooks star:122 Per-repo and shared Git hooks with version control and auto update.
- go-vcs star:80 manipulate and inspect VCS repositories in Go.
- froggit-go star:53 Froggit-Go is a Go library, allowing to perform actions on VCS providers.
- gitty star:21 Single-binary Git/GitHub CLI that replaces add→commit→push with one command; human-readable syntax, no external dependencies.
- git-courer star:16 Local MCP server for Git operations using Ollama to save tokens and prevent secret leakage.
- hgo star:16 Hgo is a collection of Go packages providing read-access to local Mercurial repositories.
Video
Libraries for manipulating video.
- goav star:2138 Comprehensive Go bindings for FFmpeg.
- gmf star:931 Go bindings for FFmpeg av* libraries.
- gortsplib star:908 Pure Go RTSP server and client library.
- go-astiav star:705 Better C bindings for ffmpeg in GO.
- go-astisub star:694 Manipulate subtitles in GO (.srt, .stl, .ttml, .webvtt, .ssa/.ass, teletext, .smi, etc.).
- mp4ff star:626 Library and tools for working with MP4 files containing video, audio, subtitles, or metadata.
- go-astits star:611 Parse and demux MPEG Transport Streams (.ts) natively in GO.
- libvlc-go star:508 Go bindings for libvlc 2.X/3.X/4.X (used by the VLC media player).
- v4l star:89 Video capture library for Linux, written in Go.
- hls-m3u8 star:59 Parser and generator for HLS (M3U8) playlists; kept up to date with the spec.
- go-mpd star:32 Parser and generator library for MPEG-DASH manifest files.
- manifestor star:8 Zero-dependency library for parsing, filtering, transforming, and building HLS and DASH manifests.
Web Frameworks
Full stack web frameworks.
- Gin star:88405 Gin is a web framework written in Go! It features a martini-like API with much better performance, up to 40 times faster. If you need performance and good productivity.
- Fiber star:39655 An Express.js inspired web framework build on Fasthttp.
- Beego star:32408 beego is an open-source, high-performance web framework for the Go programming language.
- Confetti Framework Confetti is a Go web application framework with an expressive, elegant syntax. Confetti combines the elegance of Laravel and the simplicity of Go.
- Echo star:32354 High performance, minimalist Go web framework.
- GoFr star:21574 Gofr is an opinionated microservice development framework.
- Revel star:13231 High-productivity web framework for the Go language.
- GoFrame star:13126 GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
- golamb Golamb makes it easier to write API endpoints for use with AWS Lambda and API Gateway.
- Hertz star:7193 A high-performance and strong-extensibility Go HTTP framework that helps developers build microservices.
- Goa star:6077 Goa provides a holistic approach for developing remote APIs and microservices in Go.
- goravel star:4503 A Laravel-inspired web framework with ORM, authentication, queue, task scheduling, and more built-in features.
- Goyave star:1770 Feature-complete REST API framework aimed at clean code and fast development, with powerful built-in functionalities.
- Fuego star:1707 The framework for busy Go developers! Web framework generating OpenAPI 3 spec from source code.
- templui star:1555 Modern UI Components for Go & Templ.
- Atreugo star:1304 High performance and extensible micro web framework with zero memory allocations in hot paths.
- Yokai star:831 Simple, modular, and observable Go framework for backend applications.
- iWF star:636 iWF is an all-in-one platform for developing long-running business processes. It offers a convenient abstraction for utilizing databases, ElasticSearch, message queues, durable timers, and more, with a clean, simple, and user-friendly interface.
- Flamingo Commerce star:588 Providing e-commerce features using clean architecture like DDD and ports and adapters, that you can use to build flexible e-commerce applications.
- rk-boot star:575 A bootstrapper library for building enterprise go microservice with Gin and gRPC quickly and easily.
- Flamingo star:558 Framework for pluggable web projects. Including a concept for modules and offering features for DI, Configareas, i18n, template engines, graphql, observability, security, events, routing & reverse routing etc.
- Fastschema star:548 A flexible Go web framework and Headless CMS.
- uAdmin star:355 Fully featured web framework for Golang, inspired by Django.
- WebGo star:307 A micro-framework to build web apps with handler chaining, middleware, and context injection. With standard library-compliant HTTP handlers (i.e.,
http.HandlerFunc).. - Ginrpc star:302 Gin parameter automatic binding tool,gin rpc tools.
- hiboot star:179 hiboot is a high performance web application framework with auto configuration and dependency injection support.
- Huma Framework for modern REST/GraphQL APIs with built-in OpenAPI 3, generated documentation, and a CLI.
- Gone star:130 A lightweight dependency injection and web framework inspired by Spring.
- patron star:127 Patron is a microservice framework following best cloud practices with a focus on productivity.
- Pnutmux Pnutmux is a powerful Go web framework that uses regex for matching and handling HTTP requests. It offers features such as CORS handling, structured logging, URL parameters extraction, middlewares, and concurrency limiting.
- Microservice star:122 The framework for the creation of microservices, written in Golang.
- doors star:109 Server-driven framework for building stateful, reactive web applications entirely in Go.
- Barf star:105 Basically, A Remarkable Framework for building JSON-based web APIs. It is entirely unobtrusive and re-invents no wheel. It is crafted such that getting started is easy and quick while being flexible enough for more complex use cases.
- rux star:99 Simple and fast web framework for build golang HTTP applications.
- Xun star:91 Web framework built on Go's built-in html/template and net/http package’s router. It is designed to be lightweight, fast, and easy to use while providing a simple and intuitive API for building web applications with advanced features such as middleware, routing, and template rendering.
- Don star:58 A highly performant and simple to use API framework.
- Ronykit star:36 Web framework with pluggable architecture and very performant.
- go-api-boot star:35 A gRpc-first micro-service framework. Features include ODM support for Mongo, cloud resource support (AWS/Azure/Google), and a fluent dependency injection which is customized for gRpc. Additionally, grpc-web is supported directly, enabling browser access to all gRpc APIs without a proxy.
- Lit star:30 Highly performant declarative web framework for Golang, aiming for simplicity and quality of life.
- NotNet star:2 A lightweight Go framework for building fast, ergonomic RESTful APIs with middleware and flexible routing.
Middlewares
Actual middlewares
- CORS star:2880 Easily add CORS capabilities to your API.
- Tollbooth star:2859 Rate limit HTTP request handler.
- Limiter star:2334 Dead simple rate limit middleware for Go.
- go-fault star:553 Fault injection middleware for Go.
- ln-paywall star:154 Go middleware for monetizing APIs on a per-request basis with the Lightning Network (Bitcoin).
- XFF star:100 Handle
X-Forwarded-Forheader and friends. - rk-grpc star:81 Middleware for gRPC with logging, metrics, auth, tracing etc.
- rk-gin star:51 Middleware for Gin framework with logging, metrics, auth, tracing etc.
- formjson star:38 Transparently handle JSON input as a standard form POST.
- client-timing star:25 An HTTP client for Server-Timing header.
- echo-middleware star:16 Middleware for Echo framework with logging and metrics.
- mid star:10 Miscellaneous HTTP middleware features: idiomatic error return from handlers; receive/respond with JSON data; request tracing; and more.
Libraries for creating HTTP middlewares
- negroni star:7532 Idiomatic HTTP middleware for Golang.
- alice star:3349 Painless middleware chaining for Go.
- render star:1994 Go package for easily rendering JSON, XML, and HTML template responses.
- stats star:595 Go middleware that stores various information about your web application.
- interpose star:293 Minimalist net/http middleware for golang.
- renderer star:261 Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go.
- muxchain star:206 Lightweight middleware for net/http.
- gores star:106 Go package that handles HTML, JSON, XML and etc. responses. Useful for RESTful APIs.
- mediary star:88 add interceptors to
http.Clientto allow dumping/shaping/tracing/... of requests/responses. - chain star:61 Handler wrapper chaining with scoped data (net/context-based "middleware").
- catena star:9 http.Handler wrapper catenation (same API as "chain").
Routers
- chi star:22082 Small, fast and expressive HTTP router built on net/context.
- mux star:21845 Powerful URL router and dispatcher for golang.
- httprouter star:17113 High performance router. Use this and the standard http handlers to form a very high performance web framework.
- gocraft/web star:1524 Mux and middleware package in Go.
- Bone star:1285 Lightning Fast HTTP Multiplexer.
- Goji star:973 Goji is a minimalistic and flexible HTTP request multiplexer with support for
net/context. - fasthttprouter star:870 High performance router forked from
httprouter. The first router fit forfasthttp. - httptreemux star:622 High-speed, flexible tree-based HTTP router for Go. Inspiration from httprouter.
- xujiajun/gorouter star:526 A simple and fast HTTP router for Go.
- ozzo-routing star:455 An extremely fast Go (golang) HTTP router that supports regular expression route matching. Comes with full support for building RESTful APIs.
- lars star:384 Is a lightweight, fast and extensible zero allocation HTTP router for Go used to create customizable frameworks.
- Siesta star:348 Composable framework to write middleware and handlers.
- vestigo star:266 Performant, stand-alone, HTTP compliant URL Router for go web applications.
- gowww/router star:184 Lightning fast HTTP router fully compatible with the net/http.Handler interface.
- GoRouter star:154 GoRouter is a Server/API micro framework, HTTP request router, multiplexer, mux that provides request router with middleware supporting
net/context. - pure star:154 Is a lightweight HTTP router that sticks to the std "net/http" implementation.
- alien star:133 Lightweight and fast http router from outer space.
- violetear star:107 Go HTTP router.
- Bxog star:102 Simple and fast HTTP router for Go. It works with routes of varying difficulty, length and nesting. And he knows how to create a URL from the received parameters.
- xmux star:100 High performance muxer based on
httprouterwithnet/contextsupport. - goblin star:82 A golang http router based on trie tree.
- ngamux star:69 Simple HTTP router for Go.
- bellt star:55 A simple Go HTTP router.
- FastRouter star:25 a fast, flexible HTTP router written in Go.
- GoLobby/Router star:22 GoLobby Router is a lightweight yet powerful HTTP router for the Go programming language.
- nchi star:18 chi-like router built on httprouter with dependency injection based middleware wrappers
- Fox star:12 A high-performance HTTP router for building reverse proxies and API gateways, with first-class support for mutating routes at runtime.
- goroute star:9 Simple yet powerful HTTP request multiplexer.
- fursy star:3 HTTP router with type-safe generic handlers, automatic OpenAPI 3.1 generation from code, and RFC 9457 error responses.
WebAssembly
- tinygo star:17401 Go compiler for small places. Microcontrollers, WebAssembly, and command-line tools. Based on LLVM.
- dom star:504 DOM library.
- go-canvas star:270 Library to use HTML5 Canvas, with all drawing within go code.
- wasmbrowsertest star:207 Run Go WASM tests in your browser.
- webapi star:181 Bindings for DOM and HTML generated from WebIDL.
- Extism Go SDK star:171 Universal, cross-language WebAssembly framework for building plug-in systems and polyglot apps.
- vert star:108 Interop between Go and JS values.
Webhooks Server
- webhook star:11778 Tool which allows user to create HTTP endpoints (hooks) that execute commands on the server.
- WebhookX star:295 A webhooks gateway for message receiving, processing, and reliable delivering.
- webhooked star:43 A webhook receiver on steroids: handle, secure, format and store a Webhook payload has never been easier.
Windows
- go-ole star:1305 Win32 OLE implementation for golang.
- d3d9 star:163 Go bindings for Direct3D9.
- windowsupdate star:14 A Golang binding for Windows Update Agent API using go-ole.
- gosddl star:11 Converter from SDDL-string to user-friendly JSON. SDDL consist of four part: Owner, Primary Group, DACL, SACL.
Workflow Frameworks
Libraries for creating Workflows.
- Dagu star:3347 No-code workflow executor. it executes DAGs defined in a simple YAML format.
- go-taskflow star:625 A taskflow-like General-purpose Task-parallel Programming Framework with integrated visualizer and profiler.
- Cadence-client star:375 A framework for authoring workflows and activities running on top of the Cadence orchestration engine made by Uber.
- workflow star:231 A tech stack agnostic Event Driven Workflow framework.
- go-dag star:37 A framework developed in Go that manages the execution of workflows described by directed acyclic graphs.
XML
Libraries and tools for manipulating XML.
- zek star:824 Generate a Go struct from XML.
- xpath star:738 XPath package for Go.
- xmlquery star:486 xmlquery is Golang XPath package for XML query.
- xml2map star:65 XML to MAP converter written Golang.
- xmlwriter star:29 Procedural XML generation API based on libxml2's xmlwriter module.
- XML-Comp star:21 Simple command line XML comparer that generates diffs of folders, files and tags.
Zero Trust
Libraries and tools to implement Zero Trust architectures.
- Cosign star:5859 Container Signing, Verification and Storage in an OCI registry.
- OpenZiti star:4121 A full, open source zero trust overlay network. Including numerous SDKs for numerous languages such as golang allowing you to embed zero trust principles directly into your applications. The OpenZiti Test Kitchen has numerous examples to draw inspiration from including a zero trust ssh client - zssh
- Spire star:2330 SPIRE (the SPIFFE Runtime Environment) is a toolchain of APIs for establishing trust between software systems across a wide variety of hosting platforms.
- in-toto star:149 Go implementation of the in-toto (provides a framework to protect the integrity of the software supply chain) python reference implementation.
- Spiffe-Vault star:99 Utilizes Spiffe JWT authentication with Hashicorp Vault for secretless authentication.
Code Analysis
Source code analysis tools, also known as Static Application Security Testing (SAST) Tools.
- errcheck star:2481 Errcheck is a program for checking for unchecked errors in Go programs.
- go-critic star:2044 source code linter that brings checks that are currently not implemented in other linters.
- go-cleanarch star:978 go-cleanarch was created to validate Clean Architecture rules, like a The Dependency Rule and interaction between packages in your Go projects.
- goast-viewer star:792 Web based Golang AST visualizer.
- goimports Tool to fix (add, remove) your Go imports automatically.
- go-mod-outdated star:670 An easy way to find outdated dependencies of your Go projects.
- Chronos star:440 Detects race conditions statically
- dupl star:367 Tool for code clone detection.
- apicompat star:182 Checks recent changes to a Go project for backwards incompatible changes.
- go-checkstyle star:130 checkstyle is a style check tool like java checkstyle. This tool inspired by java checkstyle, golint. The style referred to some points in Go Code Review Comments.
- asty star:87 Converts golang AST to JSON and JSON to AST.
- blanket blanket is a tool that helps you catch functions which don't have direct unit tests in your Go packages.
- fatcontext star:74 Fatcontext detects nested contexts in loops or function literals.
- ChainJacking star:63 Find which of your Go lang direct GitHub dependencies is susceptible to ChainJacking attack.
- golang-ifood-sdk star:13 iFood API SDK.
- golangci-lint – A fast Go linters runner. It runs linters in parallel, uses caching, supports
yamlconfig, has integrations with all major IDE and has dozens of linters included. - GoPlantUML star:2087 Library and CLI that generates text plantump class diagram containing information about structures and interfaces with the relationship among them.
- golines star:1135 Formatter that automatically shortens long lines in Go code.
- php-parser star:958 A Parser for PHP written in Go.
- goreturns star:537 Adds zero-value return statements to match the func return types.
- gostatus star:245 Command line tool, shows the status of repositories that contain Go packages.
- lint star:66 Run linters as part of go test.
- gomarklint star:17 Markdown linter with built-in HTTP link validation, single binary, no Node.js required.
- revive – ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for
golint. - staticcheck staticcheck is
go veton steroids, applying a ton of static analysis checks you might be used to from tools like ReSharper for C#. - stto star:44 A light-weight superfast line of code counter written in pure Go.
- testifylint – A linter that checks usage of github.com/stretchr/testify.
- vacuum star:1045 An ultra-super-fast, lightweight OpenAPI linter and quality checking tool.
- todocheck star:436 Static code analyser which links TODO comments in code with issues in your issue tracker.
- unconvert star:387 Remove unnecessary type conversions from Go source.
- wrapcheck star:373 A linter to check that errors from external packages are wrapped.
- tickgit star:324 CLI and go package for surfacing code comment TODOs (in any language) and applying a
git blameto identify the author. - validate star:62 Automatically validates struct fields with tags.
- usestdlibvars star:47 A linter that detect the possibility to use variables/constants from the Go standard library.
Editor Plugins
Plugin for text editors and IDEs.
- vim-go star:16230 Go development plugin for Vim.
- gocode star:4998 Autocompletion daemon for the Go programming language.
- vscode-go star:4243 Extension for Visual Studio Code (VS Code) which provides support for the Go language.
- GoSublime star:3411 Golang plugin collection for the text editor SublimeText 3 providing code completion and other IDE-like features.
- go-mode star:1453 Go mode for GNU/Emacs.
- goimports-reviser star:715 Formatting tool for imports.
- goprofiling This extension adds benchmark profiling support for the Go language to VS Code.
- coc-go language server extension for Vim/Neovim star:572 This plugin adds gopls features to Vim/Neovim.
- Watch star:202 Runs a command in an acme win on file changes.
- vim-compiler-go star:91 Vim plugin to highlight syntax errors on save.
- gounit-vim star:25 Vim plugin for generating Go tests based on the function's or method's signature.
- Go Doc star:8 A Visual Studio Code extension for showing definition in output and generating go doc.
- Go plugin for JetBrains IDEs Go plugin for JetBrains IDEs.
Go Generate Tools
- gotests star:5299 Generate Go tests from your source code.
- xgen star:409 XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator.
- hasgo star:144 Generate Haskell inspired functions for your slices.
- gocontracts star:118 brings design-by-contract to Go by synchronizing the code with the documentation.
- gonerics star:112 Idiomatic Generics in Go.
- options-gen star:106 Functional options described by Dave Cheney's post "Functional options for friendly APIs".
- re2dfa Transform regular expressions into finite state machines and output Go source code.
- envdoc star:95 generate documentation for environment variables from Go source files.
- gounit star:87 Generate Go tests using your own templates.
- sqlgen star:85 Generate gorm, xorm, sqlx, bun, sql code from SQL file or DSN.
- TOML-to-Go Translates TOML into a Go type in the browser instantly.
- generic star:49 flexible data type for Go.
- godal star:19 Generate orm models corresponding to golang by specifying sql ddl file, which can be used by gorm.
Go Tools
- go-swagger star:9973 Swagger 2.0 implementation for go. Swagger is a simple yet powerful representation of your RESTful API.
- go-template-playground An interactive environment to create and test Go templates.
- go-callvis star:6473 Visualize call graph of your Go program using dot format.
- OctoLinker star:5354 Navigate through go files efficiently with the OctoLinker browser extension for GitHub.
- lensm star:3691 Go assembly and source viewer.
- go-size-analyzer star:2129 Analyze and visualize the size of dependencies in compiled Golang binaries, providing insight into their impact on the final build.
- richgo star:862 Enrich
go testoutputs with text decorations. - govisual star:680 Zero-config, pure-Go HTTP request visualizer & debugger for local Go web development.
- MoniGO star:411 A performance monitoring library for Go applications. It provides real-time insights into application performance! 🚀
- rts star:255 RTS: response to struct. Generates Go structs from server responses.
- roumon star:235 Monitor current state of all active goroutines via a command line interface.
- godbg star:207 Implementation of Rusts
dbg!macro for quick and easy debugging during development. - gomodrun Go tool that executes and caches binaries included in go.mod files.
- gotemplate.io Online tool to preview
text/templatetemplates live. - typex star:207 Examine Go types and their transitive dependencies, alternatively export results as TypeScript value objects (or types) declaration.
- gotestdox star:195 Show Go test results as readable sentences.
- gothanks star:128 GoThanks automatically stars your go.mod github dependencies, sending this way some love to their maintainers.
- gotutor star:75 Online Go Debugger & Visualizer.
- igo star:73 An igo to go transpiler (new language features for Go language!)
- docs star:50 Automatically generate RESTful API documentation for GO projects - aligned with Open API Specification standard.
- decouple star:36 Find “overspecified” function parameters that could be generalized with interface types.
- modver star:21 Compare two versions of a Go module to check the version-number change required (major, minor, or patchlevel), according to semver rules.
- textra star:7 Extract Go struct field names, types and tags for filtering and exporting.
Software Packages
Software written in Go.
DevOps Tools
- kubernetes star:121996 Container Cluster Manager from Google.
- Moby star:71515 Collaborative project for the container ecosystem to assemble container-based systems.
- traefik star:62924 Reverse proxy and load balancer with support for multiple backends.
- Gitea star:55225 Fork of Gogs, entirely community driven.
- gitea-github-migrator Migrate all your GitHub repositories, issues, milestones and labels to your Gitea instance.
- k9s star:33522 Kubernetes CLI to manage your clusters in style.
- k3s star:32887 Lightweight Kubernetes.
- minikube star:31752 Run Kubernetes locally.
- k6 star:30467 A modern load testing tool, using Go and JavaScript.
- colima star:28565 Container runtimes on macOS (and Linux) with minimal setup.
- Vegeta star:25020 HTTP load testing tool and library. It's over 9000!
- Hey star:19964 Hey is a tiny program that sends some load to a web application.
- chaosmonkey star:16851 A resiliency tool that helps applications tolerate random instance failures.
- Packer star:15659 Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
- kind star:15204 Kubernetes IN Docker - local clusters for testing Kubernetes.
- kubeshark star:11885 API traffic analyzer for Kubernetes, inspired by Wireshark, purposely built for Kubernetes.
- GVM star:11596 GVM provides an interface to manage Go versions.
- Flannel star:9446 Flannel is a network fabric for containers, designed for Kubernetes.
- Ddosify star:8537 High-performance load testing tool, written in Golang.
- ko star:8417 Command line tool for building and deploying Go applications on Kubernetes
- KubeVela star:7745 Cloud native application delivery.
- script star:6964 Making it easy to write shell-like scripts in Go for DevOps and system administration tasks.
- bombardier star:6775 Fast cross-platform HTTP benchmarking tool.
- k3d star:6402 Little helper to run CNCF's k3s in Docker.
- Fleet device management star:6298 Lightweight, programmable telemetry for servers and workstations.
- k0s star:6002 Zero Friction Kubernetes distribution.
- podinfo star:5894 Podinfo is a tiny web application made with Go that showcases best practices of running microservices in Kubernetes. Podinfo is used by CNCF projects like Flux and Flagger for end-to-end testing and workshops.
- gaia star:5222 Build powerful pipelines in any programming language.
- tau star:5008 Easily build Cloud Computing Platforms with features like Serverless WebAssembly Functions, Frontend Hosting, CI/CD, Object Storage, K/V Database, and Pub-Sub Messaging.
- Pomerium star:4761 Pomerium is an identity-aware access proxy.
- kubefwd star:4093 Bulk Kubernetes port forwarding with unique IPs per service for local development.
- s5cmd star:4023 Blazing fast S3 and local filesystem execution tool.
- docker-volume-backup star:3528 Backup Docker volumes locally or to any S3, WebDAV, Azure Blob Storage, Dropbox or SSH compatible storage.
- kubeblocks star:3021 KubeBlocks is an open-source control plane that runs and manages databases, message queues and other data infrastructure on K8s.
- aptly star:2813 aptly is a Debian repository management tool.
- kala star:2160 Simplistic, modern, and performant job scheduler.
- ghorg star:2025 Quickly clone an entire org/users repositories into one directory - Supports GitHub, GitLab, Gitea, and Bitbucket.
- fac star:1858 Command-line user interface to fix git merge conflicts.
- go-selfupdate star:1687 Enable your Go applications to self update.
- StatusOK star:1640 Monitor your Website and REST APIs.Get Notified through Slack, E-mail when your server is down or response time is more than expected.
- tlm star:1479 Local cli copilot, powered by CodeLLaMa
- uTask star:1375 Automation engine that models and executes business processes declared in yaml.
- KubeVPN star:1309 KubeVPN offers a Cloud-Native Dev Environment that seamlessly connects to your Kubernetes cluster network.
- KusionStack star:1293 A unified programmable configuration techstack to deliver modern app in 'platform as code' and 'infra as code' approach.
- PipeCD star:1275 A GitOps-style continuous delivery platform that provides consistent deployment and operations experience for any applications.
- s3gof3r star:1143 Small utility/library optimized for high speed transfer of large objects into and out of Amazon S3.
- podman-tui star:1115 Terminal UI for Podman management.
- skm star:1009 SKM is a simple and powerful SSH Keys Manager, it helps you to manage your multiple SSH keys easily!
- kwatch star:1003 Monitor & detect crashes in your Kubernetes(K8s) cluster instantly.
- Scaleway-cli star:969 Manage BareMetal Servers from Command Line (as easily as with Docker).
- cassowary star:810 Modern cross-platform HTTP load-testing tool written in Go.
- alaz star:718 Effortless, Low-Overhead, eBPF-based Kubernetes Monitoring.
- kool star:716 Command line tool for managing Docker environments as an easy way.
- aurora star:598 Cross-platform web-based Beanstalkd queue server console.
- govvv star:540 “go build” wrapper to easily add version information into Go binaries.
- s3-proxy star:457 S3 Proxy with GET, PUT and DELETE methods and authentication (OpenID Connect and Basic Auth).
- Pewpew star:453 Flexible HTTP command line stress tester.
- aws-doctor star:419 Diagnose AWS costs, detect idle resources, and optimize cloud spending directly from your terminal 🩺 ☁️.
- gobrew star:419 Go version manager. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash.
- jcli star:417 Jenkins CLI allows you manage your Jenkins as an easy way.
- easyssh-proxy star:346 Golang package for easy remote execution through SSH and SCP downloading via
ProxyCommand. - lstags star:343 Tool and API to sync Docker images across different registries.
- gonative star:339 Tool which creates a build of Go that can cross compile to all platforms while still using the Cgo-enabled versions of the stdlib packages.
- trubka star:337 A CLI tool to manage and troubleshoot Apache Kafka clusters with the ability of generically publishing/consuming protocol buffer and plain text events to/from Kafka.
- Mora star:314 REST server for accessing MongoDB documents and meta data.
- Balerter star:309 A self-hosted script-based alerting manager.
- manssh star:309 manssh is a command line tool for managing your ssh alias config easily.
- terraform-provider-openapi star:283 Terraform provider plugin that dynamically configures itself at runtime based on an OpenAPI document (formerly known as swagger file) containing the definitions of the APIs exposed.
- dish star:275 A lightweight, remotely configurable monitoring service.
- Docker Open platform for distributed applications for developers and sysadmins.
- dogo star:274 Monitoring changes in the source file and automatically compile and run (restart).
- abbreviate star:224 abbreviate is a tool turning long strings in to shorter ones with configurable separators, for example to embed branch names in to deployment stack IDs.
- godbg star:224 Web-based gdb front-end application.
- Gogs A Self Hosted Git Service in the Go Programming Language.
- kcli star:222 Command line tool for inspecting kafka topics/partitions/messages.
- Blast star:220 A simple tool for API load testing and batch jobs.
- gobrew star:191 gobrew lets you easily switch between multiple versions of go.
- Dockerfile-Generator star:186 A go library and an executable that produces valid Dockerfiles using various input channels.
- ostent star:178 collects and displays system metrics and optionally relays to Graphite and/or InfluxDB.
- goma-gateway star:177 A Lightweight API Gateway and Reverse Proxy with declarative config, robust middleware, and support for REST, GraphQL, TCP, UDP, and gRPC.
- sigma star:176 OCI-native container image registry, support OCI-native artifact, scan artifact, image build etc.
- winrm-cli star:172 Cli tool to remotely execute commands on Windows machines.
- grapes star:169 Lightweight tool designed to distribute commands over ssh with ease.
- drone-scp star:167 Copy files and artifacts via SSH using a binary, docker or Drone CI.
- tf-profile star:164 Profiler for Terraform runs. Generate global stats, resource-level stats or visualizations.
- decompose star:132 tool to generate and process Docker containers connections graphs.
- go-rocket-update star:127 A simple way to make self updating Go applications - Supports Github and Gitlab.
- Mantil star:114 Go specific framework for building serverless applications on AWS that enables you to focus on pure Go code while Mantil takes care of the infrastructure.
- go-furnace star:99 Hosting solution written in Go. Deploy your Application with ease on AWS, GCP or DigitalOcean.
- Dropship star:66 Tool for deploying code via cdn.
- docker-go-mingw star:53 Docker image for building Go binaries for Windows with MinGW toolchain.
- httpref star:45 httpref is a handy CLI reference for HTTP methods, status codes, headers, and TCP and UDP ports.
- drone-jenkins star:41 Trigger downstream Jenkins jobs using a binary, docker or Drone CI.
- awsenv star:35 Small binary that loads Amazon (AWS) environment variables for a profile.
- Rodent star:33 Rodent helps you manage Go versions, projects and track dependencies.
- lwc star:32 A live-updating version of the UNIX wc command.
- DepCharge star:23 Helps orchestrating the execution of commands across the many dependencies in larger projects.
- wait-for star:17 Wait for something to happen (from the command line) before continuing. Easy orchestration of Docker services and other things.
- Wide Web-based IDE for Teams using Golang.
- kepfi star:11 A smart alternative to rm with a recovery bin and storage tracking.
- sg star:8 Benchmarks a set of HTTP endpoints (like ab), with possibility to use the response code and data between each call for specific server stress based on its previous response.
- Den star:6 Self-hosted sandbox runtime for AI agents. Open-source E2B alternative.
- pingtower star:5 Lightweight self-hosted uptime monitor for websites and APIs.
Other Software
- croc star:34784 Easily and securely send files or folders from one computer to another.
- restic star:33333 De-duplicating backup program.
- Gor star:19291 Http traffic replication tool, for replaying traffic from production to stage/dev environments in real-time.
- JuiceFS star:13507 Distributed POSIX file system built on top of Redis and AWS S3.
- Juju Cloud-agnostic service deployment and orchestration - supports EC2, Azure, Openstack, MAAS and more.
- Layli Draw pretty layout diagrams as code.
- toxiproxy star:11994 Proxy to simulate network and system conditions for automated tests.
- tsuru Extensible and open source Platform as a Service software.
- Comcast star:10507 Simulate bad network connections.
- confd star:8418 Manage local application configuration files using templates and data from etcd or consul.
- scc star:8338 Sloc Cloc and Code, a very fast accurate code counter with complexity calculations and COCOMO estimates.
- LiteIDE star:7753 LiteIDE is a simple, open source, cross-platform Go IDE.
- drive star:6741 Google Drive client for the commandline.
- blocky star:6574 Fast and lightweight DNS proxy as ad-blocker for local network with many features.
- Backrest star:6161 Web-based UI and orchestrator for restic backup.
- Better Go Playground Go playground with syntax highlight, code completion and other features.
- Duplicacy star:5651 A cross-platform network and cloud backup tool based on the idea of lock-free deduplication.
- nes star:5645 Nintendo Entertainment System (NES) emulator written in Go.
- myLG star:2715 Command Line Network Diagnostic tool written in Go.
- Gokapi star:2705 Lightweight server to share files, which expire after a set amount of downloads or days. Similar to Firefox Send, but without public upload.
- GoLand Full featured cross-platform Go IDE.
- GoBoy star:2638 Nintendo Game Boy Color emulator written in Go.
- Stack Up star:2517 Stack Up, a super simple deployment tool - just Unix - think of it like 'make' for a network of servers.
- lgo star:2459 Interactive Go programming with Jupyter. It supports code completion, code inspection and 100% Go compatibility.
- limetext Lime Text is a powerful and elegant text editor primarily developed in Go that aims to be a Free and open-source software successor to Sublime Text.
- Documize star:2385 Modern wiki software that integrates data from SaaS tools.
- sonic star:2119 Sonic is a Go Blogging Platform. Simple and Powerful.
- Circuit star:1979 Circuit is a programmable platform-as-a-service (PaaS) and/or Infrastructure-as-a-Service (IaaS), for management, discovery, synchronization and orchestration of services and hosts comprising cloud applications.
- Plik star:1751 Plik is a temporary file upload system (Wetransfer like) in Go.
- portal star:1749 Portal is a quick and easy command-line file transfer utility from any computer to another.
- borg star:1610 Terminal based search engine for bash snippets.
- shell2http star:1485 Executing shell commands via http server (for prototyping or remote control).
- bluetuith star:1340 TUI Bluetooth manager for Linux.
- vFlow star:1155 High-performance, scalable and reliable IPFIX, sFlow and Netflow collector.
- Wave Terminal Wave is an open-source, AI-native terminal built for seamless developer workflows with inline rendering, a modern UI, and persistent sessions.
- peg star:1111 Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator.
- GoNB star:1018 Interactive Go programming with Jupyter Notebooks (also works in VSCode, Binder and Google's Colab).
- Go Package Store star:897 App that displays updates for the Go packages in your GOPATH.
- yai star:868 AI powered terminal assistant.
- zs an extremely minimal static site generator.
- gfile star:760 Securely transfer files between two computers, without any third party, over WebRTC.
- Leaps star:755 Pair programming service using Operational Transforms.
- sake star:743 sake is a command runner for local and remote hosts.
- Chapar star:701 Chapar is a a cross-platform Postman alternative built with go, aims to help developers to test their api endpoints. it support http and grpc protocols.
- Guora star:674 A self-hosted Quora like web application written in Go.
- gocc star:659 Gocc is a compiler kit for Go written in Go.
- Gebug star:634 A tool that makes debugging of Dockerized Go applications super easy by enabling Debugger and Hot-Reload features, seamlessly.
- onWatch star:597 Monitor AI API quotas across providers locally with historical tracking, alerts, and a web dashboard to avoid surprise throttling and budget overruns.
- mockingjay star:569 Fake HTTP servers and consumer driven contracts from one configuration file. You can also make the server randomly misbehave to help do more realistic performance tests.
- woke star:513 Detect non-inclusive language in your source code.
- go-peerflix star:476 Video streaming torrent client.
- goblin Cloud builder for CLI's written in go lang
- hotswap star:427 A complete solution to reload your go code without restarting your server, interrupting or blocking any ongoing procedure.
- hugo Fast and Modern Static Website Engine.
- ide star:365 Browser accessible IDE. Designed for Go with Go.
- stew star:344 An independent package manager for compiled binaries.
- syncthing Open, decentralized file synchronization tool and protocol.
- Neo-cowsay star:343 🐮 cowsay is reborn. for a New Era.
- crawley star:337 Web scraper/crawler for cli.
- wellington star:304 Sass project management tool, extends the language with sprite functions (like Compass).
- Cherry star:298 Tiny webchat server in Go.
- fjira star:265 A fuzzy-search based terminal UI application for Attlasian Jira
- tcpdog star:261 eBPF based TCP observability.
- joincap star:221 Command-line utility for merging multiple pcap files together.
- Orbit star:187 A simple tool for running commands and generating files from templates.
- vaku star:159 CLI & API for folder-based functions in Vault like copy, move, and search.
- boxed star:78 Dropbox based blog engine.
- dp star:78 Through SDK for data exchange with blockchain, developers can get easy access to DAPP development.
- CrunchyCleaner star:24 A lightweight, software cache cleanup tool for Windows & Linux.
- Seaweed File System star:24 Fast, Simple and Scalable Distributed File System with O(1) disk seek.
- naclpipe star:23 Simple NaCL EC25519 based crypto pipe tool written in Go.
- tinycare-tui star:19 Small terminal app that shows git commits from the last 24 hours and week, current weather, some self care advice, a joke, and you current todo list tasks.
- Snitch star:16 Simple way to notify your team and many tools when someone has deployed any application via Tsuru.
- GoDocTooltip star:13 Chrome extension for Go Doc sites, which shows function description as tooltip at function list.
- hoofli star:11 Generate PlantUML diagrams from Chrome or Firefox network inspections.
Resources
Where to discover new Go libraries.
Benchmarks
- go-web-framework-benchmark star:2139 Go web framework benchmark.
- go-http-routing-benchmark star:1661 Go HTTP request router benchmark and comparison.
- go_serialization_benchmarks star:1626 Benchmarks of Go serialization methods.
- skynet star:1061 Skynet 1M threads microbenchmark.
- speedtest-resize star:246 Compare various Image resize algorithms for the Go language.
- go-benchmarks star:149 Few miscellaneous Go microbenchmarks. Compare some language features to alternative approaches.
- golang-benchmarks star:145 a collection of golang benchmarks.
- golang-sql-benchmark Collection of benchmarks for popular Go database/SQL utilities.
- gospeed star:128 Go micro-benchmarks for calculating the speed of language constructs.
- autobench star:100 Framework to compare the performance between different Go versions.
- vizb star:69 A CLI tool to visualize Go benchmark data in 4D.
- gocostmodel star:62 Benchmarks of common basic operations for the Go language.
- go-ml-benchmarks star:32 benchmarks for machine learning inference in Go.
- go-benchmark-app star:26 Powerful HTTP-benchmark tool mixed with Аb, Wrk, Siege tools. Gathering statistics and various parameters for benchmarks and comparison results.
- kvbench star:26 Key/Value database benchmark.
- go-json-benchmark star:11 Go JSON benchmark.
Conferences
- GoCon Tokyo, Japan.
- GoDays Berlin, Germany.
- GoLab Florence, Italy.
- GopherCon Varied Locations Each Year, USA.
- GopherCon Africa Nairobi, Kenya.
- GopherCon Australia Sydney, Australia.
- GopherCon Brazil Florianópolis, Brazil.
- GopherCon China Shanghai, China.
- GopherCon Europe Berlin, Germany.
- GopherCon India Pune, India.
- GopherCon Israel Tel Aviv, Israel.
- GopherCon Russia Moscow, Russia.
- GopherCon Singapore Mapletree Business City, Singapore.
- GopherCon UK London, UK.
- GopherCon Vietnam Ho Chi Minh City, Vietnam.
- GoWest Conference Lehi, USA.
E-Books
E-books for purchase
- 100 Go Mistakes: How to Avoid Them
- Black Hat Go Go programming for hackers and pentesters.
- Build an Orchestrator in Go
- Continuous Delivery in Go This practical guide to continuous delivery shows you how to rapidly establish an automated pipeline that will improve your testing, code quality, and final product.
- Creative DIY Microcontroller Project With TinyGo and WebAssembly An introduction into the TinyGo compiler with projects involving Arduino and WebAssembly.
- Effective Go: Elegant, efficient, and testable code Unlock Go’s unique perspective on program design, and start writing simple, maintainable, and testable Go code.
- For the Love of Go An introductory book for Go beginners.
- Go in Practice, Second Edition Your practical guide on the ins-and-outs of Go development, covering the standard library and the most important tools from Go’s powerful ecosystem.
- Know Go: Generics A guide to understanding and using generics in Go.
- Lets-Go A step-by-step guide to creating fast, secure and maintanable web applications with Go.
- Lets-Go-Further Advanced patterns for building APIs and web applications in Go.
- The Power of Go: Tests A guide to testing in Go.
- The Power of Go: Tools A guide to writing command-line tools in Go.
- Writing A Compiler In Go
- Writing An Interpreter In Go Book that introduces dozens of techniques for writing idiomatic, expressive, and efficient Go code that avoids common pitfalls.
Free e-books
- A Go Developer's Notebook
- An Introduction to Programming in Go
- Build a blockchain from scratch in Go with gRPC star:535 The foundational and practical guide for effectively learning and progressively building a blockchain from scratch in Go with gRPC.
- Build Web Application with Golang
- Building Web Apps With Go
- GoBooks star:19377 A curated list of Go books.
- How To Code in Go eBook A 600 page introduction to Go aimed at first time developers.
- Go AST Book (Chinese) star:5511 A book focusing on Go
go/*packages. - Go Faster This book seeks to shorten your learning curve and help you become a proficient Go programmer, faster.
- Go 101 A book focusing on Go syntax/semantics and all kinds of details.
- Go Succinctly star:23 in Persian.
- Go with the domain A book showing how to apply DDD, Clean Architecture, and CQRS by practical refactoring.
- Learning Go
- Network Programming With Go
- Practical Go Lessons
- Spaceship Go A Journey to the Standard Library
- The Go Programming Language
- The Golang Standard Library by Example (Chinese)
- The Little Go Book
- Web Application with Go the Anti-Textbook
Gophers
- Free Gophers Pack star:3934 Gopher graphics pack by Maria Letta with illustrations and emotional characters in vector and raster.
- gopher-logos star:140 adorable gopher logos.
- Go-gopher-Vector star:75 Go gopher Vector Data [.ai, .svg].
- gopher-stickers
- gophericons
- gophers star:3795 Free gophers.
- gophers star:3069 Gopher artworks by Ashley McNamara.
- gopherize.me star:754 Gopherize yourself.
- gophers star:162 Gopher amigurumi toy pattern.
- gophers star:58 random gopher graphics.
- gophers star:36 Gophers by Aurélie Vache.
Meetups
- Basel Go Meetup
- Belfast Gophers
- Belgrade Golang Meetup
- Berlin Golang
- Brisbane Gophers
- Bärner Go Meetup - Berne, Switzerland
- Go Ireland - Dublin
- Go Language NYC
- Go London User Group
- Go Remote Meetup
- Go Toronto
- Go User Group Atlanta
- GoBandung
- GoBridge, San Francisco, CA
- GoCracow - Krakow, Poland
- GoJakarta
- Golang Amsterdam
- Golang Argentina
- Golang Athens
- Golang Baltimore, MD
- Golang Bangalore
- Golang Belo Horizonte - Brazil
- Golang Boston
- Golang Bulgaria
- Golang Cardiff, UK
- Golang Copenhagen
- Golang Curitiba - Brazil
- Golang DC, Arlington, VA
- Golang Dorset, UK
- Golang Estonia
- Golang Gurgaon, India
- Golang Hamburg - Germany
- Golang Israel
- Golang Kathmandu
- Golang Lima - Peru
- Golang Lyon
- Golang Marseille
- Golang Melbourne
- Golang Milano
- Golang North East
- Golang Paris
- Golang Poland
- Golang Pune
- Golang Roma
- Golang Rotterdam
- Golang Singapore
- Golang Stockholm
- Golang Sydney, AU
- Golang São Paulo - Brazil
- Golang Taipei
- Golang Thessaloniki
- Golang Torino
- Golang Turkey
- Golang Vancouver, BC
- Golang Vienna, Austria
- Golang Москва
- GoSF - San Francisco, CA
- Istanbul Golang
- Lagos Gophers
- Nairobi Gophers
- Seattle Go Programmers
- Ukrainian Golang User Groups
- Utah Go User Group
- Women Who Go - San Francisco, CA
- Zürich Gophers - Zurich, Switzerland
Add the group of your city/country here (send PR)
Style Guides
Social Media
Websites
- Awesome Remote Job star:45481 Curated list of awesome remote jobs. A lot of them are looking for Go hackers.
- awesome-awesomeness star:33394 List of other amazingly awesome lists.
- Awesome Golang Workshops star:523 A curated list of awesome golang workshops.
- gocryforhelp star:39 Collection of Go projects that needs help. Good place to start your open-source way in Go.
- Golang Developer Jobs Developer Jobs exclusively for Golang related Roles.
- Golang News Links and news about Go programming.
- Golang Nugget A weekly roundup of the best Go content, delivered to your inbox every Monday.
- Golang Weekly Each monday projects, tutorials and articles about Go.
- golang-nuts Go mailing list.
- Gopher Community Chat Join Our New Slack Community For Gophers (Understand how it came).
- Gophercises Free coding exercises for budding gophers.
- json2go Advanced JSON to Go struct conversion - online tool.
- justforfunc Youtube channel dedicated to Go programming language tips and tricks, hosted by Francesc Campoy @francesc.
- Learn Go Programming Learn Go concepts with illustrations.
- Awesome Go @LibHunt Your go-to Go Toolbox.
- awesome-go-extra star:27 Parse awesome-go README file and generate a new README file with repo info.
- Code with Mukesh Software Engineer and Blogs @ codewithmukesh.com.
- Coding Mystery Solve exciting escape-room-inspired programming challenges using Go.
- CodinGame Learn Go by solving interactive tasks using small games as practical examples.
- Go Blog The official Go blog.
- Go Code Club A group of Gophers read and discuss a different Go project every week.
- Go Community on Hashnode Community of Gophers on Hashnode.
- Go Forum Forum to discuss Go.
- Go Projects List of projects on the Go community wiki.
- Go Proverbs Go Proverbs by Rob Pike.
- Go Report Card A report card for your Go package.
- go.dev A hub for Go developers.
- Libs.tech – Awesome Go libraries and hidden gems
- Made with Golang
- pkg.go.dev Documentation for open source Go packages.
- studygolang The community of studygolang in China.
- Trending Go repositories on GitHub today Good place to find new Go libraries.
- TutorialEdge - Golang
Tutorials
- Build web application with Golang star:43983 Golang ebook intro how to build a web app with golang.
- Building and Testing a REST API in Go with Gorilla Mux and PostgreSQL We’ll write an API with the help of the powerful Gorilla Mux.
- Building Go Web Applications and Microservices Using Gin Get familiar with Gin and find out how it can help you reduce boilerplate code and build a request handling pipeline.
- Caching Slow Database Queries How to cache slow database queries.
- Canceling MySQL How to cancel MySQL queries.
- CodeCrafters Golang Track Achieve mastery in advanced Go by building your own Redis, Docker, Git, and SQLite. Featuring goroutines, systems programming, file I/O, and more.
- Go Cheat Sheet star:8798 Go's reference card.
- Go database/sql tutorial Introduction to database/sql.
- Go in 7 days star:162 Learn everything about Go in 7 days (from a Nodejs developer).
- Go Language Tutorial Learn Go language Tutorial.
- Go Tutorial Learn Go programming.
- Design Patterns in Go star:131 Collection of programming design patterns implemented in Go.
- Games With Go A video series teaching programming and game development.
- Go By Example Hands-on introduction to Go using annotated example programs.
- 50 Shades of Go Traps, Gotchas, and Common Mistakes for New Golang Devs.
- A Comprehensive Guide to Structured Logging in Go Delve deep into the world of structured logging in Go with a specific focus on recently accepted slog proposal which aims to bring high performance structured logging with levels to the standard library.
- A Guide to Golang E-Commerce Building a Golang site for e-commerce (demo included).
- A Tour of Go Interactive tour of Go.
- Build a Database in 1000 lines of code Build a NoSQL Database From Zero in 1000 Lines of Code.
- Go WebAssembly Tutorial - Building a Simple Calculator
- go-patterns star:27921 Curated list of Go design patterns, recipes and idioms.
- Learn Go with TDD star:23617 Learn Go with test-driven development.
- Learning Go by examples Series of articles in order to learn Golang language by concrete applications as example.
- Microservices with Go Dive deep into building microservices using Go, including gRPC.
- package main YouTube channel about Programming in Go.
- Programming with Google Go Coursera Specialization to learn about Go from scratch.
- Scaling Go Applications Everything about building, deploying and scaling Go applications in production.
- Learn Go with 1000+ Exercises star:19955 Learn Go with thousands of examples, exercises, and quizzes.
- go-clean-template star:7556 Clean Architecture template for Golang services.
- Golang for Node.js Developers star:4770 Examples of Golang compared to Node.js for learning.
- Golang Tutorial Guide A List of Free Courses to Learn the Go Programming Language.
- golang-examples star:1683 Many examples to learn Golang.
- Golangbot Tutorials to get started with programming in Go.
- GopherCoding Collection of code snippets and tutorials to help tackle every day issues.
- GopherSnippets Code snippets with tests and testable examples for the Go programming language.
- Gosamples Collection of code snippets that let you solve everyday code problems.
- GraphQL with Go Learn how to create a Go GraphQL server and client with code generation. Also includes creating REST endpoints.
- Hackr.io Learn Go from the best online golang tutorials submitted & voted by the golang programming community.
- Hex Monscape star:83 Getting started guidelines in writing maintainable code using Hexagonal Architecture.
- How to Benchmark: dbq vs sqlx vs GORM Learn how to benchmark in Go. As a case-study, we will benchmark dbq, sqlx and GORM.
- How To Deploy a Go Web Application with Docker Learn how to use Docker for Go development and how to build production Docker images.
- How to Implement Role-Based Access Control (RBAC) Authorization in Golang A guide to implementing Role-Based Access Control (RBAC) in Golang, including code examples, covering various methods to secure app endpoints with role-based authorization.
- How to Use Godog for Behavior-driven Development in Go Get started with Godog - a Behavior-driven development framework for building and testing Go applications.
- The world’s easiest introduction to WebAssembly with Golang
- Understanding Go in a visual way Learn Go visually
- W3basic Go Tutorials W3Basic provides an in-depth tutorial and well-organized content to learn Golang programming.
- Your basic Go Huge collection of tutorials and how to's.
Guided Learning
- The Go Developer Roadmap A visual roadmap that new Go developers can follow through to help them learn Go.
- The Go Interview Practice star:2022 A GitHub repository offering coding challenges for Go technical interview preparation.
- The Go Learning Path A guided learning path containing a mix of free and premium resources.
- The Go Skill Tree A structured learning path that combines both free and premium resources.
Contribution
We welcome contributions! Please refer to our CONTRIBUTING.md for guidelines.
License
This project is licensed under the MIT License - see the LICENSE file for details.