awesome-go – avelino
精心整理的优质 Go 框架、库及软件列表
关键指标一览
主题标签
README 详细介绍
Awesome Go






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
- Advanced Console UIs
- Standard CLI
- Configuration
- Continuous Integration
- CSS Preprocessors
- Data Integration Frameworks
- Data Structures and Algorithms
- Bit-packing and Compression
- Bit Sets
- Bloom and Cuckoo Filters
- Data Structure and Algorithm Collections
- Iterators
- Maps
- Miscellaneous Data Structures and Algorithms
- Nullable Types
- Queues
- Sets
- Text Analysis
- Trees
- Pipes
- Database
- Caches
- Databases Implemented in Go
- Database Schema Migration
- Database Tools
- SQL Query Builders
- Database Drivers
- Interfaces to Multiple Backends
- Relational Database Drivers
- NoSQL Database Drivers
- Search and Analytic Databases
- 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
- Microsoft Excel
- Microsoft Word
- Miscellaneous
- Dependency Injection
- Project Layout
- Strings
- Uncategorized
- Natural Language Processing
- Language Detection
- Morphological Analyzers
- Slugifiers
- Tokenizers
- Translation
- Transliteration
- Networking
- HTTP Clients
- OpenGL
- ORM
- Package Management
- Performance
- Query Language
- Reflection
- Resource Embedding
- Science and Data Analysis
- Security
- Serialization
- Server Applications
- Stream Processing
- Template Engines
- Testing
- Testing Frameworks
- Mock
- Fuzzing and delta-debugging/reducing/shrinking
- Selenium and browser control tools
- Fail injection
- Text Processing
- Formatters
- Markup Languages
- Parsers/Encoders/Decoders
- Regular Expressions
- Sanitation
- Scrapers
- RSS
- Utility/Miscellaneous
- Third-party APIs
- Utilities
- UUID
- Validation
- Version Control
- Video
- Web Frameworks
- Middlewares
- Actual middlewares
- Libraries for creating HTTP middlewares
- Routers
- WebAssembly
- Webhooks Server
- Windows
- Workflow Frameworks
- XML
- Zero Trust
- Code Analysis
- Editor Plugins
- Go Generate Tools
- Go Tools
- Software Packages
- DevOps Tools
- Other Software
- Resources
- Benchmarks
- Conferences
- E-Books
- E-books for purchase
- Free e-books
- Gophers
- Meetups
- Style Guides
- Social Media
- Websites
- Tutorials
- Guided Learning
- Contribution
- License
Actor Model
_Libraries for building actor-based programs._
- asyncmachine-go/pkg/machine - Graph control flow library (AOP, actor, state-machine).
- Ergo - An actor-based Framework with network transparency for creating event-driven architecture in Golang. Inspired by Erlang.
- Goakt - Fast and Distributed Actor framework using protocol buffers as message for Golang.
- Hollywood - Blazingly fast and light-weight Actor engine written in Golang.
- ProtoActor - Distributed actors for Go, C#, and Java/Kotlin.
Artificial Intelligence
_Libraries for building programs that leverage AI._
- AegisFlow - AI gateway for routing, securing, and monitoring LLM traffic across 10+ providers. OpenAI-compatible API, WASM policy plugins, canary rollouts, real-time dashboard.
- Aetheris - AI Agent execution runtime with event sourcing, checkpoint recovery, and At-Most-Once execution guarantee. Written in Go.
- agent-sdk-go - Go SDK for building durable AI agents on Temporal with support for tools, MCP, human approvals, and sub-agent delegation.
- ai - A Go toolkit for building AI agents and applications across multiple providers with unified LLM, embeddings, tool calling, and MCP integration.
- chromem-go - Embeddable vector database for Go with Chroma-like interface and zero third-party dependencies. In-memory with optional persistence.
- dakera-go - Official Go client SDK for the Dakera self-hosted agent memory server, providing typed interfaces for memory store/recall, session management, namespace operations, and decay configuration.
- fun - The simplest but powerful way to use large language models (LLMs) in Go.
- goai - Go SDK for building AI applications. One SDK, 20+ providers. Inspired by Vercel AI SDK.
- GoModel - AI gateway exposing a unified OpenAI-compatible API across OpenAI, Anthropic, Gemini, Groq, xAI, Ollama and other providers, with routing, usage tracking, rate limits, and guardrails.
- hotplex - 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.
- jargo - Framework for building real-time voice AI agents over WebRTC, wiring speech-to-text, LLMs, and text-to-speech into a streaming pipeline.
- langchaingo - LangChainGo is a framework for developing applications powered by language models.
- langgraphgo - A Go library for building stateful, multi-actor applications with LLMs, built on the concept of LangGraph,with a lot of builtin Agent architectures.
- llm-box - Terminal-based AI workflow engine with YAML-driven pipelines, 20+ LLM providers (DeepSeek, Qwen, GLM, Mistral, etc.), and a TUI for workflow management.
- LocalAI - Open Source OpenAI alternative, self-host AI models.
- localaik - LocalStack-style local emulation of OpenAI and Gemini APIs; single Docker container, llama.cpp + Gemma 3 backend.
- mcp-go - Go implementation of the Model Context Protocol for building MCP servers and clients in Go.
- Ollama - Run large language models locally.
- OllamaFarm - Manage, load-balance, and failover packs of Ollamas.
- otellix - OpenTelemetry-native LLM observability and budget guardrails for cost-constrained production environments.
- routex - YAML-driven multi-agent AI runtime for Go with Erlang-style supervision, MCP tool server support, and a CLI.
- semantic-search - Meaning-based search over PDF, Markdown, DOCX, source code, and other file types, using generative AI embedding models to vectorize files into a vector database.
- skillreaper - CLI that scans AI agent session transcripts to identify and safely quarantine unused skills, MCP servers, and agents across Claude Code, Codex CLI, Hermes, OpenCode, Cursor, and OpenClaw.
- trpc-agent-go - Framework for building LLM-based multi-agent systems.
- web-researcher-mcp - MCP server providing AI assistants with web search, content extraction, and multi-source research capabilities. Single binary, 5 search providers with circuit-breaker failover, 4-tier scraping pipeline.
- zenflow - Multi-agent orchestration & workflow engine. Declarative YAML workflows, LLM coordinator with hub-and-spoke mailboxes, race-safe delivery. One YAML file, one Go binary. Runs on any goai-supported provider.
Audio and Music
_Libraries for manipulating audio and music._
- beep - A simple library for playback and audio manipulation.
- flac - Native Go FLAC encoder/decoder with support for FLAC streams.
- gaad - Native Go AAC bitstream parser.
- go-mpris - Client for mpris dbus interfaces.
- go-resample - Pure-Go (no cgo) audio sample-rate converter with sinc, linear, and zero-order-hold converters.
- GoAudio - Native Go Audio Processing Library.
- gosamplerate - libsamplerate bindings for go.
- id3v2 - ID3 decoding and encoding library for Go.
- malgo - Mini audio library.
- minimp3 - Lightweight MP3 decoder library.
- music-theory - Music theory models in Go.
- Oto - A low-level library to play sound on multiple platforms.
- PortAudio - Go bindings for the PortAudio audio I/O library.
-voxrai-ai - AI voice agents with a JSON configuration, STT → LLM → TTS pipelines over WebSocket and WebRTC
Authentication and Authorization
_Libraries for implementing authentication and authorization._
- authboss - 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.
- authgate - 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.
- branca - branca token specification implementation for Golang 1.15+.
- casbin - Authorization library that supports access control models like ACL, RBAC, and ABAC.
- cookiestxt - provides a parser of cookies.txt file format.
- go-githubauth - Utilities for GitHub authentication: generate and use GitHub application and installation tokens.
- go-guardian - 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-iam - Developer-first Identity and Access Management system with a simple UI.
- go-jose - Fairly complete implementation of the JOSE working group's JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs.
- go-jwt - A JWT (JSON Web Token) library for Go.
- go-jwt - JWT authentication package providing access tokens and refresh tokens with fingerprinting, Redis storage, and automatic refresh capabilities.
- goiabada - An open-source authentication and authorization server supporting OAuth2 and OpenID Connect.
- gologin - chainable handlers for login with OAuth1 and OAuth2 authentication providers.
- gorbac - provides a lightweight role-based access control (RBAC) implementation in Golang.
- gosession - 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.
- goth - provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.
- jeff - Simple, flexible, secure, and idiomatic web session management with pluggable backends.
- jwt - Lightweight JSON Web Token (JWT) library.
- jwt - Safe, simple, and fast JSON Web Tokens for Go.
- jwt-auth - JWT middleware for Golang http servers with many configuration options.
- jwt-go - 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.
- jwx - Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies.
- keto - 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.
- loginsrv - JWT login microservice with pluggable backends such as OAuth2 (Github), htpasswd, osiam.
- oauth2 - Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine, and App Engine support.
- oidc - Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation.
- openfga - Implementation of fine-grained authorization based on the "Zanzibar: Google's Consistent, Global Authorization System" paper. Backed by CNCF.
- osin - Golang OAuth2 server library.
- otpgen - Library to generate TOTP/HOTP codes.
- otpgo - Time-Based One-Time Password (TOTP) and HMAC-Based One-Time Password (HOTP) library for Go.
- paseto - Golang implementation of Platform-Agnostic Security Tokens (PASETO).
- permissions - Library for keeping track of users, login states, and permissions. Uses secure cookies and bcrypt.
- scope - Easily Manage OAuth2 Scopes In Go.
- scs - Session Manager for HTTP servers.
- securecookie - Efficient secure cookie encoding/decoding.
- session - Go session management for web servers (including support for Google App Engine - GAE).
- sessions - Dead simple, highly performant, highly customizable sessions service for go http servers.
- sessionup - Simple, yet effective HTTP session management and identification package.
- sjwt - Simple jwt generator and parser.
- spicedb - A Zanzibar-inspired database that enables fine-grained authorization.
- x509proxy - Library to handle X509 proxy certificates.
Blockchain
_Tools for building blockchains._
- cometbft - A distributed, Byzantine fault-tolerant, deterministic state machine replication engine. It is a fork of Tendermint Core and implements the Tendermint consensus algorithm.
- cosmos-sdk - A Framework for Building Public Blockchains in the Cosmos Ecosystem.
- gno - A comprehensive smart contract suite built with Golang and Gnolang, a deterministic, purpose-built Go variant for blockchains.
- go-ethereum - Official Go implementation of the Ethereum protocol.
- gosemble - A Go-based framework for building Polkadot/Substrate-compatible runtimes.
- gossamer - A Go implementation of the Polkadot Host.
- kubo - 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 - A complete implementation of a Lightning Network node.
- nview - Local monitoring tool for a Cardano Node. It's a TUI (terminal user interface) designed to fit most screens.
- pactus - A full-node implementation of the Pactus blockchain in Go.
- solana-go - Go library to interface with Solana JSON RPC and WebSocket interfaces.
- tendermint - 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.
- tronlib - 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._
- arikawa - A library and framework for the Discord API.
- bot - Zero-dependencies Telegram Bot library with additional UI components.
- echotron - 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-sarah - Framework to build a bot for desired chat services including LINE, Slack, Gitter, and more.
- go-tg - Generated from official docs Go client library for accessing Telegram Bot API, with batteries for building complex bots included.
- go-twitch-irc - Library to write bots for twitch.tv chat
- micha - Go Library for Telegram bot api.
- slack-bot - Ready to use Slack Bot for lazy developers: Custom commands, Jenkins, Jira, Bitbucket, Github...
- slacker - Easy to use framework to create Slack bots.
- telebot - Telegram bot framework is written in Go.
- telego - Telegram Bot API library for Golang with full one-to-one API implementation.
- telegram-bot-api - Simple and clean Telegram bot client.
- TG - Telegram Bot Framework for Go.
- wayback - A bot for Telegram, Mastodon, Slack, and other messaging platforms archives webpages.
- ymsdk - Go SDK for Yandex Messenger Bot API with type-safe models, automatic retry, and rate-limit handling.
- Wisp - Event-driven trading framework for Go. Spot, perpetual futures, prediction markets. Multi-exchange (Bybit, Hyperliquid, Polymarket).
Build Automation
_Libraries and tools help with build automation._
- 1build - Command line tool to frictionlessly manage project-specific commands.
- air - Air - Live reload for Go apps.
- anko - Simple application watcher for multiple programming languages.
- gaper - Builds and restarts a Go project when it crashes or some watched file changes.
- gilbert - Build system and task runner for Go projects.
- gob - Gradle/Maven like build tool for Go projects.
- goyek - Create build pipelines in Go.
- mage - Mage is a make/rake-like build tool using Go.
- mmake - Modern Make.
- realize - Go build a system with file watchers and live to reload. Run, build and watch file changes with custom paths.
- rex - Zero-config universal project runner. Detects your stack (Go, Node, Python, Rust, PHP, Zig, Elixir) and runs the right command.
- Task - simple "Make" alternative.
- taskctl - Concurrent task runner.
- xc - Task runner with README.md defined tasks, executable markdown.
Command Line
Advanced Console UIs
_Libraries for building Console Applications and Console User Interfaces._
- asciigraph - Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
- aurora - ANSI terminal colors that support fmt.Printf/Sprintf.
- box-cli-maker - Render highly customizable boxes in the terminal.
- bubble-table - An interactive table component for bubbletea.
- bubbles - TUI components for bubbletea.
- bubbletea - Go framework to build terminal apps, based on The Elm Architecture.
- chroma16 - Generate a harmonious 16-color terminal palette from a single seed color or string.
- crab-config-files-templating - Dynamic configuration file templating tool for kubernetes manifest or general configuration files.
- ctc - The non-invasive cross-platform terminal color library does not need to modify the Print method.
- fx - Terminal JSON viewer & processor.
- go-ataman - Go library for rendering ANSI colored text templates in terminals.
- go-colorable - Colorable writer for windows.
- go-colortext - Go library for color output in terminals.
- go-isatty - isatty for golang.
- go-palette - Go library that provides elegant and convenient style definitions using ANSI colors. Fully compatible & wraps the fmt library for nice terminal layouts.
- go-prompt - Library for building a powerful interactive prompt, inspired by python-prompt-toolkit.
- go-tui - A declarative terminal UI framework with templ-like templates, flexbox layout, and a language server for editor support.
- gocui - Minimalist Go library aimed at creating Console User Interfaces.
- gommon/color - Style terminal text.
- gookit/color - Terminal color rendering tool library, support 16 colors, 256 colors, RGB color rendering output, compatible with Windows.
- goscaf - goscaf generates opinionated, production-quality Go project boilerplate via an interactive CLI. Stop copy-pasting skeleton code between projects.
- lazyenv - TUI for browsing, comparing, and editing .env files.
- lipgloss - Declaratively define styles for color, format and layout in the terminal.
- loom - Signal-based reactive components framework for building TUIs.
- marker - Easiest way to match and mark strings for colorful terminal outputs.
- mpb - Multi progress bar for terminal applications.
- phoenix - High-performance TUI framework with Elm-inspired architecture, perfect Unicode rendering, and zero-allocation event system.
- progressbar - Basic thread-safe progress bar that works in every OS.
- pterm - A library to beautify console output on every platform with many combinable components.
- simpletable - Simple tables in a terminal with Go.
- spinner - Go package to easily provide a terminal spinner with options.
- tabby - A tiny library for super simple Golang tables.
- table - Small library for terminal color based tables.
- termbox-go - Termbox is a library for creating cross-platform text-based interfaces.
- termdash - Go terminal dashboard based on termbox-go and inspired by termui.
- termenv - Advanced ANSI style & color support for your terminal applications.
- termui - Go terminal dashboard based on termbox-go and inspired by blessed-contrib.
- uilive - Library for updating terminal output in real time.
- uiprogress - Flexible library to render progress bars in terminal applications.
- uitable - Library to improve readability in terminal apps using tabular data.
- vhs - Your CLI home video recorder - generate terminal GIFs from code for documentation and tutorials.
- yacspin - Yet Another CLi Spinner package, for working with terminal spinners.
Standard CLI
_Libraries for building standard or basic Command Line applications._
- acmd - Simple, useful, and opinionated CLI package in Go.
- argparse - Command line argument parser inspired by Python's argparse module.
- argv - Go library to split command line string as arguments array using the bash syntax.
- boa - Declarative flags, env vars, validation, and config files from struct tags. Built on cobra.
- carapace - Command argument completion generator for spf13/cobra.
- carapace-bin - Multi-shell multi-command argument completer.
- carapace-spec - Define simple completions using a spec file.
- climax - Alternative CLI with "human face", in spirit of Go command.
- clîr - A Simple and Clear CLI library. Dependency free.
- cmd - Extends the standard
flagpackage to support sub commands and more in idiomatic way. - cmdr - A POSIX/GNU style, getopt-like command-line UI Go library.
- cobra - Commander for modern Go CLI interactions.
- command-chain - A go library for configure and run command chains - such as pipelining in unix shells.
- commandeer - Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags.
- complete - Write bash completions in Go + Go command bash completion.
- console Closed-loop application library for Cobra commands, with oh-my-posh prompts, and more.
- Dnote - A simple command line notebook with multi-device sync.
- elvish - An expressive programming language and a versatile interactive shell.
- env - Tag-based environment configuration for structs.
- flaggy - A robust and idiomatic flags package with excellent subcommand support.
- flagvar - A collection of flag argument types for Go's standard
flagpackage. - flash-flags - Ultra-fast, zero-dependency, POSIX-compliant flag parsing library that can be used as drop-in stdlib replacement with security hardening.
- getopt - An accurate Go
getopt, validated against the GNU libc implementation. - go-arg - Struct-based argument parsing in Go.
- go-flags - go command line option parser.
- go-getoptions - Go option parser inspired by the flexibility of Perl’s GetOpt::Long.
- go-readline-ny - A customizable line-editing library with Emacs keybindings, Unicode support, completion, and syntax highlighting. Used in NYAGOS shell.
- gocmd - Go library for building command line applications.
- goopt - A declarative, struct-tag based CLI framework for Go, with a broad feature set such as hierarchical commands/flags, i18n, shell completion, and validation.
- hashicorp/cli - Go library for implementing command-line interfaces.
- hiboot cli - cli application framework with auto configuration and dependency injection.
- job - JOB, make your short-term command as a long-term job.
- kingpin - Command line and flag parser supporting sub commands (superseded by
kong; see below). - liner - Go readline-like library for command-line interfaces.
- mcli - A minimal but very powerful cli library for Go.
- memsh - Virtual bash shell in Go: executes shell commands against an in-memory filesystem (afero), with WASM plugin support and an embeddable HTTP server.
- mkideal/cli - Feature-rich and easy to use command-line package based on golang struct tags.
- mow.cli - Go library for building CLI applications with sophisticated flag and argument parsing and validation.
- neuron-cli - A local-first, Obsidian-compatible terminal knowledge manager.
- OpenCLI - OpenAPI-style specification for CLIs; define your interface in a language-agnostic document to generate documentation and framework boilerplate code.
- ops - Unikernel Builder/Orchestrator.
- orpheus - CLI framework with security hardening, plugin storage system, and production observability features.
- pflag - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
- readline - Shell library with modern and easy to use UI features.
- sflags - Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin, and other libraries.
- structcli - Eliminate Cobra boilerplate: build powerful, feature-rich CLIs declaratively from Go structs.
- strumt - Library to create prompt chain.
- subcmd - Another approach to parsing and running subcommands. Works alongside the standard
flagpackage. - teris-io/cli - Simple and complete API for building command line interfaces in Go.
- urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).
- version - Collects and displays CLI version information in multiple formats along with upgrade notice.
- wlog - Simple logging interface that supports cross-platform color and concurrency.
- wmenu - Easy to use menu structure for cli applications that prompt users to make choices.
Configuration
_Libraries for configuration parsing._
- aconfig - Simple, useful and opinionated config loader.
- argus - File watching and configuration management with MPSC ring buffer, adaptive batching strategies, and universal format parsing (JSON, YAML, TOML, INI, HCL, Properties).
- azureappconfiguration - The configuration provider for consuming data in Azure App Configuration from Go applications.
- bcl - BCL is a configuration language similar to HCL.
- cleanenv - Minimalistic configuration reader (from files, ENV, and wherever you want).
- config - Cloud native application configuration. Bind ENV to structs in only two lines.
- config - configure your app using file, environment variables, or flags in two lines of code.
- config - Struct-based configuration loader with a dedicated config file parser, supporting env vars, flags, defaults, and validation.
- configuration - Library for initializing configuration structs from env variables, files, flags and 'default' tag.
- configuro - opinionated configuration loading & validation framework from ENV and Files focused towards 12-Factor compliant applications.
- confiq - Structured data format to config struct decoder library for Go - supporting multiple data formats.
- confita - Load configuration in cascade from multiple backends into a struct.
- conflate - 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.
- enflag - Container-oriented, zero-dependency configuration library that unifies Env variable and Flag parsing. Uses generics for type safety, without reflection or struct tags.
- env - Parse environment variables to Go structs (with defaults).
- env - A lightweight package for loading environment variables into structs.
- env - An environment utility package with support for unmarshaling into structs.
- envconfig - Read your configuration from environment variables.
- envh - Helpers to manage environment variables.
- envyaml - Yaml with environment variables reader. it helps to have secrets as environment variable but load them configs as structured Yaml.
- fig - Tiny library for reading configuration from a file and from environment variables (with validation & defaults).
- genv - Read environment variables easily with dotenv support.
- go-array - A Go package that read or set data from map, slice or json.
- go-aws-ssm - Go package that fetches parameters from AWS System Manager - Parameter Store.
- go-cfg - 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).
- go-conf - Simple library for application configuration based on annotated structs. It supports reading the configuration from environment variables, config files and command line parameters.
- go-config - Simple and convenient library for working with app configurations.
- go-external-config - Spring-inspired configuration management library for Go.
- go-external-config/aws - AWS property source support for go-external-config.
- go-external-config/consul - Consul property source support for go-external-config.
- go-external-config/vault - Vault property source support for go-external-config.
- go-ini - A Go package that marshals and unmarshals INI-files.
- go-ssm-config - Go utility for loading configuration parameters from AWS SSM (Parameter Store).
- go-up - A simple configuration library with recursive placeholders resolution and no magic.
- GoCfg - Config manager with Struct Tags based contracts, custom value providers, parsers, and documentation generation. Customizable yet simple.
- goconfig - Populate Go structs from flags, environment variables, config.json and defaults with deterministic precedence. No extra dependencies.
- godotenv - Go port of Ruby's dotenv library (Loads environment variables from
.env). - goenv - Reads the ENV environment variable and reports whether the process is running in production or development.
- GoLobby/Config - 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.
- gonfig - Tag-based configuration parser which loads values from different providers into typesafe struct.
- gonfiguration - Loads configuration from environment variables into structs via reflection, with struct-tag defaults and required fields.
- gookit/config - application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge.
- harvester - Harvester, a easy to use static and dynamic configuration package supporting seeding, env vars and Consul integration.
- hedzr/store - Extensible, high-performance configuration management library, optimized for hierarchical data.
- hjson - Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.
- hocon - 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.
- ini - Go package to read and write INI files.
- ini - INI Parser & Write Library, Unmarshal to Struct, Marshal to Json, Write File, watch file.
- kelseyhightower/envconfig - Go library for managing configuration data from environment variables.
- koanf - Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line.
- konf - The simplest API for reading/watching config from file, env, flag and clouds (e.g. AWS, Azure, GCP).
- konfig - Composable, observable and performant config handling for Go for the distributed processing era.
- kong - 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). - nasermirzaei89/env - Simple useful package for read environment variables.
- nfigure - Per-library struct-tag based configuration from command lines (Posix & Go-style); environment, JSON, YAML
- onion - Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP.
- piper - Viper wrapper with config inheritance and key generation.
- sonic - A blazingly fast JSON serializing & deserializing library.
- swap - Instantiate/configure structs recursively, based on build environment. (YAML, TOML, JSON and env).
- typenv - Minimalistic, zero dependency, typed environment variables library.
- uConfig - Lightweight, zero-dependency, and extendable configuration management.
- viper - Go configuration with fangs.
- xdg - Go

