auto commit from actions 2241
Awesome Go
This project is awesome-go Chinese version, last sync time : 2026-01-30 07:37:41(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
|
Your app, enterprise-ready. Start selling to enterprise customers with just a few lines of code. Add Single Sign-On (and more) in minutes instead of months. |
|
|
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:5419 Distributed actors for Go, C#, and Java/Kotlin.
- Ergo star:4350 An actor-based Framework with network transparency for creating event-driven architecture in Golang. Inspired by Erlang.
- Hollywood star:2174 Blazingly fast and light-weight Actor engine written in Golang.
- Goakt star:319 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:161061 Run large language models locally.
- LocalAI star:42463 Open Source OpenAI alternative, self-host AI models.
- langchaingo star:8548 LangChainGo is a framework for developing applications powered by language models.
- chromem-go star:832 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.
- OllamaFarm star:94 Manage, load-balance, and failover packs of Ollamas.
Audio and Music
Libraries for manipulating audio.
- Oto star:1855 A low-level library to play sound on multiple platforms.
- PortAudio star:824 Go bindings for the PortAudio audio I/O library.
- beep star:510 A simple library for playback and audio manipulation.
- GoAudio star:402 Native Go Audio Processing Library.
- malgo star:384 Mini audio library.
- id3v2 star:360 ID3 decoding and encoding library for Go.
- flac star:350 Native Go FLAC encoder/decoder with support for FLAC streams.
- gaad star:135 Native Go AAC bitstream parser.
- minimp3 star:133 Lightweight MP3 decoder library.
- gosamplerate star:38 libsamplerate bindings for go.
- go-mpris star:19 Client for mpris dbus interfaces.
Authentication and Authorization
Libraries for implementing authentication and authorization.
- casbin star:19783 Authorization library that supports access control models like ACL, RBAC, and ABAC.
- jwt-go star:8867 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.
- goth star:6425 provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.
- spicedb star:6388 A Zanzibar-inspired database that enables fine-grained authorization.
- oauth2 star:5811 Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine, and App Engine support.
- keto star:5259 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:4688 Implementation of fine-grained authorization based on the "Zanzibar: Google's Consistent, Global Authorization System" paper. Backed by CNCF.
- authboss star:4143 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:2513 Session Manager for HTTP servers.
- jwx star:2304 Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies.
- gologin star:1945 chainable handlers for login with OAuth1 and OAuth2 authentication providers.
- osin star:1934 Golang OAuth2 server library.
- loginsrv star:1927 JWT login microservice with pluggable backends such as OAuth2 (Github), htpasswd, osiam.
- oidc star:1757 Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation.
- gorbac star:1656 provides a lightweight role-based access control (RBAC) implementation in Golang.
- paseto star:932 Golang implementation of Platform-Agnostic Security Tokens (PASETO).
- jwt star:687 Safe, simple, and fast JSON Web Tokens for Go.
- go-guardian star:606 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:478 Fairly complete implementation of the JOSE working group's JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs.
- jwt star:362 Lightweight JSON Web Token (JWT) library.
- jeff star:270 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:183 An open-source authentication and authorization server supporting OAuth2 and OpenID Connect.
- otpgen star:142 Library to generate TOTP/HOTP codes.
- sessionup star:129 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:95 branca token specification implementation for Golang 1.15+.
- securecookie star:84 Efficient secure cookie encoding/decoding.
- sessions star:79 Dead simple, highly performant, highly customizable sessions service for go http servers.
- otpgo star:76 Time-Based One-Time Password (TOTP) and HMAC-Based One-Time Password (HOTP) library for Go.
- scope star:42 Easily Manage OAuth2 Scopes In Go.
- go-iam star:34 Developer-first Identity and Access Management system with a simple UI.
- go-githubauth star:26 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:15 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.
Blockchain
Tools for building blockchains.
- go-ethereum star:50749 Official Go implementation of the Ethereum protocol.
- kubo star:16895 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:8095 A complete implementation of a Lightning Network node.
- cosmos-sdk star:6921 A Framework for Building Public Blockchains in the Cosmos Ecosystem.
- tendermint star:5855 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:1506 Go library to interface with Solana JSON RPC and WebSocket interfaces.
- gno star:1046 A comprehensive smart contract suite built with Golang and Gnolang, a deterministic, purpose-built Go variant for blockchains.
- cometbft star:850 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:457 A Go implementation of the Polkadot Host.
- nview star:38 Local monitoring tool for a Cardano Node. It's a TUI (terminal user interface) designed to fit most screens.
- gosemble star:14 A Go-based framework for building Polkadot/Substrate-compatible runtimes.
Bot Building
Libraries for building and working with bots.
- telegram-bot-api star:6365 Simple and clean Telegram bot client.
- telebot star:4543 Telegram bot framework is written in Go.
- wayback star:2131 A bot for Telegram, Mastodon, Slack, and other messaging platforms archives webpages.
- bot star:1551 Zero-dependencies Telegram Bot library with additional UI components.
- telego star:913 Telegram Bot API library for Golang with full one-to-one API implementation.
- arikawa star:568 A library and framework for the Discord API.
- echotron star:416 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:390 Library to write bots for twitch.tv chat
- go-sarah star:266 Framework to build a bot for desired chat services including LINE, Slack, Gitter, and more.
- slack-bot star:205 Ready to use Slack Bot for lazy developers: Custom commands, Jenkins, Jira, Bitbucket, Github...
- go-tg star:124 Generated from official docs Go client library for accessing Telegram Bot API, with batteries for building complex bots included.
- slacker star:60 Easy to use framework to create Slack bots.
- micha star:31 Go Library for Telegram bot api.
Build Automation
Libraries and tools help with build automation.
- air star:22840 Air - Live reload for Go apps.
- Task star:14717 simple "Make" alternative.
- mage star:4555 Mage is a make/rake-like build tool using Go.
- realize star:4457 Go build a system with file watchers and live to reload. Run, build and watch file changes with custom paths.
- mmake star:1733 Modern Make.
- xc star:1367 Task runner with README.md defined tasks, executable markdown.
- goyek star:676 Create build pipelines in Go.
- taskctl star:318 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:43 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:38900 Go framework to build terminal apps, based on The Elm Architecture.
- fx star:20219 Terminal JSON viewer & processor.
- termui star:13518 Go terminal dashboard based on termbox-go and inspired by blessed-contrib.
- gocui star:10494 Minimalist Go library aimed at creating Console User Interfaces.
- gommon/color Style terminal text.
- lipgloss star:10422 Declaratively define styles for color, format and layout in the terminal.
- bubbles star:7638 TUI components for bubbletea.
- go-prompt star:5455 Library for building a powerful interactive prompt, inspired by python-prompt-toolkit.
- pterm star:5353 A library to beautify console output on every platform with many combinable components.
- termbox-go star:4764 Termbox is a library for creating cross-platform text-based interfaces.
- progressbar star:4634 Basic thread-safe progress bar that works in every OS.
- termdash star:2974 Go terminal dashboard based on termbox-go and inspired by termui.
- asciigraph star:2951 Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
- spinner star:2507 Go package to easily provide a terminal spinner with options.
- mpb star:2472 Multi progress bar for terminal applications.
- uiprogress star:2140 Flexible library to render progress bars in terminal applications.
- termenv star:1956 Advanced ANSI style & color support for your terminal applications.
- uilive star:1714 Library for updating terminal output in real time.
- gookit/color star:1571 Terminal color rendering tool library, support 16 colors, 256 colors, RGB color rendering output, compatible with Windows.
- aurora star:1477 ANSI terminal colors that support fmt.Printf/Sprintf.
- go-isatty star:884 isatty for golang.
- go-colorable star:803 Colorable writer for windows.
- uitable star:742 Library to improve readability in terminal apps using tabular data.
- box-cli-maker star:597 Make Highly Customized Boxes for your CLI.
- bubble-table star:546 An interactive table component for bubbletea.
- simpletable star:545 Simple tables in a terminal with Go.
- yacspin star:455 Yet Another CLi Spinner package, for working with terminal spinners.
- tabby star:367 A tiny library for super simple Golang tables.
- go-colortext star:215 Go library for color output in terminals.
- ctc star:52 The non-invasive cross-platform terminal color library does not need to modify the Print method.
- marker star:50 Easiest way to match and mark strings for colorful terminal outputs.
- table star:50 Small library for terminal color based tables.
- 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.
Standard CLI
Libraries for building standard or basic Command Line applications.
- cobra star:43026 Commander for modern Go CLI interactions.
- carapace-bin star:1673 Multi-shell multi-command argument completer.
- carapace star:1131 Command argument completion generator for spf13/cobra.
- complete star:951 Write bash completions in Go + Go command bash completion.
- argparse star:635 Command line argument parser inspired by Python's argparse module.
- climax star:217 Alternative CLI with "human face", in spirit of Go command.
- clîr star:197 A Simple and Clear CLI library. Dependency free.
- commandeer star:176 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:136 Simple, useful, and opinionated CLI package in Go.
- command-chain star:70 A go library for configure and run command chains - such as pipelining in unix shells.
- cmd star:46 Extends the standard
flagpackage to support sub commands and more in idiomatic way. - argv star:42 Go library to split command line string as arguments array using the bash syntax.
- carapace-spec star:29 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:23849 Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).
- elvish star:6217 An expressive programming language and a versatile interactive shell.
- kingpin star:3558 Command line and flag parser supporting sub commands (superseded by
kong; see below). - Dnote star:3002 A simple command line notebook with multi-device sync.
- go-flags star:2690 go command line option parser.
- pflag star:2690 Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
- go-arg star:2225 Struct-based argument parsing in Go.
- ops star:1457 Unikernel Builder/Orchestrator.
- liner star:1086 Go readline-like library for command-line interfaces.
- flaggy star:945 A robust and idiomatic flags package with excellent subcommand support.
- mow.cli star:884 Go library for building CLI applications with sophisticated flag and argument parsing and validation.
- mkideal/cli star:730 Feature-rich and easy to use command-line package based on golang struct tags.
- wmenu star:228 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:133 Shell library with modern and easy to use UI features.
- teris-io/cli star:131 Simple and complete API for building command line interfaces in Go.
- env star:126 Tag-based environment configuration for structs.
- version star:110 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:63 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:42 A minimal but very powerful cli library for Go.
- hashicorp/cli star:35 Go library for implementing command-line interfaces.
- hiboot cli cli application framework with auto configuration and dependency injection.
- go-readline-ny star:32 A customizable line-editing library with Emacs keybindings, Unicode support, completion, and syntax highlighting. Used in NYAGOS shell.
- orpheus star:26 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.
- subcmd star:8 Another approach to parsing and running subcommands. Works alongside the standard
flagpackage. - getopt star:7 An accurate Go
getopt, validated against the GNU libc implementation. - structcli star:7 Eliminate Cobra boilerplate: build powerful, feature-rich CLIs declaratively from Go structs.
- 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:29921 Go configuration with fangs.
- godotenv star:10189 Go port of Ruby's dotenv library (Loads environment variables from
.env). - sonic star:9122 A blazingly fast JSON serializing & deserializing library.
- env star:5964 Parse environment variables to Go structs (with defaults).
- kelseyhightower/envconfig star:5397 Go library for managing configuration data from environment variables.
- koanf star:3819 Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line.
- ini star:3537 Go package to read and write INI files.
- kong star:2951 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:2043 Minimalistic configuration reader (from files, ENV, and wherever you want).
- xdg star:941 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:620 Simple, useful and opinionated config loader.
- gookit/config star:578 application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge.
- confita star:509 Load configuration in cascade from multiple backends into a struct.
- fig star:385 Tiny library for reading configuration from a file and from environment variables (with validation & defaults).
- 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.
- konf star:359 The simplest API for reading/watching config from file, env, flag and clouds (e.g. AWS, Azure, GCP).
- hjson star:347 Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.
- config star:339 Cloud native application configuration. Bind ENV to structs in only two lines.
- envconfig star:250 Read your configuration from environment variables.
- zerocfg star:198 Zero-effort, concise configuration management that avoids boilerplate and repetitive code, supports multiple sources with priority overrides.
- argus star:165 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:118 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:87 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:72 Lightweight, zero-dependency, and extendable configuration management.
- go-aws-ssm star:62 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:47 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).
- 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.
- conflate star:37 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 star:36 Container-oriented, zero-dependency configuration library that unifies Env variable and Flag parsing. Uses generics for type safety, without reflection or struct tags.
- bcl star:28 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.
- 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.
- envyaml star:17 Yaml with environment variables reader. it helps to have secrets as environment variable but load them configs as structured Yaml.
- go-ini star:17 A Go package that marshals and unmarshals INI-files.
- go-conf star:13 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.
- gonfig star:10 Tag-based configuration parser which loads values from different providers into typesafe struct.
- nfigure star:10 Per-library struct-tag based configuration from command lines (Posix & Go-style); environment, JSON, YAML
- 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:4 Simple and convenient library for working with app configurations.
Continuous Integration
Tools for help with continuous integration.
- drone star:33842 Drone is a Continuous Integration platform built on Docker, written in Go.
- woodpecker star:6362 Woodpecker is a community fork of the Drone CI system.
- CDS star:4799 Enterprise-Grade CI/CD and DevOps Automation Open Source Platform.
- muffet star:2589 Fast website link checker in Go, see alternatives.
- abstruse star:957 Abstruse is a distributed CI platform.
- Bencher A suite of continuous benchmarking tools designed to catch performance regressions in CI.
- goveralls star:792 Go integration for Coveralls.io continuous code coverage tracking system.
- gotestfmt star:592 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:33 A minimal, local first continuous integration system that uses Docker to run jobs concurrently in stages.
- go-beautiful-html-coverage star:20 A GitHub Action to track code coverage in your pull requests, with a beautiful HTML preview, for free.
- go-semver-release star:20 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:214 Go wrapper to the 100% Sass compatible libsass project.
- go-css star:90 A very simple CSS parser, written in Go.
Data Integration Frameworks
Frameworks for performing ELT / ETL
- Benthos star:8568 A message streaming bridge between a range of protocols.
- CloudQuery A high-performance ELT data integration framework with pluggable architecture.
- omniparser star:1075 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:2824 Go package implementing compressed bitsets.
- binpacker star:234 Binary packer and unpacker helps user build custom binary stream.
- bit star:169 Golang set data structure with bonus bit-twiddling functions.
- crunch star:101 Go package implementing buffers for handling various datatypes easily.
- bingo star:50 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:1476 Go package implementing bitsets.
- bitmap star:374 Dense, zero-allocation, SIMD-enabled bitmap/bitset in Go.
Bloom and Cuckoo Filters
- bloom star:2740 Go package implementing Bloom filters.
- boomfilters star:1639 Probabilistic data structures for processing continuous, unbounded streams.
- cuckoofilter star:1213 Cuckoo filter: a good alternative to a counting bloom filter implemented in Go.
- cuckoo-filter star:305 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:143 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.
Data Structure and Algorithm Collections
- gods star:17380 Go Data Structures. Containers, Sets, Lists, Stacks, Maps, BidiMaps, Trees, HashSet etc.
- go-datastructures star:7891 Collection of useful, performant, and thread-safe data structures.
- gostl star:1132 Data structure and algorithm library for go, designed to provide functions similar to C++ STL.
- algorithms star:838 Algorithms and data structures.CLRS study.
Iterators
- iter star:195 Go implementation of C++ STL iterators and algorithms.
- gloop star:26 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:261 A high-performance, thread-safe generic concurrent hash map implementation with Swiss Map.
- cmap star:100 a thread-safe concurrent map for go, support using
interface{}as key and auto scale up shards. - goradd/maps star:51 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:3274 Implementation of dataframes, series, and data wrangling methods for Go.
- hyperloglog star:1027 HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction.
- go-geoindex star:359 In-memory geo index.
- go-rquad star:140 Region quadtrees with efficient point location and neighbour finding.
- gogu star:107 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:96 Generic tuple implementation for Go 1.18+.
- fsm star:87 Finite-State Machine package.
- go-generics star:85 Generic slice, map, set, iterator, and goroutine utilities.
- hide star:73 ID type with marshalling to/from hash to prevent sending IDs to clients.
- count-min-log star:68 Go implementation Count-Min-Log sketch: Approximately counting with approximate counters (Like Count-Min sketch but using less memory).
- concurrent-writer star:58 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:46 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.
Nullable Types
- nan star:87 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:38 Nullable Go types that can be marshalled/unmarshalled to/from JSON.
Queues
- hatchet star:6473 Distributed, Fault-tolerant task queue.
- deque star:754 Fast ring-buffer deque (double-ended queue).
- goconcurrentqueue star:434 Concurrent FIFO queue.
- queue star:330 Multiple thread-safe, generic queue implementations for Go.
- deque star:203 A highly optimized double-ended queue.
- memlog star:134 An easy to use, lightweight, thread-safe and append-only in-memory data structure inspired by Apache Kafka.
- 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:1 Simple, in memory, zero dependency and battle tested, thread-safe deferred queue.
Sets
- golang-set star:4642 Thread-Safe and Non-Thread-Safe high-performance sets for Go.
- goset star:52 A useful Set collection implementation for Go.
- set star:29 Simple set data structure implementation in Go using LinkedHashMap.
- dsu star:16 Disjoint Set data structure implementation in Go.
Text Analysis
- bleve star:10939 Modern text indexing library for go.
- trie star:788 Trie implementation in Go.
- go-edlib star:590 Go string comparison and edit distance algorithms library (Levenshtein, LCS, Hamming, Damerau levenshtein, Jaro-Winkler, etc.) compatible with Unicode.
- levenshtein star:450 Implementation to calculate levenshtein distance in Go.
- go-adaptive-radix-tree star:412 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:44 An implementation of prefix tree.
- mspm star:27 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:294 Very fast Go Skiplist implementation.
- skiplist star:84 Skiplist implementation in Go.
- treemap star:67 Generic key-sorted map using a red-black tree under the hood.
- merkle star:21 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:44 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:13 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:8064 Efficient key/value cache for gigabytes of data.
- GCache star:2732 Cache library with support for expirable Cache, LFU, LRU and ARC.
- fastcache star:2330 fast thread-safe inmemory cache for big number of entries. Minimizes GC overhead.
- cache2go star:2164 In-memory key:value cache which supports automatic invalidation based on timeouts.
- EchoVault star:518 Embeddable Distributed in-memory data store compatible with Redis clients.
- cachego star:373 Golang Cache component for multiple drivers.
- bcache star:162 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:13316 Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
- ristretto star:6698 A high performance memory-bound Go cache.
- gocache star:2833 A complete Go cache library with multiple stores (memory, memcache, redis, ...), chainable, loadable, metrics cache and more.
- otter star:2499 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:1208 An in-memory cache with item expiration and generics.
- jetcache-go star:524 Unified Go cache library supporting multi-level caching.
- theine star:362 High performance, near optimal in-memory cache with proactive TTL expiration and generics.
- pocache star:231 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:102 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:17 A data race free Go ache library with high performance and auto pruge functionality
- nscache star:13 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:62449 Monitoring system and time series database.
- Milvus star:42514 Milvus is a vector database for embedding management, analytics and search.
- tidb star:39656 TiDB is a distributed SQL database. Inspired by the design of Google F1.
- cockroach star:31796 Scalable, Geo-Replicated, Transactional Datastore.
- influxdb star:31164 Scalable datastore for metrics, events, and real-time analytics.
- dgraph star:21486 Scalable, Distributed, Low Latency, High Throughput Graph Database.
- dolt star:19646 Dolt – It's Git for Data.
- rqlite star:17271 The lightweight, distributed, relational database built on SQLite.
- VictoriaMetrics star:16189 fast, resource-effective and scalable open source time series database. May be used as long-term remote storage for Prometheus. Supports PromQL.
- badger star:15429 Fast key-value store in Go.
- DiceDB star:10674 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:9336 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:8907 immudb is a lightweight, high-speed immutable database for systems and applications written in Go.
- goleveldb star:6324 Implementation of the LevelDB key/value database in Go.
- pebble star:5745 RocksDB/LevelDB inspired key-value database in Go.
- rosedb star:4882 An embedded k-v database based on LSM+WAL, supports string, list, hash, set, zset.
- buntdb star:4835 Fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support.
- redka star:4444 Redis re-implemented with SQLite.
- ledisdb star:4130 Ledisdb is a high performance NoSQL like Redis based on LevelDB.
- godis star:3819 A Golang implemented high-performance Redis server and cluster.
- nutsdb star:3549 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:3057 LinDB is a scalable, high performance, high availability distributed time series database.
- tiedot star:2734 Your NoSQL database powered by Golang.
- lotusdb star:2249 Fast k/v database compatible with lsm and b+tree.
- CovenantSQL star:1526 CovenantSQL is a SQL database on blockchain.
- column star:1508 High-performance, columnar, embeddable in-memory store with bitmap indexing and transactions.
- diskv star:1460 Home-grown disk-backed key-value store.
- Databunker star:1380 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:1259 High-performance embedded Object Database (NoSQL) with Go API.
- eliasdb star:1029 Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.
- moss star:1017 Moss is a simple LSM key-value storage engine written in 100% Go.
- clover star:807 A lightweight document-oriented NoSQL database written in pure Golang.
- levigo star:420 Levigo is a Go wrapper for LevelDB.
- pudge star:370 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:206 Lightweight RESTful database engine based on stack data structures.
- libradb star:200 LibraDB is a simple database with less than 1000 lines of code for learning.
- NoKV star:167 High-performance distributed KV storage based on LSM Tree.
- unitdb star:122 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.
- 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.
- tempdb star:19 Key-value store for temporary items.
Database Schema Migration
- migrate star:18020 Database migrations. CLI and Golang library.
- bytebase star:13652 Safe database schema change and version control for DevOps teams.
- goose star:10094 Database migration tool. You can manage your database's evolution by creating incremental SQL or Go scripts.
- atlas star:7956 A Database Toolkit. A CLI designed to help companies better work with their data.
- dbmate star:6666 A lightweight, framework-agnostic database migration tool.
- sql-migrate star:3398 Database migration tool. Allows embedding migrations into the application using go-bindata.
- skeema star:1355 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:1149 Database schema migration helper for Gorm ORM.
- goavro star:1053 A Go package that encodes and decodes Avro data.
- migrator star:178 Dead simple Go database migration library.
- darwin star:149 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.
- go-pg-migrate star:11 CLI-friendly package for go-pg migrations management.
- godfish star:10 Database migration manager, works with native query language. Support for cassandra, mysql, postgres, sqlite3.
Database Tools
- vitess star:20660 vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.
- pgweb star:9235 Web-based PostgreSQL database browser.
- go-mysql star:4917 Go toolset to handle MySQL protocol and replication.
- pREST star:4516 Simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new.
- chproxy star:1428 HTTP proxy for ClickHouse database.
- pg_timetable star:1312 Advanced scheduling for PostgreSQL.
- onedump star:887 Database backup from different drivers to different destinations with one command and configuration.
- rdb star:596 Redis RDB file parser for secondary development and memory analysis.
- clickhouse-bulk star:505 Collects small inserts and sends big requests to ClickHouse servers.
- wescale star:313 WeScale is a database proxy designed to enhance the scalability, performance, security, and resilience of your applications.
- gatewayd star:275 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:115 Database benchmarking tool with support for several databases and scripts.
- gorm-multitenancy star:77 Multi-tenancy support for GORM managed databases.
- hasql Library for accessing multi-host SQL database installations.
- 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:30 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:16827 Generate type-safe code from SQL.
- Squirrel star:7852 Go library that helps you build SQL queries.
- xo star:3886 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:3558 Framework for writing type-safe SQL queries in Go, with ability to easily convert database query result into desired arbitrary object structure.
- goqu star:2634 Idiomatic SQL builder and query library.
- gendry star:1642 Non-invasive SQL builder and powerful data binder.
- Dotsql star:747 Go library that helps you keep sql files in one place and use them with ease.
- ozzo-dbx star:663 Powerful data retrieval methods as well as DB-agnostic query building capabilities.
- sqlingo star:447 A lightweight DSL to build SQL in Go.
- dbq star:413 Zero boilerplate database operations for Go.
- sqrl star:283 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:203 Type-safe SQL builder and struct mapper for Go.
- bqb star:186 Lightweight and easy to learn query builder.
- sqlf star:186 Fast SQL query builder.
- buildsqlx star:185 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:16 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.
- 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:15025 Graph database with support for multiple backends.
- gokv star:821 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:376 Transaction manager with multiple adapters (sql, sqlx, gorm, mongo, ...) controls transaction boundaries.
- dsc star:35 Datastore connectivity for SQL, NoSQL, structured files.
- dynamo star:22 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:15408 MySQL driver for Go.
- pgx star:13252 PostgreSQL driver supporting features beyond those exposed by database/sql.
- pq star:9778 Pure Go Postgres driver for database/sql.
- go-sqlite3 star:8940 SQLite3 driver for go that uses database/sql.
- go-mssqldb star:1878 Microsoft MSSQL driver for Go.
- go-sqlite3 star:904 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:662 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:636 Oracle driver for go that uses database/sql.
- godror star:585 Oracle driver for Go, using the ODPI-C driver.
- Sqinn-Go star:511 SQLite with pure Go.
- KSQL star:352 A Simple and Powerful Golang SQL Library.
- surrealdb.go star:298 SurrealDB Driver for Go.
- firebirdsql star:254 Firebird RDBMS SQL driver for Go.
- go-rqlite star:178 A Go client for rqlite, providing easy-to-use abstractions for working with the rqlite API.
- ydb-go-sdk star:174 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:21879 Redis client for Golang.
- rueidis Fast Redis RESP3 client with auto pipelining and server-assisted client side caching.
- redigo star:9885 Redigo is a Go client for the Redis database.
- mongo-go-driver star:8497 Official MongoDB driver for the Go language.
- mgo star:1971 (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:1650 Go language driver for RethinkDB.
- qmgo star:1348 The MongoDB driver for Go. It‘s based on official MongoDB driver but easier to use like Mgo.
- mgm star:764 MongoDB model-based ODM for Go (based on official MongoDB driver).
- aerospike-client-go star:458 Aerospike client in Go language.
- redeo star:446 Redis-protocol compatible TCP servers/services.
- neoism star:389 Neo4j client for Golang.
- gocb star:375 Official Couchbase Go SDK.
- go-rejson star:346 Golang client for redislabs' ReJSON module using Redigo golang client. Store and manipulate structs as JSON objects in redis with ease.
- Kivik star:335 Kivik provides a common Go and GopherJS client library for CouchDB, PouchDB, and similar databases.
- go-couchbase star:324 Couchbase client in Go.
- go-mongox star:218 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:113 redis client implement by golang, inspired by jedis.
- arangolite star:72 Lightweight golang driver for ArangoDB.
- go-pilosa star:57 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:7478 Elasticsearch client for Go.
- go-elasticsearch star:6023 Official Elasticsearch client for Go.
- zoekt star:1361 Fast trigram based code search.
- elasticsql star:1194 Convert sql to elasticsearch dsl in Go.
- elastigo star:941 Elasticsearch client library.
- skizze star:92 probabilistic data-structures service and storage.
- effdsl star:34 Elasticsearch query builder for Go.
- goes star:31 Library to interact with Elasticsearch.
- clickhouse-go ClickHouse SQL client for Go with a
database/sqlcompatibility.
Date and Time
Libraries for working with dates and times.
- carbon star:5216 A simple, semantic and developer-friendly time package for golang.
- now star:4654 Now is a time toolkit for golang.
- dateparse star:2137 Parse date's without knowing format in advance.
- carbon star:783 Simple Time extension with a lot of util methods, ported from PHP Carbon library.
- durafmt star:510 Time duration formatting library for Go.
- go-persian-calendar star:237 The implementation of the Persian (Solar Hijri) Calendar in Go (golang).
- gostradamus star:210 A Go package for working with dates.
- timeutil star:193 Useful extensions (Timedelta, Strftime, ...) to the golang's time package.
- go-sunrise star:172 Calculate the sunrise and sunset times for a given location.
- iso8601 star:157 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:34 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.
- approx star:17 A Duration extension supporting parsing/printing durations in days, weeks and years.
- cronrange star:17 Parses Cron-style time range expressions, checks if the given time is within any ranges.
- 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-datebin star:4 A simple datetime parse pkg.
Distributed Systems
Packages that help with building Distributed Systems.
- go-zero star:32543 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:27610 Microservice toolkit with support for service discovery, load balancing, pluggable transports, request tracking, etc.
- Kratos star:25402 A modular-designed and easy-to-use microservices framework in Go.
- grpc-go star:22756 The Go language implementation of gRPC. HTTP/2 based RPC.
- go-micro star:22689 A distributed systems development framework.
- NATS star:19047 NATS is a simple, secure, and performant communications system for digital systems, services, and devices.
- raft star:8909 Golang implementation of the Raft consensus protocol, by HashiCorp.
- rpcx star:8282 Distributed pluggable RPC service framework like alibaba Dubbo.
- Kitex star:7839 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:6724 Ultra performant API Gateway framework with middlewares.
- micro A distributed systems runtime for the cloud and beyond.
- torrent star:5946 BitTorrent client package.
- dragonboat star:5298 A feature complete and high performance multi-group Raft library in Go.
- evans star:4452 Evans: more expressive universal gRPC client.
- emitter-io star:4000 High performance, distributed, secure and low latency publish-subscribe platform built with MQTT, Websockets and love.
- gleam star:3555 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:3222 Easy-to-Use scalable distributed big data processing, Map-Reduce, DAG execution, all in pure Go.
- Dragonfly star:3006 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:2777 A distributed development framework that integrates automatic code generation, gin and grpc frameworks, base development frameworks.
- liftbridge star:2770 Lightweight, fault-tolerant message streams for NATS.
- go-eagle star:2416 A Go framework for the API or Microservice with handy scaffolding tools.
- oras star:2097 CLI and library for OCI Artifacts in container registries.
- mochi mqtt star:1776 Fully spec compliant, embeddable high-performance MQTT v5/v3 broker for IoT, smarthome, and pubsub.
- redis-lock star:1737 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:1265 Very newbility RPC Library, support 25+ languages now.
- go-doudou star:1206 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:1142 A cloud native Kubernetes Global Balancer.
- trpc-go star:1110 The Go language implementation of tRPC, which is a pluggable, high-performance RPC framework.
- rain star:1103 BitTorrent client and library.
- arpc star:1087 More effective network communication, support two-way-calling, notify, broadcast.
- raft star:983 Go implementation of the Raft consensus protocol, by CoreOS.
- ringpop-go star:872 Scalable, fault-tolerant application-layer sharding for Go applications.
- Temporal star:819 Durable execution system for making code fault-tolerant and simple.
- opentelemetry-go-auto-instrumentation star:775 OpenTelemetry Compile-Time Instrumentation for Golang.
- consistent star:767 Consistent hashing with bounded loads.
- gorpc star:709 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:526 grpc ecommerce microservice.
- dot distributed sync using operational transformation/OT.
- go-jump star:387 Port of Google's "Jump" Consistent Hash function.
- sleuth star:385 Library for master-less p2p auto-discovery and RPC between HTTP services (using ZeroMQ).
- jsonrpc star:368 JSON-RPC 2.0 HTTP client implementation.
- dht star:347 BitTorrent Kademlia DHT implementation.
- Tarmac star:342 Framework for writing functions, microservices, or monoliths with WebAssembly
- jsonrpc star:192 The jsonrpc package helps implement of JSON-RPC 2.0.
- outboxer star:166 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:116 Lightweight library for the transactional outbox pattern in Go, not tied to any specific relational database or broker.
- doublejump star:108 A revamped Google's jump consistent hash.
- Semaphore star:95 A straightforward (micro) service orchestrator.
- celeriac star:76 Library for adding support for interacting and monitoring Celery workers, tasks and events in Go.
- capillaries star:69 distributed batch data processing framework.
- go-mysql-lock star:66 MySQL based distributed lock.
- flowgraph star:64 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:40 A distributed transactions management system (2PC/3PC implementation).
- consistenthash star:31 Consistent hashing with configurable replicas.
- gmsec star:25 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.
Dynamic DNS
Tools for updating dynamic DNS records.
- GoDNS star:1723 A dynamic DNS client tool, supports DNSPod & HE.net, written in Go.
- DDNS star:266 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:15700 Email and SMTP testing with web and API interface.
- Mailpit star:8615 Email and SMTP testing tool for developers.
- Maddy star:5825 All-in-one (SMTP, IMAP, DKIM, DMARC, MTA-STS, DANE) email server
- mox star:5430 Modern full-featured secure mail server for low-maintenance, self-hosted email.
- hermes star:3041 Golang package that generates clean, responsive HTML e-mails.
- email star:2790 A robust and flexible email library for Go.
- go-imap star:2296 IMAP library for clients and servers.
- chasquid SMTP server written in Go.
- email-verifier star:1505 A Go library for email verification without sending any emails.
- go-mail star:1256 A simple Go library for sending mails in Go.
- SendGrid star:1046 SendGrid's Go library for sending email.
- mailgun-go star:743 Go library for sending mail with the Mailgun API.
- go-simple-mail star:692 Very simple package to send emails with SMTP Keep Alive and two timeouts: Connect and Send.
- go-message star:436 Streaming library for the Internet Message Format and mail messages.
- douceur star:260 CSS inliner for your HTML emails.
- Hectane star:225 Lightweight SMTP client providing an HTTP API.
- go-premailer star:187 Inline styling for HTML mail in Go.
- smtpmock star:160 Lightweight configurable multithreaded fake SMTP server. Mimic any SMTP behaviour for your test environment.
- mailchain star:144 Send encrypted emails to blockchain addresses written in Go.
- truemail-go star:129 Configurable Golang email validator/verifier. Verify email via Regex, DNS, SMTP and even more.
- go-dkim star:99 DKIM library, to sign & verify email.
- go-email-normalizer star:76 Golang library for providing a canonical representation of email address.
- smtp star:76 SMTP server protocol state machine.
- mailx star:20 Mailx is a library that makes it easier to send email via SMTP. It is an enhancement of the golang standard library
net/smtp.
Embeddable Scripting Languages
Embedding other languages inside your go code.
- FrankenPHP star:10703 PHP embedded in Go, with a
net/httphandler. - expr star:7630 Expression evaluation engine for Go: fast, non-Turing complete, dynamic typing, static typing.
- gopher-lua star:6833 Lua 5.1 VM and compiler written in Go.
- goja star:6708 ECMAScript 5.1(+) implementation in Go.
- tengo star:3771 Bytecode compiled script language for Go.
- go-lua star:3403 Port of the Lua 5.2 VM to pure Go.
- cel-go star:2853 Fast, portable, non-Turing complete expression evaluation with gradual typing.
- starlark-go star:2618 Go implementation of Starlark: Python-like language with deterministic evaluation and hermetic execution.
- metacall star:1755 Cross-platform Polyglot Runtime which supports NodeJS, JavaScript, TypeScript, Python, Ruby, C#, WebAssembly, Java, Cobol and more.
- Wa/凹语言 star:1751 The Wa Programming Language embedded in Go.
- anko star:1555 Scriptable interpreter written in Go.
- go-php star:940 PHP bindings for Go.
- goal An embeddable scripting array language.
- gval star:810 A highly customizable expression language written in Go.
- prolog star:705 Embeddable Prolog.
- golua star:688 Go bindings for Lua C API.
- gisp star:527 Simple LISP in Go.
- gentee star:143 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.
- purl star:41 Perl 5.18.2 embedded in Go.
- starlet star:40 Go wrapper for starlark-go that simplifies script execution, offers data conversion, and useful Starlark libraries and extensions.
- ngaro star:30 Embeddable Ngaro VM implementation enabling scripting in Retro.
Error Handling
Libraries for handling errors.
- go-multierror star:2540 Go (golang) package for representing a list of errors as a single error.
- errors star:2343 Go error library with error portability over the network.
- eris star:1757 A better way to handle, trace, and log errors in Go. Compatible with the standard error library and github.com/pkg/errors.
- errorx star:1269 A feature rich error package with stack traces, composition of errors and more.
- multierr star:1169 Package for representing a list of errors as a single error.
- tracerr star:1103 Golang errors with stack trace and source fragments.
- oops star:847 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:368 Error handling tools and best practices for Go libraries and applications.
- Fault star:305 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:74 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:8417 PDF processor.
- afero star:6539 FileSystem Abstraction System for Go.
- gdu star:5265 Disk usage analyzer with console interface.
- go-wkhtmltopdf star:1176 A package to convert an HTML template to a PDF file.
- notify star:928 File system event notification library with simple API, similar to os/signal.
- copy star:769 Copy directory recursively.
- gofs star:524 A cross-platform real-time file synchronization tool out of the box.
- afs star:373 Abstract File Storage (mem, scp, zip, tar, cloud: s3, gs) for Go.
- vfs star:356 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:291 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:281 A package for reading and creating ISO9660 disk images
- go-csv-tag star:128 Load csv file using tag.
- parquet star:127 Read and write parquet files.
- fastwalk star:117 Fast parallel directory traversal library (used by fzf).
- checksum star:115 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:79 Load Open Packaging Conventions (OPC) files for Go.
- gulter star:68 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.
- 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:7204 Arbitrary-precision fixed-point decimal numbers.
- ticker star:5912 Terminal stock watcher and stock position tracker.
- go-money star:1840 Implementation of Fowler's Money pattern.
- bbgo star:1593 A crypto trading bot framework written in Go. Including common crypto exchange API, standard indicators, back-testing and many built-in strategies.
- ledger star:1130 A programmable financial ledger that provides a foundation for money-moving applications.
- accounting star:906 money and currency formatting for golang.
- techan star:891 Technical analysis library with advanced market analysis and trading strategies.
- currency star:623 Handles currency amounts, provides currency information and formatting.
- orderbook star:537 Matching Engine for Limit Order Book in Golang.
- ach star:525 A reader, writer, and validator for Automated Clearing House (ACH) files.
- gobl star:247 Invoice and billing document framework. JSON Schema based. Automates tax calculations and validation, with tooling to convert into global formats.
- decimal star:219 Immutable decimal numbers with panic-free arithmetic.
- go-finance star:189 Library of financial functions for time value of money (annuities), cash flow, interest rate conversions, bonds and depreciation calculations.
- udecimal star:170 High performance, high precision, zero allocation fixed-point decimal library for financial applications.
- ofxgo star:147 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:89 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:48 Immutable monetary amounts and exchange rates with panic-free arithmetic.
- dec128 star:40 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:30 Module to fetch exchange rates, check VAT numbers via VIES and check IBAN bank account numbers.
- go-nowpayments star:4 Library for the crypto NOWPayments API.
Forms
Libraries for working with forms.
- nosurf star:1726 CSRF protection middleware for Go.
- gorilla/csrf star:1174 CSRF protection for Go web applications & services.
- form star:900 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:326 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:143 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:47 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:5 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:3276 Monads and popular FP abstractions, based on Go 1.18+ Generics (Option, Result, Either...).
- go-underscore star:1302 Useful collection of helpfully functional Go collection utilities.
- go-functional star:525 Functional programming in Go using generics
- fpGo star:353 Monad, Functional Programming features for Golang.
- fp-go star:325 Collection of Functional Programming helpers powered by Golang 1.18+ generics.
- FuncFrog star:284 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:152 A lodash like powerful utility library for Golang.
- fuego star:146 Functional Experiment in Go.
- underscore star:118 Functional programming helpers for Go 1.18 and beyond.
- valor star:20 Generic option and result types that optionally contain a value.
Game Development
Awesome game development libraries.
- Ebitengine star:12896 dead simple 2D game engine in Go.
- Leaf star:5492 Lightweight game server framework.
- nano star:3162 Lightweight, facility, high performance golang based game server framework.
- g3n star:3059 Go 3D Game Engine.
- Pitaya star:2730 Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK.
- goworld star:2702 Scalable game server engine, featuring space-entity framework and hot-swapping.
- raylib-go star:2333 Go bindings for raylib, a simple and easy-to-use library to learn videogames programming.
- go-sdl2 star:2322 Go bindings for the Simple DirectMedia Layer.
- engo star:1814 Engo is an open-source 2D game engine written in Go. It follows the Entity-Component-System paradigm.
- Oak star:1651 Pure Go game engine.
- termloop star:1469 Terminal-based game engine for Go, built on top of Termbox.
- gonet star:1290 Game server skeleton implemented with golang.
- go-astar star:631 Go implementation of the A* path finding algorithm.
- Pixel star:374 Hand-crafted 2D game library in Go.
- go3d star:336 Performance oriented 2D/3D math package for Go.
- tile star:210 Data-oriented and cache-friendly 2D Grid library (TileMap), includes pathfinding, observers and import/export.
- Ark star:209 Archetype-based Entity Component System (ECS) for Go.
- ecs star:169 Build your own Game-Engine based on the Entity Component System concept in Golang.
- prototype star:108 Cross-platform (Windows/Linux/Mac) library for creating desktop games using a minimal API.
- Pi star:60 Game engine for creating retro games for modern computers. Inspired by Pico-8 and powered by Ebitengine.
- fantasyname star:39 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:8017 This package contains a set of utilities for generating Go boilerplate code for services based on OpenAPI 3.0 API definitions.
- go-linq star:3643 .NET LINQ-like query methods for Go.
- jennifer star:3598 Generate arbitrary Go code without templates.
- GoWrap star:1306 Generate decorators for Go interfaces using simple templates.
- goderive star:1267 Derives functions from input types
- go-enum star:913 Code generation for enums from code comments.
- goverter star:809 Generate converters by defining an interface.
- interfaces star:432 Command line tool for generating interface definitions.
- copygen star:399 Generate any code based on Go types, including type-to-type converters (copy code) without reflection by default.
- convergen star:48 Feature rich type-to-type copy code generator.
- generis star:47 Code generation tool providing generics, free-form macros, conditional compilation and HTML templating.
- typeregistry star:23 A library to create type dynamically.
- go-enum-encoding star:15 Code generation for enum encoding from code comments.
Geographic
Geographic tools and servers
- Tile38 star:9566 Geolocation DB with spatial index and realtime geofencing.
- S2 geometry star:1816 S2 geometry library in Go.
- mbtileserver star:768 A simple Go-based server for map tiles stored in mbtiles format.
- geoos star:529 A library provides spatial data and geometric algorithms.
- osm star:440 Library for reading, writing and working with OpenStreetMap data and APIs.
- H3 star:400 Go bindings for H3, a hierarchical hexagonal geospatial indexing system.
- godal star:173 Go wrapper for GDAL.
- simplefeatures star:168 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.
- gismanager star:54 Publish Your GIS Data(Vector Data) to PostGIS and Geoserver.
- pbf star:53 OpenStreetMap PBF golang encoder/decoder.
- S2 geojson star:36 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:140 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:13118 Compiler from Go to JavaScript.
- bunster star:2639 Compile shell scripts to Go.
- cxgo star:386 Transpile C code to Go code.
- c4go star:377 Transpile C code to Go code.
- go2hx star:148 Compiler from Go to Haxe to Javascript/C++/Java/C#.
- esp32 star:96 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:14294 A high-performance and low-cost goroutine pool in Go.
- conc star:10289
concis your toolbelt for structured concurrency in go, making common tasks easier and safer. - tunny star:4031 Goroutine pool for golang.
- goworker star:2848 goworker is a Go-based background worker.
- pond star:2071 Minimalistic and High-performance goroutine worker pool written in Go.
- rill star:1801 Go toolkit for clean, composable, channel-based concurrency.
- workerpool star:1440 Goroutine pool that limits the concurrency of task execution, not the number of tasks queued.
- grpool star:741 Lightweight Goroutine pool.
- pool star:729 Limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation.
- gowp star:522 gowp is concurrency limiting goroutine pool.
- flowmatic star:397 Structured concurrency made easy.
- async star:292 An alternative sync library for Go (Future, Promise, Locks).
- routine star:285
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:276 A tiny library for writing concurrent programs using actor model.
- go-floc star:270 Orchestrate goroutines with ease.
- go-flow star:223 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:164 Drop-in alternative to
sync/errgroup, limited to a pool of N worker goroutines. - cyclicbarrier star:159 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:105 Hunch provides functions like:
All,First,Retry,Waterfalletc., that makes asynchronous flow control more intuitive. - semaphore star:103 Semaphore pattern implementation with timeout of lock/unlock operations based on channel and context.
- threadpool star:103 Golang threadpool implementation.
- 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:18 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.
- anchor star:2 Library to manage component lifecycle in microservice architectures.
GUI
Libraries for building GUI Applications.
Toolkits
- fyne star:27867 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:13851 Cross-platform webview window with simple two-way JavaScript bindings (Windows / macOS / Linux).
- qt star:10778 Qt binding for Go (support for Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi).
- app star:8856 Package to create apps with GO, HTML and CSS. Supports: MacOS, Windows in progress.
- ui star:8353 Platform-native GUI library for Go. Cross platform.
- walk star:7056 Windows application library kit for Go.
- DarwinKit star:5390 Build native macOS applications using Go.
- go-sciter star:2618 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:2302 A framework for building 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the web.
- gotk3 star:2200 Go bindings for GTK3.
- Spot star:1259 Reactive, cross-platform desktop GUI toolkit.
- energy star:571 Cross-platform based on LCL(Native System UI Control Library) and CEF(Chromium Embedded Framework) (Windows/ macOS / Linux)
- cimgui-go star:486 Auto generated Go wrapper for Dear ImGui via cimgui.
- gowd star:436 Rapid and simple desktop UI development with GO, HTML, CSS and NW.js. Cross platform.
- unison star:315 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.
- goradd/html5tag star:13 Library for outputting HTML5 tags.
Interaction
- robotgo star:10596 Go Native cross-platform GUI system automation. Control the mouse, keyboard and other.
- systray star:3654 Cross platform Go library to place an icon and menu in the notification area.
- zenity star:889 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:39 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:4786 Official Arduino CLI and library. Can run standalone, or be incorporated into larger Go projects.
- go-rpio star:2275 GPIO for Go, doesn't require cgo.
- ghw star:1817 Golang hardware discovery/inspection library.
- emgo star:1100 Go-like language for programming embedded systems (e.g. STM32 MCU).
- sysinfo star:574 A pure Go library providing Linux OS / kernel / hardware system information.
- goroslib star:364 Robot Operating System (ROS) library for Go.
- go-osc star:222 Open Sound Control (OSC) bindings for Go.
- joystick star:74 a polled API to read the state of an attached joystick.
Images
Libraries for manipulating images.
- gocv star:7366 Go package for computer vision using OpenCV 3.3+.
- imaginary star:6010 Fast and simple HTTP microservice for image resizing.
- imaging star:5666 Simple Go image processing package.
- gg star:4734 2D rendering in pure Go.
- bild star:4170 Collection of image processing algorithms in pure Go.
- gowitness star:4151 Screenshoting webpages using go and headless chrome on command line.
- imagor star:3876 Fast, secure image processing server and Go library, using libvips.
- ln star:3351 3D line art rendering in Go.
- bimg star:2975 Small package for fast and efficient image processing using libvips.
- picfit star:2323 An image resizing server written in Go.
- svgo star:2236 Go Language Library for SVG generation.
- pt star:2095 Path tracing engine written in Go.
- imagick star:1863 Go binding to ImageMagick's MagickWand C API.
- smartcrop star:1850 Finds good crops for arbitrary images and crop sizes.
- gift star:1790 Package of image processing filters.
- canvas star:1769 Vector graphics to PDF, SVG or rasterized image.
- govips star:1523 A lightning fast image processing and resizing library for Go.
- geopattern star:1284 Create beautiful generative image patterns from a string.
- stegify star:1259 Go tool for LSB steganography, capable of hiding any file within an image.
- image2ascii star:958 Convert image to ASCII.
- goimagehash star:830 Go Perceptual image hashing package.
- go-qrcode star:806 Generate QR codes with personalized styles, allowing adjustments to color, block size, shape, and icons.
- govatar star:607 Library and CMD tool for generating funny avatars.
- mort star:517 Storage and image processing server written in Go.
- go-nude star:422 Nudity detection with Go.
- nativewebp star:384 Go native WebP encoder with zero external dependencies.
- steganography star:354 Pure Go Library for LSB steganography.
- go-webp star:294 Library for encode and decode webp pictures, using libwebp.
- transformimgs star:285 Transformimgs resizes and optimises images for Web using next-generation formats.
- gltf star:273 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:235 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:151 Go binding for the cairo graphics library.
- color-extractor star:131 Dominant color extractor with no external dependencies.
- cameron star:130 An avatar generator for Go.
- 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:59 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:26 Scout is a standalone open source software solution for DIY video security.
- mpo star:22 Decoder and conversion tool for MPO 3D Photos.
IoT (Internet of Things)
Libraries for programming devices of the IoT.
- flogo star:2496 Project Flogo is an Open Source Framework for IoT Edge Apps & Integration.
- ekuiper star:1675 Lightweight data stream processing engine for IoT edge.
- rulego star:1417 RuleGo is a lightweight, high-performance, embedded, orchestrable component-based rule engine for IoT edge.
- shifu star:1399 Kubernetes native IoT development framework.
- gatt star:1165 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:423 Open-Source Platform for Quantified Self & IoT.
- devices star:265 Suite of libraries for IoT devices, experimental for x/exp/io.
- huego star:260 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:96 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:6885 Easy and fluent Go job scheduling. This is an actively maintained fork of jasonlvhit/gocron.
- go-quartz star:1994 Simple, zero-dependency scheduling library for Go.
- JobRunner star:1087 Smart and featureful cron job scheduler with job queuing and live monitoring built in.
- gron star:1042 Define time-based tasks using a simple Go API and Gron’s scheduler will run them accordingly.
- gronx star:484 Cron expression parser, task runner and daemon consuming crontab like task list.
- goflow star:470 A simple but powerful DAG scheduler and dashboard.
- scheduler star:469 Cronjobs scheduling made easy.
- tasks star:321 An easy to use in-process scheduler for recurring tasks in Go.
- 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.
- go-job A flexible and extensible job scheduling and execution library for Go.
- cheek star:194 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:106 Job scheduler that supports webhooks, crons and classic scheduling.
- cdule star:59 Job scheduler library with database support
- go-scheduler star:32 Job scheduler supporting standard cron expressions, custom descriptors, intervals, and task dependencies.
- sched star:28 A job scheduler with the ability to fast-forward time.
- cronticker star:19 A ticker implementation to support cron schedules.
JSON
Libraries for working with JSON.
- GJSON star:15429 Get a JSON value with one line of code.
- gabs star:3530 For parsing, creating and editing unknown or dynamic JSON in Go.
- gojson star:2695 Automatically generate Go (golang) struct definitions from example JSON.
- SJSON star:2688 Set a JSON value with one line of code.
- fastjson star:2430 Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection.
- OjG star:933 Optimized JSON for Go is a high performance parser with a variety of additional JSON tools including JSONPath.
- jsondiff star:620 JSON diff library for Go based on RFC6902 (JSON Patch).
- marshmallow star:391 Performant JSON unmarshalling for flexible use cases.
- kazaam star:292 API for arbitrary transformation of JSON documents.
- ajson star:291 Abstract JSON for golang with JSONPath support.
- jsonvalue star:202 A fast and convenient library for unstructured JSON data, replacing
encoding/json. - gojq star:189 JSON query in Golang.
- jettison star:180 Fast and flexible JSON encoder for Go.
- json2go star:138 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:99 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:65 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:55 Go package for handling common HTTP JSON responses.
- jsoncolor star:49 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:25674 Structured logger for Go.
- zap star:24189 Fast, structured, leveled logging in Go.
- zerolog star:12162 Zero-allocation JSON logger.
- spew star:6367 Implements a deep pretty printer for Go data structures to aid in debugging.
- lumberjack star:5360 Simple rolling logger, implements io.WriteCloser.
- glog star:3617 Leveled execution logs for Go.
- tail star:2779 Go package striving to emulate the features of the BSD tail program.
- pp star:2026 Colored pretty printer for Go language.
- seelog star:1640 Logging functionality with flexible dispatching, filtering, and formatting.
- log star:1377 Structured logging package for Go.
- tint star:1207 A slog.Handler that writes tinted logs.
- log15 star:1100 Simple, powerful logging for Go.
- lazyjournal star:1083 A TUI for reading and filtering logs from journalctl, file system, Docker and Podman containers, as well Kubernetes pods.
- sentry-go star:1037 Sentry SDK for Go. Helps monitor and track errors with real-time alerts and performance monitoring.
- phuslu/log star:830 High performance structured logging.
- slog-multi star:600 Chain of slog.Handler (pipeline, fanout...).
- slogor A colorful slog handler.
- slog star:534 Lightweight, configurable, extensible logger for Go.
- httpretty star:413 Pretty-prints your regular HTTP requests on your terminal for debugging (similar to http.DumpRequest).
- onelog star:413 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.
- sqldb-logger star:384 A logger for Go SQL database driver without modify existing *sql.DB stdlib usage.
- logutils star:369 Utilities for slightly better logging in Go (Golang) extending the standard logger.
- logxi star:360 12-factor app logger that is fast and makes you happy.
- log star:295 Simple, configurable and scalable Structured Logging for Go.
- rollingwriter star:295 RollingWriter is an auto-rotate
io.Writerimplementation with multi policies to provide log file rotation. - go-logger star:289 Simple logger of Go Programs, with level handlers.
- gone/log Fast, extendable, full-featured, std-lib source compatible log library.
- slog-formatter star:209 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:157 Minimalistic logging library for Go.
- xlog star:141 Structured logger for
net/contextaware HTTP handlers with flexible dispatching. - 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).
- timberjack star:114 Rolling logger with size-based, time-based, and scheduled clock-based rotation, supporting compression and cleanup.
- go-cronowriter star:57 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.
- mlog star:33 Simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output.
- zax star:32 Integrate Context with Zap logger, which leads to more flexibility in Go logging.
- 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:26 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.
- go-log star:11 A logging library with stack traces, object dumping and optional timestamps.
- logdump star:11 Package for multi-level logging.
- 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:10 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:9454 General Machine Learning library for Go.
- gorgonia star:5908 graph-based computational library like Theano for Go that provides primitives for building various machine learning and neural network algorithms.
- gosseract star:3057 Go package for OCR (Optical Character Recognition), by using Tesseract C++ library.
- m2cgen star:2952 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:2493 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:1614 On-line Machine Learning in Go.
- GoMLX star:1296 An accelerated Machine Learning framework for Go.
- eaopt star:904 An evolutionary optimization library.
- onnx-go star:870 Go Interface to Open Neural Network Exchange (ONNX).
- bayesian star:810 Naive Bayesian Classification for Golang.
- ocrserver star:762 A simple OCR API server, seriously easy to be deployed by Docker and Heroku.
- CloudForest star:749 Fast, flexible, multi-threaded ensembles of decision trees for machine learning in pure Go.
- gobrain star:568 Neural Networks written in go.
- go-deep star:559 A feature-rich neural network library in Go.
- hugot star:552 Huggingface transformer pipelines for golang with onnxruntime.
- regommend star:313 Recommendation & collaborative filtering engine.
- Goptuna star:275 Bayesian optimization framework for black-box functions written in Go. Everything will be optimized.
- goga star:221 Genetic algorithm library for Go.
- goRecommend star:205 Recommendation Algorithms library written in Go.
- go-galib star:200 Genetic Algorithms library written in Go / golang.
- shield star:159 Bayesian text classifier with flexible tokenizers and storage backends for Go.
- go-fann star:117 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:83 Neural Network for Go.
- 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:59 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.
- godist star:43 Various probability distributions, and associated methods.
- ddt star:42 Dynamic decision tree, create trees defining customizable rules.
- evoli star:34 Genetic Algorithm and Particle Swarm Optimization library.
- catboost-cgo star:24 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.
- gorse star:7 An offline recommender system backend based on collaborative filtering written in Go.
Messaging
Libraries that implement messaging systems.
- Asynq star:12819 A simple, reliable, and efficient distributed task queue for Go built on top of Redis.
- Centrifugo star:9886 Real-time messaging (Websockets or SockJS) server in Go.
- gorush star:8680 Push notification server using APNs2 and google GCM.
- machinery star:7941 Asynchronous task queue/job queue based on distributed message passing.
- NATS Go Client star:6409 Go client for the NATS
- Mercure star:5174 Server and library to dispatch server-sent updates using the Mercure protocol (built on top of Server-Sent Events).
- Confluent Kafka Golang Client star:5098 confluent-kafka-go is Confluent's Golang client for Apache Kafka and the Confluent Platform.
- melody star:4058 Minimalist framework for dealing with websocket sessions, includes broadcasting and automatic ping/pong handling.
- APNs2 star:3160 HTTP/2 Apple Push Notification provider for Go - Send push notifications to iOS, tvOS, Safari and OSX apps.
- go-nsq star:2661 the official Go package for NSQ.
- gopush-cluster star:2075 gopush-cluster is a go push server cluster.
- amqp star:1963 Go RabbitMQ Client Library.
- EventBus star:1953 The lightweight event bus with async compatibility.
- Beaver star:1583 A real time messaging server to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps.
- Chanify star:1322 A push notification server send message to your iOS devices.
- dbus star:1138 Native Go bindings for D-Bus.
- Gollum star:940 A n:m multiplexer that gathers messages from different sources and broadcasts them to a set of destinations.
- mangos star:743 Pure go implementation of the Nanomsg ("Scalability Protocols") with transport interoperability.
- golongpoll star:666 HTTP longpoll server library that makes web pub-sub simple.
- emitter star:525 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:359 Minimalist message bus implementation for internal communication.
- messagebus star:286 messagebus is a Go simple async message bus, perfect for using as event bus when doing event sourcing, CQRS, DDD.
- Go-MediatR star:273 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:137 Type-safe, persistent, embedded task queues and background job runner w/ SQLite.
- go-mq star:91 RabbitMQ client with declarative configuration.
- drone-line star:80 Sending Line notifications using a binary, docker or Drone CI.
- go-notify star:71 Native implementation of the freedesktop notification spec.
- Commander star:67 A high-level event driven consumer/producer supporting various "dialects" such as Apache Kafka.
- go-res star:67 Package for building REST/real-time services where clients are synchronized seamlessly, using NATS and Resgate.
- event star:62 Implementation of the pattern observer.
- hare star:54 A user friendly library for sending messages and listening to TCP sockets.
- GoEventBus star:53 A blazing‑fast, in‑memory, lock‑free event bus library
- 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:9 Simple Event Bus package for Go.
messaging system.
- sarama star:12408 Go library for Apache Kafka.
- Watermill star:9474 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:1562 Redis backed unified push service for server-side notifications to mobile devices.
- zmq4 star:1245 Go interface to ZeroMQ version 4. Also available for version 3 and version 2.
- Quamina star:472 Fast pattern-matching for filtering messages and events.
- pubsub star:447 Simple pubsub package for go.
- rabtap star:278 RabbitMQ swiss army knife cli app.
- varmq star:176 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:124 Ratus is a RESTful asynchronous task queue server.
- rabbitroutine star:114 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:110 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:4804 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:20241 Golang library for reading and writing Microsoft Excel™ (XLSX) files.
- xlsx star:6008 Library to simplify reading the XML format used by recent version of Microsoft Excel in Go programs.
- go-excel star:199 A simple and light reader to read a relate-db-like excel as a table.
- xlsx star:176 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:235 Library for reading and writing Microsoft Word (Docx) files.
Miscellaneous
Dependency Injection
Libraries for working with dependency injection.
- fx star:7313 A dependency injection based application framework for Go (built on top of dig).
- dig star:4431 A reflection based dependency injection toolkit for Go.
- do star:2622 A dependency injection framework based on Generics.
- GoLobby/Container star:609 GoLobby Container is a lightweight yet powerful IoC dependency injection container for the Go programming language.
- goioc/di star:377 Spring-inspired Dependency Injection Container.
- di star:240 A dependency injection container for go programming language.
- kod star:195 A generics based dependency injection framework for Go.
- dingo star:188 A dependency injection toolkit for Go, based on Guice.
- Go-Spring star:75 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:68 Microsoft-style dependency injection for Go with scoped lifetimes and generics.
- gontainer star:63 A dependency injection service container for Go projects.
- 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.
- nject star:30 A type safe, reflective framework for libraries, tests, http endpoints, and service startup.
- parsley star:30 A flexible and modular reflection-based DI library with advanced features like scoped contexts and proxy generation, designed for large-scale Go applications.
- componego star:28 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:24 Lightweight, generic & simple dependency injection (DI) container.
- gocontainer star:22 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:55216 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:8599 Allows users to spin up a quick Go project using a popular framework.
- ardanlabs/service star:3929 A starter kit for building production grade scalable web service applications.
- goxygen star:3607 Generate a modern Web project with Go and Angular, React, or Vue in seconds.
- pagoda star:2901 Rapid, easy full-stack web development starter kit built in Go.
- nunu star:2539 Nunu is a scaffolding tool for building Go applications.
- modern-go-application star:1939 Go application boilerplate and example applying modern practices.
- goapp star:1047 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:592 An opinionated production-ready RESTful JSON backend template, highly integrated with VSCode DevContainers.
- golang-templates/seed star:553 Go application GitHub repository template.
- go-todo-backend star:335 Go Todo Backend example using modular project layout for product microservice.
- scaffold star:148 Scaffold generates a starter Go project layout. Lets you focus on business logic implemented.
- go-sample star:137 A sample layout for Go application projects with the real code.
- kickstart.go star:101 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-module star:36 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.
- xstrings star:1418 Collection of useful string functions ported from other languages.
- sttr star:1282 cross-platform, cli app to perform various operations on string.
- gobeam/Stringy star:251 String manipulation library to convert string to camel case, snake case, kebab case / slugify etc.
- strutil star:207 String utilities.
- 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:13 Case-insensitive implementation of the standard library's strings/bytes packages.
Uncategorized
These libraries were placed here because none of the other categories seemed to fit.
- gopsutil star:11683 Cross-platform library for retrieving process and system utilization(CPU, Memory, Disks, etc).
- gatus star:9948 Automated service health dashboard.
- gofakeit star:5294 Random data generator written in go.
- purego star:3329 A library for calling C functions from Go without Cgo.
- base64Captcha star:2339 Base64captch supports digit, number, alphabet, arithmetic, audio and digit-alphabet captcha.
- go-resiliency star:2337 Resiliency patterns for golang.
- shoutrrr star:1486 Notification library providing easy access to various messaging services like slack, mattermost, gotify and smtp among others.
- gosms star:1472 Your own local SMS gateway in Go that can be used to send SMS.
- llvm star:1272 Library for interacting with LLVM IR in pure Go.
- go-commons-pool star:1245 Generic object pool for Golang.
- go-openapi Collection of packages to parse and utilize open-api schemas.
- stateless star:1162 A fluent library for creating state machines.
- shortid star:959 Distributed generation of super short, unique, non-sequential, URL friendly IDs.
- health star:828 A simple and flexible health check library for Go.
- xz star:546 Pure golang package for reading and writing xz-compressed files.
- banner star:462 Add beautiful banners into your Go applications.
- health star:450 Easy to use, extensible health check library.
- gountries star:424 Package that exposes country and subdivision data.
- lk star:406 A simple licensing library for golang.
- conv star:381 Package conv provides fast and intuitive conversions across Go types.
- archives star:367 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.
- gtree star:324 Provide CLI, Package and Web for tree output and directories creation from Markdown or programmatically.
- ffmt star:313 Beautify data display for Humans.
- go-unarr star:304 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:271 Cross-platform, normalized battery information library.
- antch star:264 A fast, powerful and extensible web crawling & scraping framework.
- bitio star:256 Highly optimized bit-level Reader and Writer for Go.
- stats star:171 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:161 Package captcha provides an easy to use, unopinionated API for captcha generation.
- gommit star:115 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:85 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.
- numa star:37 NUMA is a utility library, which is written in go. It help us to write some NUMA-AWARED code.
- gosh star:35 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.
- 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.
- fake-useragent star:13 Up-to-date simple useragent faker with real world database in Golang
- 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:1317 An accurate natural language detection library, suitable for long and short text alike. Supports detecting multiple languages in mixed-language text.
- whatlanggo star:678 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:1842 Self-contained Machine Learning and Natural Language Processing library in Go.
- kagome star:938 JP morphological analyzer written in pure Go.
- nlp star:467 Go Natural Language Processing library supporting LSA (Latent Semantic Analysis).
- RAKE.go star:122 Go port of the Rapid Automatic Keyword Extraction Algorithm (RAKE).
- go-stem star:82 Implementation of the porter stemming algorithm.
- go2vec star:58 Reader and utility functions for word2vec embeddings.
- govader star:52 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:12 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:7 Microservice implementation of GoVader.
- spelling-corrector star:2 A spelling corrector for the Spanish language or create your own.
Slugifiers
- slug star:1314 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:2777 Go efficient text segmentation; support english, chinese, japanese and other.
- gojieba star:2616 This is a Go implementation of jieba which a Chinese word splitting algorithm.
- sentences star:463 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:54 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:1753 CN Hanzi to Hanyu Pinyin converter.
- gotext star:489 GNU gettext utilities for Go.
- spreak star:92 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:144 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:23238 Package fasthttp is a fast HTTP implementation for Go, up to 10 times faster than net/http.
- webrtc star:15973 A pure Go implementation of the WebRTC API.
- kcptun star:14520 Extremely simple & fast udp tunnel based on KCP protocol.
- cloudflared star:12826 Cloudflare Tunnel client (formerly Argo Tunnel).
- quic-go star:11367 An implementation of the QUIC protocol in pure Go.
- gnet star:11065
gnetis a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go. - dns star:8623 Go library for working with DNS.
- gopacket star:6728 Go library for packet processing with libpcap bindings.
- GoProxy star:6578 A library to create a customized HTTP/HTTPS proxy server using Go.
- tun2socks star:4842 A pure go implementation of tun2socks powered by gVisor TCP/IP stack.
- netpoll star:4527 A high-performance non-blocking I/O networking framework, which focused on RPC scenarios, developed by ByteDance.
- kcp-go star:4476 KCP - Fast and Reliable ARQ Protocol.
- HTTPLab star:4210 HTTPLabs let you inspect HTTP requests and forge responses.
- ssh star:4079 Higher-level API for building SSH servers (wraps crypto/ssh).
- gobgp star:3974 BGP implemented in the Go Programming Language.
- fortio star:3667 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:2693 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:2128 Simple TUN/TAP library.
- nodepass star:2019 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:1791 Go library for downloading files or directories from various sources using a URL.
- gev star:1773 gev is a lightweight, fast non-blocking TCP network library based on Reactor mode.
- gws star:1702 High-Performance WebSocket Server & Client With AsyncIO Supporting .
- sftp star:1634 Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt.
- grab star:1468 Go package for managing file downloads.
- NFF-Go star:1418 Framework for rapid development of performant network functions for cloud and bare-metal (former YANFF).
- ftp star:1381 Package ftp implements a FTP client as described in RFC 959.
- mdns star:1328 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.
- gosnmp star:1236 Native Go library for performing SNMP actions.
- gmqtt star:1031 Gmqtt is a flexible, high-performance MQTT broker library that fully implements the MQTT protocol V3.1.1.
- sdns star:1025 A high-performance, recursive DNS resolver server with DNSSEC support, focused on preserving privacy.
- gaio star:1019 High performance async-io networking for Golang in proactor mode.
- vssh star:992 Go library for building network and server automation over SSH protocol.
- cidranger star:967 Fast IP to CIDR lookup for Go.
- easytcp star:824 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:717 Go implementation of the STUN client (RFC 3489 and RFC 5389).
- lhttp star:690 Powerful websocket framework, build your IM server more easily.
- peerdiscovery star:668 Pure Go library for cross-platform local peer discovery using UDP multicast.
- gotcp star:513 Go package for quickly writing tcp applications.
- stun star:496 Go implementation of RFC 5389 STUN protocol.
- gopcap star:491 Go wrapper for libpcap.
- ftpserverlib star:462 Fully featured FTP server library.
- winrm star:458 Go WinRM client to remotely execute commands on Windows machines.
- arp star:381 Package arp implements the ARP protocol, as described in RFC 826.
- dnsmonster star:350 Passive DNS Capture/Monitoring Framework.
- ethernet star:284 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.
- jazigo star:229 Jazigo is a tool written in Go for retrieving configuration for multiple network devices.
- psql-wire star:216 PostgreSQL server wire protocol. Build your own server and start serving connections..
- utp star:182 Go uTP micro transport protocol implementation.
- tcpack star:167 tcpack is an application protocol based on TCP to Pack and Unpack bytes stream in go program.
- xtcp star:159 TCP Server Framework with simultaneous full duplex communication, graceful shutdown, and custom protocol.
- canopus star:156 CoAP Client/Server implementation (RFC 7252).
- iplib star:152 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.
- event star:119 Simple I/O event notification library written in Golang.
- gldap star:118 gldap provides an ldap server implementation and you provide handlers for its ldap operations.
- bart star:114 Package bart provides a Balanced-Routing-Table (BART) for very fast IP to CIDR lookups and more.
- go-powerdns star:103 PowerDNS API bindings for Golang.
- natiu-mqtt star:102 A dead-simple, non-allocating, low level implementation of MQTT well suited for embedded systems.
- fullproxy star:82 A fully featured scriptable and daemon configurable proxy and pivoting toolkit with SOCKS5, HTTP, raw ports and reverse proxy protocols.
- ether star:81 Cross-platform Go package for sending and receiving ethernet frames.
- dhcp6 star:79 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:55 Network link speed simulation for Reader/Writer interfaces.
- httpproxy star:32 HTTP proxy handler and dialer.
- publicip star:29 Package publicip returns your public facing IPv4 address (internet egress).
- go-multiproxy star:28 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
- graval star:28 Experimental FTP server framework.
- gnet star:26
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.
- 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:7 Lightweight live packet capture library with HTTPS SNI extraction.
HTTP Clients
Libraries for making HTTP requests.
- go-retryablehttp star:2268 Retryable HTTP client in Go.
- gentleman star:1124 Full-featured plugin-driven HTTP client library.
- go-cleanhttp star:429 Get easily stdlib HTTP client, which does not share any state with other clients.
- azuretls-client star:415 An easy-to-use HTTP client 100% in Go to spoof TLS/JA3 and HTTP2 fingerprint.
- fast-shot star:94 Hit your API targets with rapid-fire precision using Go's fastest and simple HTTP Client.
- go-zoox/fetch star:89 A Powerful, Lightweight, Easy Http Client, inspired by Web Fetch API.
- go-http-client star:85 Make http calls simply and easily.
- go-otelroundtripper star:85 Go http.RoundTripper that emits open telemetry metrics for HTTP requests.
- axios4go star:30 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:11508 Simple HTTP and REST client for Go inspired by Ruby rest-client.
- req star:4751 Simple Go HTTP client with Black Magic (Less code and More efficiency).
- heimdall star:2700 An enhanced http client with retry and hystrix capabilities.
- grequests star:2186 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:1664 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.
- tls-client star:1425 net/http.Client like HTTP Client with options to select specific client TLS Fingerprints to use for requests.
- surf star:1283 Advanced HTTP client with HTTP/1.1, HTTP/2, HTTP/3 (QUIC), SOCKS5 proxy support and browser-grade TLS fingerprinting.
- pester star:654 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.
- httpretry star:57 Enriches the default go HTTP client with retry functionality.
- rq star:53 A nicer interface for golang stdlib HTTP client.
OpenGL
Libraries for using OpenGL in Go.
- glfw star:1662 Go bindings for GLFW 3.
- gl star:1186 Go bindings for OpenGL (generated via glow).
- mathgl star:595 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:39444 The fantastic ORM library for Golang, aims to be developer friendly.
- ent star:16882 An entity framework for Go. Simple, yet powerful ORM for modeling and querying data.
- SQLBoiler star:6972 ORM generator. Generate a featureful and blazing-fast ORM tailored to your database schema.
- bun star:4633 SQL-first Golang ORM. Successor of go-pg.
- gorp star:3753 Go Relational Persistence, ORM-ish library for Go.
- upper.io/db star:3636 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:2437 Mysql database to golang gorm struct.
- Prisma star:2288 Prisma Client Go, Typesafe database access for Go.
- go-sqlbuilder star:1659 A flexible and powerful SQL string builder library plus a zero-config ORM.
- bob star:1611 SQL query builder and ORM/Factory generator for Go. Successor of SQLBoiler.
- pop/soda star:1497 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:313 Blazing-fast datastore and querying engine built on Redis.
- go-sql star:179 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:24 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:16 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:8295 A CLI tool and Go library for generating a Software Bill of Materials (SBOM) from container images and filesystems.
- gup star:534 Update binaries installed by "go install".
- modup star:61 Terminal UI for Go dependency updates with outdated module detection and selective upgrading.
Performance
- jaeger star:22401 A distributed tracing system.
- ebpf-go star:7496 Provides utilities for loading, compiling, and debugging eBPF programs.
- pixie star:6341 No instrumentation tracing for Golang applications via eBPF.
- statsviz star:3619 Live visualization of your Go application runtime statistics.
- profile star:2053 Simple profiling support package for Go.
- go-instrument star:288 Automatically add spans to all methods and functions.
- mm-go star:193 Generic manual memory management for golang.
- tracer star:90 Simple, lightweight tracing.
Query Language
- gqlgen star:10651 go generate based graphql server library.
- graphql-go star:10144 Implementation of GraphQL for Go.
- dasel star:7804 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:4742 GraphQL server with a focus on ease of use.
- gojsonq star:2232 A simple Go package to Query over JSON Data.
- play star:535 A TUI playground to experiment with your favorite programs, such as grep, sed, awk, jq and yq.
- rql star:363 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:89 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:63 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:4 A GraphQL field builder utilizing Go generics with extra utilities and features.
Reflection
- Deepcopier star:461 Simple struct copying for Go.
- go-deepcopy star:125 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:8288 Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more.
- stats star:3001 Statistics package with common functions missing from the Golang standard library.
- gonum/plot star:2938 gonum/plot provides an API for building and drawing plots in Go.
- gosl star:1871 Go scientific library for linear algebra, FFT, geometry, NURBS, numerical methods, probabilities, optimisation, differential equations, and more.
- streamtools star:1311 general purpose, graphical tool for dealing with streams of data.
- dataframe-go star:1284 Dataframes for machine-learning and statistics (similar to pandas).
- orb star:1084 2D geometry types with clipping, GeoJSON and Mapbox Vector Tile support.
- assocentity Package assocentity returns the average distance from words to a given entity.
- go-dsp star:900 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:745 Pure Go graph theory library(data structure, algorithm visualization).
- Poly star:719 A Go package for engineering organisms.
- ewma star:451 Exponentially-weighted moving averages.
- calendarheatmap star:411 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:222 TextRank implementation in Golang with extendable features (summarization, weighting, phrase extraction) and multithreading (goroutine) support.
- sparse star:166 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:105 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.
- 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.
- 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:16 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.
Security
Libraries that are used to help make your application more secure.
- age star:21103 A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
- lego star:9208 Pure Go ACME client library and CLI tool (for use with Let's Encrypt).
- CertMagic star:5428 Mature, robust, and powerful ACME client integration for fully-managed TLS certificate issuance and renewal.
- Cameradar star:4840 Tool and library to remotely hack RTSP streams from surveillance cameras.
- Coraza star:3227 Enterprise-ready, modsecurity and OWASP CRS compatible WAF library.
- memguard star:2707 A pure Go library for handling sensitive values in memory.
- secure star:2335 HTTP middleware for Go that facilitates some quick security wins.
- acmetool star:2090 ACME (Let's Encrypt) client tool with automatic renewal.
- acopw-go Small cryptographically secure password generator package for Go.
- themis star:1946 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.
- beelzebub star:1823 A secure low code honeypot framework, leveraging AI for System Virtualization.
- acra star:1451 Network encryption proxy to protect database-based applications from data leaks: strong selective encryption, SQL injections prevention, intrusion detection system.
- dongle star:1097 A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption.
- SafeDep/vet star:938 Protect against malicious open source packages.
- booster star:619 Fast initramfs generator with full-disk encryption support.
- go-password-validator star:565 Password validator based on raw cryptographic entropy values.
- nacl star:551 Go implementation of the NaCL set of API's.
- ssh-vault star:493 encrypt/decrypt using ssh keys.
- teler-waf star:399 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:385 Go Bindings for YARA, the "pattern matching swiss knife for malware researchers (and everyone else)".
- optimus-go star:365 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:315 A software library for creating secure and anonymous decentralized systems.
- passlib star:291 Futureproof password hashing library.
- simple-scrypt star:201 Scrypt package with a simple, obvious API and automatic cost calibration built-in.
- urusai star:178 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:95 Pure Golang library to manage LUKS partitions.
- passwap star:72 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.
- go-htpasswd star:46 Apache htpasswd Parser for Go.
- certificates star:38 An opinionated tool for generating tls certificates.
- secureio star:33 An keyexchanging+authenticating+encrypting wrapper and multiplexer for
io.ReadWriteCloserbased on XChaCha20-poly1305, ECDH and ED25519. - secret star:32 Prevent your secrets from leaking into logs, std* etc.
- sslmgr star:30 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.
- multikey star:11 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.
Serialization
Libraries and tools for binary serialization.
- jsoniter star:13939 High-performance 100% compatible drop-in replacement of "encoding/json".
- goprotobuf star:10058 Go support, in the form of a library and protocol compiler plugin, for Google's protocol buffers.
- go-codec star:1934 High Performance, feature-Rich, idiomatic encode, decode and rpc library for msgpack, cbor and json, with runtime-based OR code-generation support.
- csvutil star:1030 High Performance, idiomatic CSV record encoding and decoding to native Go structures.
- cbor star:1011 Small, safe, and easy CBOR encoding and decoding library.
- colfer star:756 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:144 Library to easily and dynamically generate maps from static structures.
- binstruct star:111 Golang binary decoder for mapping data into the structure.
- bambam star:64 generator for Cap'n Proto schemas from go.
- bel star:45 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.
- go-csvlib star:19 High level and rich functionalities CSV serialization/deserialization library.
- pletter star:19 A standard way to wrap a proto message for message brokers.
- 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:69495 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:59981 Minio is a distributed object storage server.
- pocketbase star:55662 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:51417 Highly-available key value store for shared configuration and service discovery.
- SFTPGo star:11631 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:8384 High-performance PHP application server, load-balancer and process manager.
- Easegress star:5866 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:4829 Make SSH apps, just like that!
- flipt star:4696 A self contained feature flag solution written in Go and Vue.js
- Fider star:4057 Fider is an open platform to collect and organize customer feedback.
- devd star:3471 Local webserver for developers.
- algernon star:2979 HTTP/2 web server with built-in support for Lua, Markdown, GCSS and Amber.
- Flagr star:2569 Flagr is an open-source feature flagging and A/B testing service.
- Trickster star:2068 HTTP reverse proxy cache and time series accelerator.
- go-feature-flag star:1915 A simple, complete and lightweight self-hosted feature flag solution 100% Open Source.
- discovery star:1806 A registry for resilient mid-tier load balancing and failover.
- OpenRun star:721 Open-source alternative to Google Cloud Run and AWS App Runner. Easily deploy internal tools across a team.
- Euterpe star:568 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:131 Prometheus remote write proxy that adds add Cortex tenant ID header based on metric labels.
- lets-proxy2 star:101 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.
- 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:2155 Go stream processing library.
- ro star:572 Reactive Programming: declarative and composable API for event-driven applications.
- go-etl star:182 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:165 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:53 A lightweight streaming SQL engine for real-time data processing.
- nibbler star:13 A lightweight package for micro batch processing.
Template Engines
Libraries and tools for templating and lexing.
- templ star:10025 A HTML templating language that has great developer tooling.
- quicktemplate star:3295 Fast, powerful, yet easy to use template engine. Converts templates into Go code and then compiles it.
- pongo2 star:3024 Django-like template-engine for Go.
- maroto star:2629 A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.
- jet star:1380 Jet template engine.
- fasttemplate star:901 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:590 Lightweight templating language that lets you write templates in Go. Templates are translated into Go and compiled.
- extemplate Tiny wrapper around html/template to allow for easy file-based template inheritance.
- goview star:466 Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
- htmgo build simple and scalable systems with go + htmx
- liquid star:340 Go implementation of Shopify Liquid templates.
- sprout star:208 Useful template functions for Go templates.
- Soy star:177 Closure templates (aka Soy templates) for Go, following the official spec.
- 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:7 A type-safe HTML template rendering engine for Go.
Testing
Libraries for testing codebases and generating test data.
Testing Frameworks
- Testify star:25730 Sacred extension to the standard go testing package.
- keploy star:15586 Generate Testcase and Data Mocks from API calls automatically.
- testcontainers-go star:4627 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:4583 Package for comparing Go values in tests.
- httpexpect star:2709 Concise, declarative, and easy to use end-to-end HTTP and REST API testing.
- godog star:2580 Cucumber BDD framework for Go.
- is star:1947 Professional lightweight testing mini-framework for Go.
- gnomock star:1478 integration testing with real dependencies (database, cache, even Kubernetes or AWS) running in Docker, without mocks.
- go-vcr star:1349 Record and replay your HTTP interactions for fast, deterministic and accurate tests.
- testfixtures star:1215 A helper for Rails' like test fixtures to test database applications.
- embedded-postgres star:1113 Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test.
- goblin star:892 Mocha like testing framework of Go.
- goc star:877 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:806 HTTP testing and debugging tool with various endpoints for client testing.
- baloo star:782 Expressive and versatile end-to-end HTTP API testing made easy.
- go-mutesting star:663 Mutation testing for Go source code.
- gotest.tools star:578 A collection of packages to augment the go testing package and support common patterns.
- go-testdeep star:457 Extremely flexible golang deep comparison, extends the go testing package.
- gofight star:445 API Handler Testing for Golang Router framework.
- testza star:419 Full-featured test framework with nice colorized output.
- cupaloy star:328 Simple snapshot testing addon for your test framework.
- frisby star:275 REST API testing framework.
- got star:269 An enjoyable golang test framework.
- endly star:267 Declarative end to end functional testing.
- go-hit star:258 Hit is an http integration test framework written in golang.
- go-carpet star:251 Tool for viewing test coverage in terminal.
- arch-go star:245 Architecture testing tool for Go projects.
- commander star:229 Tool for testing cli applications on windows, linux and osx.
- go-test-coverage star:215 Tool that reports coverage of files below set threshold.
- charlatan star:204 Tool to generate fake interface implementations for tests.
- dbcleaner star:164 Clean database for testing purpose, inspired by
database_cleanerin Ruby. - jsonassert star:140 Package for verifying that your JSON payloads are serialized correctly.
- be star:131 The minimalist generic test assertion library.
- testcase star:127 Idiomatic testing framework for Behavior Driven Development.
- gocrest star:106 Composable hamcrest-like matchers for Go assertions.
- wstest star:102 Websocket client for unit-testing a websocket http.Handler.
- gherkingen star:92 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:48 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.
- 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:20 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:6967 Tool to generate Go interfaces.
- go-sqlmock star:6515 Mock SQL driver for testing database interactions.
- gomock star:3242 Mocking framework for the Go programming language.
- hoverfly star:2462 HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI.
- gock star:2214 Versatile HTTP mocking made easy.
- moq star:2171 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:2073 Easy mocking of HTTP responses from external resources.
- counterfeiter star:1116 Tool for generating self-contained mock objects.
- genmock Go mocking system with code generator for building calls of the interface methods.
- minimock star:744 Mock generator for Go interfaces.
- go-txdb star:740 Single transaction based database driver mainly for testing purposes.
- pgxmock star:559 A mock library implementing pgx - PostgreSQL Driver and Toolkit.
- xgo star:430 A general pureposed function mocking library.
- govcr star:196 HTTP mock for Golang: record and replay HTTP interactions for offline testing.
- go-localstack star:86 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:7 Mock filesystem for Go testing with error injection and latency simulation, built on
testing/fstest.MapFS. - connexions star:3 Combine multiple APIs with meaningful responses, configurable latency and error codes based on OpenAPI 3.0 specifications and files.
Fuzzing and delta-debugging/reducing/shrinking
- go-fuzz star:4844 Randomized testing system.
- Tavor star:247 Generic fuzzing and delta-debugging framework.
Selenium and browser control tools
- chromedp star:12692 a way to drive/test Chrome, Safari, Edge, Android Webviews, and other browsers supporting the Chrome Debugging Protocol.
- rod star:6596 A Devtools driver to make web automation and scraping easy.
- playwright-go star:3144 browser automation library to control Chromium, Firefox and WebKit with a single API.
- cdp star:779 Type-safe bindings for the Chrome Debugging Protocol that can be used with browsers or other debug targets that implement it.
Fail injection
- failpoint star:873 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:4788 Formatters for time, numbers, and memory size to human readable format.
- sq star:2424 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:338 Easily pretty-print your tabular data with Go.
- go-fixedwidth star:87 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:6 Wraps text at end of lines. Implementation of
textwrapmodule from Python.
Markup Languages
- blackfriday star:5615 Markdown processor in Go.
- toml star:4890 TOML configuration format (encoder/decoder with reflection).
- goldmark star:4567 A Markdown parser written in Go. Easy to extend, standard (CommonMark) compliant, well structured.
- html-to-markdown star:3374 Convert HTML to Markdown. Even works with entire websites and can be extended through rules.
- go-toml star:1901 Go library for the TOML format with query support and handy cli tools.
- htmlquery star:780 An XPath query package for HTML, lets you extract data or evaluate from HTML documents by an XPath expression.
- mxj star:633 Encode / decode XML as JSON or map[string]interface{}; extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.
- goq star:271 Declarative unmarshalling of HTML using struct tags with jQuery syntax (uses GoQuery).
- bafi star:112 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:8421 Shell parser and formatter.
- gofeed star:2803 Parse RSS and Atom feeds in Go.
- go-querystring star:2128 Go library for encoding structs into URL query parameters.
- godump (goforj) star:1676 Pretty-print Go structs with Laravel/Symfony-style dumps, full type info, colorized CLI output, cycle detection, and private field access.
- when star:1457 Natural EN and RU language date/time parser with pluggable rules.
- commonregex star:900 A collection of common regular expressions for Go.
- gographviz star:568 Parses the Graphviz DOT language.
- go-nmea star:255 NMEA parser library for the Go language.
- godump star:223 Pretty print any GO variable with ease, an alternative to Go's
fmt.Printf("%#v"). - editorconfig-core-go star:150 Editorconfig file parser and manipulator for Go.
- encdec Package provides a generic interface to encoders and decoders.
- tokenizer star:138 Parse any string, slice or infinite buffer to any tokens.
- go-vcard star:123 Parse and format vCard.
- did star:95 DID (Decentralized Identifiers) Parser and Stringer in Go.
- vdf star:62 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.
- ltsv star:10 High performance LTSV (Labeled Tab Separated Value) reader for Go.
- parseargs-go star:10 string argument parser that understands quotes and backslashes.
- prattle star:8 Scan and parse LL(1) grammars simply and efficiently.
Regular Expressions
- rex star:210 Regular expressions builder.
- regroup star:150 Match regex expression named groups into go struct using struct tags and automatic parsing.
- go-wildcard star:99 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:3614 HTML Sanitizer.
- gofuckyourself star:68 A sanitization-based swear filter for Go.
Scrapers
- colly star:25035 Fast and Elegant Scraping Framework for Gophers.
- GoQuery star:14909 GoQuery brings a syntax and a set of features similar to jQuery to the Go language.
- xurls star:1242 Extract urls from text.
- dataflowkit star:710 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:138 iTunes Compliant and RSS 2.0 Podcast Generator in Golang
Utility/Miscellaneous
- lancet star:5266 A comprehensive, Lodash-like utility library for Go
- w2vgrep star:1203 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:674 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:20 Common case conversions covering common initialisms.
- TySug star:19 Alternative suggestions with respect to keyboard layouts.
Third-party APIs
Libraries for accessing third party APIs.
- github star:11109 Go library for accessing the GitHub REST API v3.
- go-openai star:10527 OpenAI ChatGPT, DALL·E, Whisper API library for Go.
- discordgo star:5760 Go bindings for the Discord Chat API.
- slack star:4888 Slack API in Go.
- google-cloud star:4405 Google Cloud APIs Go Client Library.
- google star:4388 Auto-generated Google APIs for Go.
- aws-sdk-go star:3436 The official AWS SDK for the Go programming language.
- minio-go star:2892 Minio Go Library for Amazon S3 compatible cloud storage.
- stripe star:2517 Go client for the Stripe API.
- go-jira star:1592 Go client library for Atlassian JIRA
- facebook star:1438 Go Library that supports the Facebook Graph API.
- githubql star:1180 Go library for accessing the GitHub GraphQL API v4.
- anaconda star:1141 Go client library for the Twitter 1.1 API.
- webhooks star:1026 Webhook receiver for GitHub and Bitbucket.
- paypal star:769 Wrapper for PayPal payment API.
- geo-golang star:538 Go Library to access Google Maps, MapQuest, Nominatim, OpenCage, Bing, Mapbox, and OpenStreetMap geocoding / reverse geocoding APIs.
- lark star:460 Feishu/Lark Open API Go SDK, Support ALL Open API and Event Callback.
- openaigo star:299 OpenAI GPT3/GPT3.5 ChatGPT API client library for Go.
- ethrpc star:279 Go bindings for Ethereum JSON RPC API.
- go-lark star:236 An easy-to-use unofficial SDK for Feishu and Lark Open Platform.
- Trello star:227 Go wrapper for the Trello API.
- go-marathon star:199 Go library for interacting with Mesosphere's Marathon PAAS.
- go-atlassian star:194 Go library for accessing the Atlassian Cloud services (Jira, Jira Service Management, Jira Agile, Confluence, Admin Cloud)
- simples3 star:191 Simple no frills AWS S3 Library using REST with V4 Signing written in Go.
- wit-go star:169 Go client for wit.ai HTTP API.
- gosip star:167 Client library for SharePoint.
- golang-tmdb star:154 Golang wrapper for The Movie Database API v3.
- pushover star:154 Go wrapper for the Pushover API.
- go-trending star:146 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.
- hipchat (xmpp) star:111 A golang package to communicate with HipChat over XMPP.
- disgo star:109 Go API Wrapper for the Discord API.
- hipchat star:104 This project implements a golang client library for the Hipchat API.
- go-gerrit star:103 Go client library for Gerrit Code Review.
- 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.
- go-postman-collection star:87 Go module to work with Postman Collections (compatible with Insomnia).
- gogtrends star:87 Google Trends Unofficial API.
- igdb star:85 Go client for the Internet Game Database API.
- airtable star:82 Go client library for the Airtable 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:57 Go wrapper and command-line client for the Uptime Robot v2 API.
- clarifai star:55 Go client library for interfacing with the Clarifai API.
- megos star:54 Client library for accessing an Apache Mesos cluster.
- go-salesforce star:53 Go client library for interacting with the Salesforce REST 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.
- spotify star:50 Go Library to access Spotify WEB 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:40 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.
- jokeapi-go star:27 Go client for JokeAPI.
- coinpaprika-go star:26 Go client library for interacting with Coinpaprika's API.
- 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.
- 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-hibp star:11 Simple Go binding to the "Have I Been Pwned" APIs.
- 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.
- 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:77369 Command-line fuzzy finder written in Go.
- dive star:53225 A tool for exploring each layer in a Docker image.
- hub star:22944 wrap git commands with additional functionality to interact with github from the terminal.
- lo star:20887 A Lodash like Go library based on Go 1.18+ Generics (map, filter, contains, find...)
- ctop star:17553 Top-like interface (e.g. htop) for container metrics.
- sqlx star:17481 provides a set of extensions on top of the excellent built-in database/sql package.
- goreleaser star:15522 Deliver Go binaries as fast and easily as possible.
- wuzz star:10713 Interactive cli tool for HTTP inspection.
- usql star:9789 usql is a universal command-line interface for SQL databases.
- peco star:7853 Simplistic interactive filtering tool.
- go-funk star:4947 Modern Go utility library which provides helpers (map, find, contains, filter, chunk, reverse, ...).
- godropbox star:4206 Common libraries for writing Go services/applications from Dropbox.
- minify star:4054 Fast minifiers for HTML, CSS, JS, XML, JSON and SVG file formats.
- panicparse star:3717 Groups similar goroutines and colorizes stack dump.
- mc star:3359 Minio Client provides minimal tools to work with Amazon S3 compatible cloud storage and filesystems.
- goreporter star:3137 Golang tool that does static analysis, unit testing, code review and generate code quality report.
- mergo star:3081 Helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.
- retry-go star:2871 Simple library for retry mechanism.
- create-go-app star:2739 A powerful CLI for create a new production-ready project with backend (Golang), frontend (JavaScript, TypeScript) & deploy automation (Ansible, Docker) by running one command.
- EaseProbe star:2294 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:2269 Small package to infer the file type checking the magic numbers signature.
- Failsafe-go star:2129 Fault tolerance and resilience patterns for Go.
- Storm star:2104 Simple and powerful toolkit for BoltDB.
- mimetype star:1937 Package for MIME type detection based on magic numbers.
- jump star:1908 Jump helps you navigate faster by learning your habits.
- boilr star:1757 Blazingly fast CLI tool for creating projects from boilerplate templates.
- mole star:1725 cli app to easily create ssh tunnels.
- sesh star:1618 Sesh is a CLI that helps you create and manage tmux sessions quickly and easily using zoxide.
- gitbatch star:1558 manage your git repositories in one place.
- gitcs Git Commits Visualizer, CLI tool to visualize your Git commits on your local machine.
- scany star:1494 Library for scanning data from a database into Go structs and more.
- bed star:1344 A Vim-like binary editor written in Go.
- hostctl star:1203 A CLI tool to manage /etc/hosts with easy commands.
- circuitbreaker star:1164 Circuit Breakers in Go.
- boring star:1114 Simple command-line SSH tunnel manager.
- upterm star:1108 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.
- git-time-metric star:1001 Simple, seamless, lightweight time tracking for Git.
- changie star:853 Automated changelog tool for preparing releases with lots of customization options.
- immortal star:832 *nix cross-platform (OS agnostic) supervisor.
- circuit star:797 An efficient and feature complete Hystrix like Go implementation of the circuit breaker pattern.
- clipboard star:761 📋 cross-platform clipboard package in Go.
- clockwork star:723 A simple fake clock for golang.
- delve star:662 Go debugger.
- mani star:649 CLI tool to help you manage multiple repositories.
- ergo star:648 The management of multiple local services running over different ports made easy.
- remote-touchpad star:640 Control mouse and keyboard from a smartphone.
- limiters star:614 Rate limiters for distributed applications in Golang with configurable back-ends and distributed locks.
- scan star:609 Scan golang
sql.Rowsdirectly to structs, slices, or primitive types. - htcat star:558 Parallel and Pipelined HTTP GET Utility.
- koazee star:535 Library inspired in Lazy evaluation and functional programming that takes the hassle out of working with arrays.
- gubrak star:506 Golang utility library with syntactic sugar. It's like lodash, but for golang.
- countries star:500 Full implementation of ISO-3166-1, ISO-4217, ITU-T E.164, Unicode CLDR and IANA ccTLD standards.
- godaemon star:495 Utility to write daemons.
- config-file-validator star:493 Cross Platform tool to validate configuration files.
- stacktower star:492 Visualize dependency graphs as physical tower structures, inspired by XKCD #2347.
- go-dry star:488 DRY (don't repeat yourself) package for Go.
- gopencils star:453 Small and simple package to easily consume REST APIs.
- request star:425 Go HTTP Requests for Humans™.
- go-rate star:404 Timed rate limiter for Go.
- grofer star:376 A system and resource monitoring tool written in Golang!
- rospo star:356 Simple and reliable ssh tunnels with embedded ssh server in Golang.
- serve star:349 A static http server anywhere you need.
- retry star:346 The most advanced functional mechanism to perform actions repetitively until successful.
- gotenv star:306 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:252 Pattern matching library.
- go-trigger star:249 Go-lang global event triggerer, Register Events with an id and trigger the event from anywhere from your project.
- go-sitemap-generator star:229 XML Sitemap generator written in Go.
- toolbox star:227 Slice, map, multimap, struct, function, data conversion utilities. Service router, macro evaluator, tokenizer.
- json-log-viewer star:208 Interactive viewer for JSON logs.
- Death star:198 Managing go application shutdown with signals.
- go-bind-plugin star:181 go:generate tool for wrapping symbols exported by golang plugins (1.8 only).
- goval star:173 Evaluate arbitrary expressions in Go.
- go-bsdiff star:171 Pure Go bsdiff and bspatch libraries and CLI tools.
- moldova star:169 Utility for generating random data based on an input template.
- apm star:168 Process manager for Golang applications with an HTTP API.
- rate star:167 High-performance rate limiting library with token bucket and AIMD strategies.
- rerun star:165 Recompiling and rerunning go apps when source changes.
- cryptgo star:161 Crytpgo is a TUI based application written purely in Go to monitor and observe cryptocurrency prices in real time!
- cmd star:160 Library for executing shell commands on osx, windows and linux.
- chyle star:159 Changelog generator using a git repository with multiple configuration possibilities.
- robustly star:159 Runs functions resiliently, catching and restarting panics.
- filter star:151 provide filtering, sanitizing, and conversion of Go data.
- nostromo star:149 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:132 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:124 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:112 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.
- xferspdy star:101 Xferspdy provides binary diff and patch library in golang.
- mimemagic star:100 Pure Go ultra performant MIME sniffing library/utility.
- go-pattern-match star:99 A Pattern matching library inspired by ts-pattern.
- 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.
- countries star:93 All you need when you are working with countries in Go.
- equalizer star:91 Quota manager and rate limiter collection for Go.
- pgo star:88 Convenient functions for PHP community.
- 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.
- 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:68 Webpage summary extractor using Facebook Open Graph and arc90's readability.
- scan star:68 Scan sql rows into any type powered by generics.
- dbt star:67 A framework for running self-updating signed binaries from a central, trusted repository.
- 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:55 Universal multi-workstation clipboard that uses S3 like backend for the storage.
- cvt star:54 Easy and safe convert any value to another type.
- golarm star:54 Fire alarms with system events.
- sshman star:53 SSH Manager for authorized_keys files on multiple remote servers.
- gofn star:52 High performance utility functions written using Generics for Go 1.18+.
- ghokin star:51 Parallelized formatter with no external dependencies for gherkin (cucumber, behat...).
- 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.
- pointer star:48 Package pointer contains helper routines for simplifying the creation of optional fields of basic type.
- go-httpheader star:47 Go library for encoding structs into Header fields.
- gostrutils star:47 Collections of string manipulation and conversion functions.
- set star:47 Performant and flexible struct mapping and loose type conversion.
- slicer star:47 Makes working with slices easier.
- go-qr star:46 A native, high-quality and minimalistic QR code generator.
- yogo star:46 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.
- 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.
- debounce star:34 A zero-allocation debouncer written in Go.
- watchhttp star:34 Run command periodically and expose latest STDOUT or its rich delta as HTTP endpoint.
- git-tools star:31 Tool to help manage git tags.
- generate star:30 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:22 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-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.
- 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.
- go-clip star:14 A minimalistic clipboard manager for Mac.
- release star:14 CLI for Keep-a-changelog formatted changelogs.
- 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.
- 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.
- goctx star:10 Get your context value with high performance.
- 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.
- olaf star:5 Twitter Snowflake implemented in Go.
- tik star:5 Simple and easy timing wheel package for Go.
- xpool star:5 Yet another golang type safe object pool using generics.
- lang star:4 Generic one-liners to work with variables, slices and maps without boilerplate code.
- contem star:3 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:1 Abstractions and utilities to get rid of boilerplate code in business logic.
UUID
Libraries for working with UUIDs.
- uuid star:5977 Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
- ulid star:4977 Go implementation of ULID (Universally Unique Lexicographically Sortable Identifier).
- uniq No hassle safe, fast unique identifiers with commands.
- xid star:4248 Xid is a globally unique id generator library, ready to be safely used directly in your server code.
- uuid star:1760 Implementation of Universally Unique Identifier (UUID). Supports both creation and parsing of UUIDs. Actively maintained fork of satori uuid.
- wuid star:545 An extremely fast globally unique number generator.
- sno star:94 Compact, sortable and fast unique IDs with embedded metadata.
- guid star:73 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:5 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:6197 Validators and sanitizers for strings, numerics, slices and structs.
- govalidator star:1347 Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
- gody star:181 🎈 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:112 Fast, tag-based validation for structs.
- go-validator star:32 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:19634 Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving.
- ozzo-validation star:4059 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:1126 Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features.
- jio star:125 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:1127 A Zod inspired schema builder for runtime value parsing and validation.
⬆ back to top
Version Control
Libraries for version control.
- go-git star:7152 highly extensible Git implementation in pure Go.
- hercules star:2772 gaining advanced insights from Git repository history.
- git2go star:1994 Go bindings for libgit2.
- cli An open-source GitLab command line tool bringing GitLab's cool features to your command line.
- githooks star:118 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:52 Froggit-Go is a Go library, allowing to perform actions on VCS providers.
- hgo star:15 Hgo is a collection of Go packages providing read-access to local Mercurial repositories.
Video
Libraries for manipulating video.
- goav star:2141 Comprehensive Go bindings for FFmpeg.
- gmf star:929 Go bindings for FFmpeg av* libraries.
- gortsplib star:882 Pure Go RTSP server and client library.
- go-astisub star:681 Manipulate subtitles in GO (.srt, .stl, .ttml, .webvtt, .ssa/.ass, teletext, .smi, etc.).
- go-astiav star:665 Better C bindings for ffmpeg in GO.
- go-astits star:603 Parse and demux MPEG Transport Streams (.ts) natively in GO.
- mp4ff star:588 Library and tools for working with MP4 files containing video, audio, subtitles, or metadata.
- libvlc-go star:503 Go bindings for libvlc 2.X/3.X/4.X (used by the VLC media player).
- v4l star:88 Video capture library for Linux, written in Go.
- hls-m3u8 star:47 Parser and generator for HLS (M3U8) playlists; kept up to date with the spec.
- go-mpd star:33 Parser and generator library for MPEG-DASH manifest files.
Web Frameworks
Full stack web frameworks.
- Gin star:87837 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:39055 An Express.js inspired web framework build on Fasthttp.
- Beego star:32414 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:32106 High performance, minimalist Go web framework.
- GoFr star:15735 Gofr is an opinionated microservice development framework.
- Revel star:13250 High-productivity web framework for the Go language.
- GoFrame star:13018 GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
- Hertz star:7051 A high-performance and strong-extensibility Go HTTP framework that helps developers build microservices.
- Goa star:6039 Goa provides a holistic approach for developing remote APIs and microservices in Go.
- goravel star:4411 A Laravel-inspired web framework with ORM, authentication, queue, task scheduling, and more built-in features.
- Goyave star:1760 Feature-complete REST API framework aimed at clean code and fast development, with powerful built-in functionalities.
- Fuego star:1649 The framework for busy Go developers! Web framework generating OpenAPI 3 spec from source code.
- templui star:1329 Modern UI Components for Go & Templ.
- Atreugo star:1300 High performance and extensible micro web framework with zero memory allocations in hot paths.
- Yokai star:818 Simple, modular, and observable Go framework for backend applications.
- iWF star:628 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:587 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:554 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:533 A flexible Go web framework and Headless CMS.
- uAdmin star:354 Fully featured web framework for Golang, inspired by Django.
- WebGo star:306 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:301 Gin parameter automatic binding tool,gin rpc tools.
- hiboot star:182 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:132 A lightweight dependency injection and web framework inspired by Spring.
- patron star:126 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.
- 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:57 A highly performant and simple to use API framework.
- 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.
- Ronykit star:35 Web framework with pluggable architecture and very performant.
- Lit star:30 Highly performant declarative web framework for Golang, aiming for simplicity and quality of life.
- golamb star:8 Golamb makes it easier to write API endpoints for use with AWS Lambda and API Gateway.
Middlewares
Actual middlewares
- CORS star:2858 Easily add CORS capabilities to your API.
- Tollbooth star:2851 Rate limit HTTP request handler.
- Limiter star:2323 Dead simple rate limit middleware for Go.
- go-fault star:511 Fault injection middleware for Go.
- ln-paywall star:155 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:7546 Idiomatic HTTP middleware for Golang.
- alice star:3352 Painless middleware chaining for Go.
- render star:1989 Go package for easily rendering JSON, XML, and HTML template responses.
- stats star:594 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
- mux star:21784 Powerful URL router and dispatcher for golang.
- chi star:21477 Small, fast and expressive HTTP router built on net/context.
- httprouter star:17103 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:1288 Lightning Fast HTTP Multiplexer.
- Goji star:973 Goji is a minimalistic and flexible HTTP request multiplexer with support for
net/context. - fasthttprouter star:871 High performance router forked from
httprouter. The first router fit forfasthttp. - httptreemux star:621 High-speed, flexible tree-based HTTP router for Go. Inspiration from httprouter.
- xujiajun/gorouter star:529 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:186 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:134 Lightweight and fast http router from outer space.
- violetear star:107 Go HTTP router.
- Bxog star:101 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:81 A golang http router based on trie tree.
- ngamux star:70 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
- goroute star:9 Simple yet powerful HTTP request multiplexer.
WebAssembly
- tinygo star:17122 Go compiler for small places. Microcontrollers, WebAssembly, and command-line tools. Based on LLVM.
- dom star:504 DOM library.
- go-canvas star:269 Library to use HTML5 Canvas, with all drawing within go code.
- wasmbrowsertest star:206 Run Go WASM tests in your browser.
- webapi star:182 Bindings for DOM and HTML generated from WebIDL.
- Extism Go SDK star:164 Universal, cross-language WebAssembly framework for building plug-in systems and polyglot apps.
- vert star:107 Interop between Go and JS values.
Webhooks Server
- webhook star:11531 Tool which allows user to create HTTP endpoints (hooks) that execute commands on the server.
- WebhookX star:270 A webhooks gateway for message receiving, processing, and reliable delivering.
- webhooked star:42 A webhook receiver on steroids: handle, secure, format and store a Webhook payload has never been easier.
Windows
- go-ole star:1290 Win32 OLE implementation for golang.
- d3d9 star:163 Go bindings for Direct3D9.
- 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:3012 No-code workflow executor. it executes DAGs defined in a simple YAML format.
- go-taskflow star:608 A taskflow-like General-purpose Task-parallel Programming Framework with integrated visualizer and profiler.
- Cadence-client star:374 A framework for authoring workflows and activities running on top of the Cadence orchestration engine made by Uber.
- workflow star:216 A tech stack agnostic Event Driven Workflow framework.
- go-dag star:35 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:823 Generate a Go struct from XML.
- xpath star:735 XPath package for Go.
- xmlquery star:485 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:5606 Container Signing, Verification and Storage in an OCI registry.
- OpenZiti star:3841 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:2191 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:144 Go implementation of the in-toto (provides a framework to protect the integrity of the software supply chain) python reference implementation.
- Spiffe-Vault star:97 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:2472 Errcheck is a program for checking for unchecked errors in Go programs.
- go-critic star:2029 source code linter that brings checks that are currently not implemented in other linters.
- go-cleanarch star:962 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:790 Web based Golang AST visualizer.
- goimports Tool to fix (add, remove) your Go imports automatically.
- go-mod-outdated star:664 An easy way to find outdated dependencies of your Go projects.
- Chronos star:438 Detects race conditions statically
- dupl star:362 Tool for code clone detection.
- apicompat star:181 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:65 Fatcontext detects nested contexts in loops or function literals.
- ChainJacking star:61 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:2078 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:962 A Parser for PHP written in Go.
- goreturns star:536 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.
- 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#. - testifylint – A linter that checks usage of github.com/stretchr/testify.
- vacuum star:994 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:388 Remove unnecessary type conversions from Go source.
- wrapcheck star:357 A linter to check that errors from external packages are wrapped.
- tickgit star:323 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:16232 Go development plugin for Vim.
- gocode star:5003 Autocompletion daemon for the Go programming language.
- vscode-go star:4196 Extension for Visual Studio Code (VS Code) which provides support for the Go language.
- GoSublime star:3413 Golang plugin collection for the text editor SublimeText 3 providing code completion and other IDE-like features.
- go-mode star:1445 Go mode for GNU/Emacs.
- goimports-reviser star:713 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:575 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:5277 Generate Go tests from your source code.
- xgen star:404 XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator.
- hasgo star:145 Generate Haskell inspired functions for your slices.
- gocontracts star:114 brings design-by-contract to Go by synchronizing the code with the documentation.
- gonerics star:112 Idiomatic Generics in Go.
- options-gen star:105 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:94 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:9933 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:6450 Visualize call graph of your Go program using dot format.
- OctoLinker star:5348 Navigate through go files efficiently with the OctoLinker browser extension for GitHub.
- go-size-analyzer star:1953 Analyze and visualize the size of dependencies in compiled Golang binaries, providing insight into their impact on the final build.
- richgo star:865 Enrich
go testoutputs with text decorations. - MoniGO star:393 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:234 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:206 Examine Go types and their transitive dependencies, alternatively export results as TypeScript value objects (or types) declaration.
- gotestdox star:189 Show Go test results as readable sentences.
- gothanks star:129 GoThanks automatically stars your go.mod github dependencies, sending this way some love to their maintainers.
- gotutor star:74 Online Go Debugger & Visualizer.
- igo star:72 An igo to go transpiler (new language features for Go language!)
- docs star:48 Automatically generate RESTful API documentation for GO projects - aligned with Open API Specification standard.
- decouple star:34 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:120158 Container Cluster Manager from Google.
- Moby star:71428 Collaborative project for the container ecosystem to assemble container-based systems.
- traefik star:61338 Reverse proxy and load balancer with support for multiple backends.
- Gitea star:53452 Fork of Gogs, entirely community driven.
- gitea-github-migrator Migrate all your GitHub repositories, issues, milestones and labels to your Gitea instance.
- k9s star:32649 Kubernetes CLI to manage your clusters in style.
- k3s star:32009 Lightweight Kubernetes.
- minikube star:31431 Run Kubernetes locally.
- k6 star:29800 A modern load testing tool, using Go and JavaScript.
- Vegeta star:24880 HTTP load testing tool and library. It's over 9000!
- Hey star:19699 Hey is a tiny program that sends some load to a web application.
- chaosmonkey star:16546 A resiliency tool that helps applications tolerate random instance failures.
- Packer star:15565 Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
- kind star:14964 Kubernetes IN Docker - local clusters for testing Kubernetes.
- kubeshark star:11756 API traffic analyzer for Kubernetes, inspired by Wireshark, purposely built for Kubernetes.
- GVM star:11514 GVM provides an interface to manage Go versions.
- Flannel star:9390 Flannel is a network fabric for containers, designed for Kubernetes.
- Ddosify star:8545 High-performance load testing tool, written in Golang.
- ko star:8326 Command line tool for building and deploying Go applications on Kubernetes
- KubeVela star:7674 Cloud native application delivery.
- script star:6925 Making it easy to write shell-like scripts in Go for DevOps and system administration tasks.
- bombardier star:6722 Fast cross-platform HTTP benchmarking tool.
- k3d star:6226 Little helper to run CNCF's k3s in Docker.
- Fleet device management star:5966 Lightweight, programmable telemetry for servers and workstations.
- podinfo star:5817 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.
- k0s star:5709 Zero Friction Kubernetes distribution.
- gaia star:5234 Build powerful pipelines in any programming language.
- tau star:4935 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:4658 Pomerium is an identity-aware access proxy.
- s5cmd star:3876 Blazing fast S3 and local filesystem execution tool.
- docker-volume-backup star:3334 Backup Docker volumes locally or to any S3, WebDAV, Azure Blob Storage, Dropbox or SSH compatible storage.
- kubeblocks star:2961 KubeBlocks is an open-source control plane that runs and manages databases, message queues and other data infrastructure on K8s.
- aptly star:2759 aptly is a Debian repository management tool.
- kala star:2163 Simplistic, modern, and performant job scheduler.
- ghorg star:1958 Quickly clone an entire org/users repositories into one directory - Supports GitHub, GitLab, Gitea, and Bitbucket.
- fac star:1857 Command-line user interface to fix git merge conflicts.
- go-selfupdate star:1669 Enable your Go applications to self update.
- StatusOK star:1638 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:1465 Local cli copilot, powered by CodeLLaMa
- uTask star:1352 Automation engine that models and executes business processes declared in yaml.
- KubeVPN star:1286 KubeVPN offers a Cloud-Native Dev Environment that seamlessly connects to your Kubernetes cluster network.
- KusionStack star:1263 A unified programmable configuration techstack to deliver modern app in 'platform as code' and 'infra as code' approach.
- PipeCD star:1244 A GitOps-style continuous delivery platform that provides consistent deployment and operations experience for any applications.
- s3gof3r star:1144 Small utility/library optimized for high speed transfer of large objects into and out of Amazon S3.
- podman-tui star:1032 Terminal UI for Podman management.
- skm star:1006 SKM is a simple and powerful SSH Keys Manager, it helps you to manage your multiple SSH keys easily!
- kwatch star:992 Monitor & detect crashes in your Kubernetes(K8s) cluster instantly.
- Scaleway-cli star:952 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:716 Effortless, Low-Overhead, eBPF-based Kubernetes Monitoring.
- kool star:714 Command line tool for managing Docker environments as an easy way.
- aurora star:598 Cross-platform web-based Beanstalkd queue server console.
- govvv star:538 “go build” wrapper to easily add version information into Go binaries.
- Pewpew star:450 Flexible HTTP command line stress tester.
- s3-proxy star:431 S3 Proxy with GET, PUT and DELETE methods and authentication (OpenID Connect and Basic Auth).
- gobrew star:411 Go version manager. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash.
- jcli star:409 Jenkins CLI allows you manage your Jenkins as an easy way.
- easyssh-proxy star:344 Golang package for easy remote execution through SSH and SCP downloading via
ProxyCommand. - lstags star:340 Tool and API to sync Docker images across different registries.
- gonative star:337 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:316 REST server for accessing MongoDB documents and meta data.
- manssh star:309 manssh is a command line tool for managing your ssh alias config easily.
- Balerter star:308 A self-hosted script-based alerting manager.
- terraform-provider-openapi star:279 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:273 Monitoring changes in the source file and automatically compile and run (restart).
- godbg star:224 Web-based gdb front-end application.
- Gogs A Self Hosted Git Service in the Go Programming Language.
- abbreviate star:223 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.
- 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:179 collects and displays system metrics and optionally relays to Graphite and/or InfluxDB.
- sigma star:176 OCI-native container image registry, support OCI-native artifact, scan artifact, image build etc.
- goma-gateway star:173 A Lightweight API Gateway and Reverse Proxy with declarative config, robust middleware, and support for REST, GraphQL, TCP, UDP, and gRPC.
- 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:166 Copy files and artifacts via SSH using a binary, docker or Drone CI.
- tf-profile star:163 Profiler for Terraform runs. Generate global stats, resource-level stats or visualizations.
- decompose star:123 tool to generate and process Docker containers connections graphs.
- go-rocket-update star:120 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:44 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.
- 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.
Other Software
- croc star:34020 Easily and securely send files or folders from one computer to another.
- restic star:31951 De-duplicating backup program.
- Gor star:19231 Http traffic replication tool, for replaying traffic from production to stage/dev environments in real-time.
- JuiceFS star:13115 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:11799 Proxy to simulate network and system conditions for automated tests.
- tsuru Extensible and open source Platform as a Service software.
- Comcast star:10495 Simulate bad network connections.
- confd star:8425 Manage local application configuration files using templates and data from etcd or consul.
- scc star:7996 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:6744 Google Drive client for the commandline.
- blocky star:6041 Fast and lightweight DNS proxy as ad-blocker for local network with many features.
- nes star:5637 Nintendo Entertainment System (NES) emulator written in Go.
- Duplicacy star:5609 A cross-platform network and cloud backup tool based on the idea of lock-free deduplication.
- myLG star:2719 Command Line Network Diagnostic tool written in Go.
- GoBoy star:2636 Nintendo Game Boy Color emulator written in Go.
- Gokapi star:2538 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.
- Stack Up star:2514 Stack Up, a super simple deployment tool - just Unix - think of it like 'make' for a network of servers.
- lgo star:2458 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:2360 Modern wiki software that integrates data from SaaS tools.
- sonic star:2119 Sonic is a Go Blogging Platform. Simple and Powerful.
- Circuit star:1982 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.
- portal star:1736 Portal is a quick and easy command-line file transfer utility from any computer to another.
- Plik star:1689 Plik is a temporary file upload system (Wetransfer like) in Go.
- borg star:1609 Terminal based search engine for bash snippets.
- shell2http star:1469 Executing shell commands via http server (for prototyping or remote control).
- bluetuith star:1288 TUI Bluetooth manager for Linux.
- vFlow star:1148 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:1099 Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator.
- GoNB star:977 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:850 AI powered terminal assistant.
- zs an extremely minimal static site generator.
- gfile star:757 Securely transfer files between two computers, without any third party, over WebRTC.
- Leaps star:756 Pair programming service using Operational Transforms.
- sake star:743 sake is a command runner for local and remote hosts.
- Chapar star:687 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:677 A self-hosted Quora like web application written in Go.
- gocc star:655 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.
- mockingjay star:568 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:509 Detect non-inclusive language in your source code.
- go-peerflix star:475 Video streaming torrent client.
- goblin Cloud builder for CLI's written in go lang
- hotswap star:417 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:363 Browser accessible IDE. Designed for Go with Go.
- Neo-cowsay star:341 🐮 cowsay is reborn. for a New Era.
- crawley star:326 Web scraper/crawler for cli.
- stew star:318 An independent package manager for compiled binaries.
- syncthing Open, decentralized file synchronization tool and protocol.
- wellington star:303 Sass project management tool, extends the language with sprite functions (like Compass).
- Cherry star:298 Tiny webchat server in Go.
- tcpdog star:261 eBPF based TCP observability.
- fjira star:250 A fuzzy-search based terminal UI application for Attlasian Jira
- joincap star:220 Command-line utility for merging multiple pcap files together.
- Orbit star:188 A simple tool for running commands and generating files from templates.
- Better Go Playground Go playground with syntax highlight, code completion and other features.
- vaku star:158 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.
- naclpipe star:23 Simple NaCL EC25519 based crypto pipe tool written in Go.
- Snitch star:16 Simple way to notify your team and many tools when someone has deployed any application via Tsuru.
- tinycare-tui star:16 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.
- 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.
- Seaweed File System star:6 Fast, Simple and Scalable Distributed File System with O(1) disk seek.
Resources
Where to discover new Go libraries.
Benchmarks
- go-web-framework-benchmark star:2137 Go web framework benchmark.
- go-http-routing-benchmark star:1666 Go HTTP request router benchmark and comparison.
- go_serialization_benchmarks star:1622 Benchmarks of Go serialization methods.
- skynet star:1061 Skynet 1M threads microbenchmark.
- speedtest-resize star:245 Compare various Image resize algorithms for the Go language.
- go-benchmarks star:150 Few miscellaneous Go microbenchmarks. Compare some language features to alternative approaches.
- golang-benchmarks star:141 a collection of golang benchmarks.
- golang-sql-benchmark Collection of benchmarks for popular Go database/SQL utilities.
- gospeed star:126 Go micro-benchmarks for calculating the speed of language constructs.
- autobench star:99 Framework to compare the performance between different Go versions.
- 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:28 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.
- GopherChina Shanghai, China.
- GopherCon Varied Locations Each Year, USA.
- GopherCon Australia Sydney, Australia.
- GopherCon Brazil Florianópolis, Brazil.
- 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:517 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:19076 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:5522 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:3888 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:73 Go gopher Vector Data [.ai, .svg].
- gopher-stickers
- gophericons
- gophers star:3776 Free gophers.
- gophers star:3064 Gopher artworks by Ashley McNamara.
- gopherize.me star:752 Gopherize yourself.
- gophers star:160 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:43175 Curated list of awesome remote jobs. A lot of them are looking for Go hackers.
- awesome-awesomeness star:33175 List of other amazingly awesome lists.
- Awesome Golang Workshops star:524 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.
- Google Plus Community The Google+ community for #golang enthusiasts.
- 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:26 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:44175 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:8776 Go's reference card.
- Go database/sql tutorial Introduction to database/sql.
- Go in 7 days star:161 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:132 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:27294 Curated list of Go design patterns, recipes and idioms.
- Learn Go with TDD star:23465 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:19840 Learn Go with thousands of examples, exercises, and quizzes.
- go-clean-template star:7306 Clean Architecture template for Golang services.
- Golang for Node.js Developers star:4771 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:1668 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:1789 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.