README.md

Awesome Go

A curated list of awesome Go frameworks, libraries and software.

Contents

Audio and Music

Libraries for manipulating audio.

  • EasyMIDI - EasyMidi is a simple and reliable library for working with standard midi file (SMF).
  • flac - No-frills native Go FLAC decoder that decodes FLAC files into byte slices.
  • flac - Native Go FLAC encoder/decoder with support for FLAC streams.
  • gaad - Native Go AAC bitstream parser.
  • go-sox - libsox bindings for go.
  • go_mediainfo - libmediainfo bindings for go.
  • GoAudio - Native Go Audio Processing Library.
  • gosamplerate - libsamplerate bindings for go.
  • id3v2 - ID3 decoding and encoding library for Go.
  • malgo - Mini audio library.
  • minimp3 - Lightweight MP3 decoder library.
  • mix - Sequence-based Go-native audio mixer for music apps.
  • mp3 - Native Go MP3 decoder.
  • music-theory - Music theory models in Go.
  • Oto - A low-level library to play sound on multiple platforms.
  • PortAudio - Go bindings for the PortAudio audio I/O library.
  • portmidi - Go bindings for PortMidi.
  • taglib - Go bindings for taglib.
  • vorbis - “Native” Go Vorbis decoder (uses CGO, but has no dependencies).
  • waveform - Go package capable of generating waveform images from audio streams.

Authentication and OAuth

Libraries for implementing authentications schemes.

  • Authelia - Authentication and authorization server providing 2-factor authentication and single sign-on (SSO) for your applications via a web portal.
  • authboss - Modular authentication system for the web. It tries to remove as much boilerplate and “hard things” as possible so that each time you start a new web project in Go, you can plug it in, configure, and start building your app without having to build an authentication system each time.
  • authorization-proxy - Reverse proxy to control HTTP/gPRC access with Athenz policy.
  • branca - branca token specification implementation for Golang 1.15+.
  • caddy-security - Authentication, Authorization, and Accounting (AAA) App and Plugin for Caddy v2. gem Implements Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA/2FA with App Authenticators and Yubico. gem Authorization with JWT/PASETO tokens.
  • caddy-auth-portal - Authentication Plugin for Caddy v2 implementing Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA with App Authenticators and Yubico.
  • casbin - Authorization library that supports access control models like ACL, RBAC, ABAC.
  • Casdoor - An open-source Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS.
  • charon - Authorization and authentication service.
  • cookiestxt - provides parser of cookies.txt file format.
  • dex - OpenID Connect Identity (OIDC) and OAuth 2.0 Provider with Pluggable Connectors.
  • go-email-normalizer - Golang library for providing a canonical representation of email address.
  • go-guardian - Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication that supports LDAP, Basic, Bearer token and Certificate based authentication.
  • go-jose - Fairly complete implementation of the JOSE working group’s JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs.
  • go-oauth2-server - Standalone, specification-compliant, OAuth2 server written in Golang.
  • gologin - chainable handlers for login with OAuth1 and OAuth2 authentication providers.
  • google-authenticator - A small go program to generate the google authenticator code.
  • gorbac - provides a lightweight role-based access control (RBAC) implementation in Golang.
  • gosession - This is quick session for net/http in GoLang. This package is perhaps the best implementation of the session mechanism, at least it tries to become one.
  • goth - provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.
  • httpauth - HTTP Authentication middleware.
  • hydra - OpenID Certified™ OpenID Connect & OAuth2 Server (OP, OpenID Provider) - cloud native, security-first, open source API security for your infrastructure. Written in Go. SDKs for any language.
  • jeff - Simple, flexible, secure and idiomatic web session management with pluggable backends.
  • jwt - Clean and easy to use implementation of JSON Web Tokens (JWT).
  • jwt - Lightweight JSON Web Token (JWT) library.
  • jwt - Safe, simple and fast JSON Web Tokens for Go.
  • jwtauth - About JWT authentication middleware for Go HTTP services.
  • jwt-auth - JWT middleware for Golang http servers with many configuration options.
  • jwt-go - Golang implementation of JSON Web Tokens (JWT).
  • jwt - 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.
  • iam - IAM = Identity and Access Management.
  • keto - A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, …) via REST APIs.
  • kratos - ORY Kratos is the first and only cloud native Identity and User Management System in the world. Finally, it is no longer necessary to implement a User Login process for the umpteenth time.
  • ladon - A SDK for access control policies: authorization for the microservice and IoT age. Inspired by AWS IAM policies.
  • loginsrv - JWT login microservice with plugable backends such as OAuth2 (Github), htpasswd, osiam.
  • oauth2 - Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine and App Engine support.
  • oauth2c - User-friendly CLI for OAuth2.
  • opa - An open source, general-purpose policy engine.
  • osin - Golang OAuth2 server library.
  • otpgen - Library to generate TOTP/HOTP codes.
  • otp - One Time Password utilities Go / Golang.
  • OTP Gateway - Standalone server for user address and OTP verification flows with pluggable providers (e-mail, SMS, bank penny drops etc.)
  • otpgo - Time-Based One-Time Password (TOTP) and HMAC-Based One-Time Password (HOTP) library for Go.
  • paseto - Golang implementation of Platform-Agnostic Security Tokens (PASETO).
  • permify - Permify is an open-source authorization service inspired by Google Zanzibar.
  • permissions2 - Library for keeping track of users, login states and permissions. Uses secure cookies and bcrypt.
  • rbac - Minimalistic RBAC package for Go applications.
  • scope - Easily Manage OAuth2 Scopes In Go.
  • scs - Session Manager for HTTP servers.
  • securecookie - Efficient secure cookie encoding/decoding.
  • session - Go session management for web servers (including support for Google App Engine - GAE).
  • sessions - gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends.
  • sessiongate-go - Go session management using the SessionGate Redis module.
  • sessions - Dead simple, highly performant, highly customizable sessions service for go http servers.
  • sessionup - Simple, yet effective HTTP session management and identification package.
  • signedvalue - Signed and timestamped strings compatible with Tornado’s create_signed_value, decode_signed_value, and therefore set_secure_cookie and get_secure_cookie.
  • simplejwt - A simple JWT package.
  • sjwt - Simple jwt generator and parser.
  • totp - Time-Based One-Time Password Code Generator.
  • vouch-proxy - an SSO and OAuth / OIDC login solution for Nginx using the auth_request module.
  • xjwt - Go library of small extensions for working with JWTs.
  • zitadel - ZITADEL - The best of Auth0 and Keycloak combined. Built for the serverless era.

Blockchain

Tools for building blockchains.

  • blockchain_guide - Introduce blockchain related technologies, from theory to practice with bitcoin, ethereum and hyperledger.
  • cosmos-sdk - A Framework for Building Public Blockchains in the Cosmos Ecosystem.
  • go-algorand - Algorand’s official implementation in Go.
  • go-ethereum - Official Go implementation of the Ethereum protocol.
  • go-ibax - An innovative Blockchain Protocol Platform, which everyone can deploy their own applications quickly and easily, such as Dapp, DeFi, DAO, Cross-Blockchain transactions, etc.
  • gossamer - A Go implementation of the Polkadot Host.
  • lnd - The Lightning Network Daemon (lnd) - is a complete implementation of a Lightning Network node. lnd has several pluggable back-end chain services including btcd (a full-node), bitcoind, and neutrino (a new experimental light client).
  • solana-go - Go library to interface with Solana JSON RPC and WebSocket interfaces.
  • tendermint - High-performance middleware for transforming a state machine written in any programming language into a Byzantine Fault Tolerant replicated state machine using the Tendermint consensus and blockchain protocols.

Bot Building

Libraries for building and working with bots.

  • bot - Zero-dependencies Telegram Bot library with additional UI components.
  • echotron - An elegant and concurrent library for Telegram Bots in Go.
  • ephemeral-roles - A Discord bot for managing ephemeral roles based upon voice channel member presence.
  • go-chat-bot - IRC, Slack & Telegram bot written in Go.
  • go-joe - A general-purpose bot library inspired by Hubot but written in Go.
  • go-sarah - Framework to build bot for desired chat services including LINE, Slack, Gitter and more.
  • go-tgbot - Pure Golang Telegram Bot API wrapper, generated from swagger file, session-based router and middleware.
  • go-twitch-irc - Libary to write bots for twitch.tv chat.
  • Golang CryptoTrading Bot - A golang implementation of a console-based trading bot for cryptocurrency exchanges.
  • govkbot - Simple Go VK bot library.
  • hanu - Framework for writing Slack bots.
  • Kelp - official trading and market-making bot for the Stellar DEX. Works out-of-the-box, written in Golang, compatible with centralized exchanges and custom trading strategies.
  • larry - Larry is a really simple Twitter bot generator that tweets random repositories from Github built in Go.
  • margelet - Framework for building Telegram bots.
  • micha - Go Library for Telegram bot api.
  • olivia - A chatbot built with an artificial neural network.
  • slack-bot - Ready to use Slack Bot for lazy developers: Custom commands, Jenkins, Jira, Bitbucket, Github…
  • slacker - Easy to use framework to create Slack bots.
  • slackscot - Another framework for building Slack bots.
  • tbot - Telegram bot server with API similar to net/http.
  • telebot - Telegram bot framework written in Go.
  • telego - Telegram Bot API library for Golang with full one-to-one API implementation.
  • telegram-bot-api - Simple and clean Telegram bot client.
  • teleterm - Telegram Bot Exec Terminal Command.
  • Tenyks - Service oriented IRC bot using Redis and JSON for messaging.
  • wayback - A bot for Telegram, Mastodon, Slack, and other messaging platforms archives webpages.

Build Automation

Libraries and tools helping with build automation.

  • 1build - Command line tool to frictionlessly manage project-specific commands.
  • anko - Simple application watcher for multiple programming languages.
  • gaper - Builds and restarts a Go project when it crashes or some watched file changes.
  • gilbert - Build system and task runner for Go projects.
  • goyek - Create build pipelines in Go.
  • mage - Mage is a make/rake-like build tool using Go.
  • mmake - Modern Make.
  • realize - Go build system with file watchers and live reload. Run, build and watch file changes with custom paths.
  • Task - simple “Make” alternative.
  • taskctl - Concurrent task runner.
  • xc - ask runner with README.md defined tasks, executable markdown.

Command Line

Standard CLI

Libraries for building standard or basic Command Line applications.

  • acmd - Simple, useful and opinionated CLI package in Go.
  • argparse - Command line argument parser inspired by Python’s argparse module.
  • argv - Go library to split command line string as arguments array using the bash syntax.
  • carapace - Command argument completion generator for spf13/cobra.
  • carapace-bin - Multi-shell multi-command argument completer.
  • carapace-spec - Define simple completions using a spec file.
  • cli - Feature-rich and easy to use command-line package based on golang struct tags.
  • cli - Simple and complete API for building command line interfaces in Go.
  • cli-init - The easy way to start building Golang command line applications.
  • climax - Alternative CLI with “human face”, in spirit of Go command.
  • clir - A Simple and Clear CLI library. Dependency free.
  • cmd - Extends the standard flag package to support sub commands and more in idomatic way.
  • cmdr - A POSIX/GNU style, getopt-like command-line UI Go library.
  • cobra - Commander for modern Go CLI interactions.
  • command-chain - A go library for configure and run command chains - such like pipelining in unix shells.
  • commandeer - Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags.
  • complete - Write bash completions in Go + Go command bash completion.
  • Dnote - A simple command line notebook with multi-device sync.
  • docopt.go - Command-line arguments parser that will make you smile.
  • elvish - An expressive programming language and a versatile interactive shell
  • env - Tag-based environment configuration for structs.
  • flag - Simple but powerful command line option parsing library for Go supporting subcommand.
  • flaggy - A robust and idiomatic flags package with excellent subcommand support.
  • flagvar - A collection of flag argument types for Go’s standard flag package.
  • go-andotp - A CLI program to encrypt/decrypt andOTP files. Can be used as library as well.
  • go-arg - Struct-based argument parsing in Go.
  • go-commander - Go library to simplify CLI workflow.
  • go-flags - go command line option parser.
  • go-getoptions - Go option parser inspired on the flexibility of Perl’s GetOpt::Long.
  • gocmd - Go library for building command line applications.
  • hiboot cli - cli application framework with auto configuration and dependency injection.
  • kingpin - Command line and flag parser supporting sub commands.
  • kong - Command-line parser with support for arbitrarily complex command-line structures and additional sources of configuration such as YAML, JSON, TOML, etc (succesor to kingpin).
  • liner - Go readline-like library for command-line interfaces.
  • mcli - A minimal but very powerful cli library for Go.
  • mitchellh/cli - Go library for implementing command-line interfaces.
  • mow.cli - Go library for building CLI applications with sophisticated flag and argument parsing and validation.
  • ops - Unikernel Builder/Orchestrator.
  • pflag - Drop-in replacement for Go’s flag package, implementing POSIX/GNU-style –flags.
  • readline - Pure golang implementation that provides most features in GNU-Readline under MIT license.
  • sand - Simple API for creating interpreters and so much more.
  • sflags - Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin and other libraries.
  • subcmd - Another approach to parsing and running subcommands. Works alongside the standard flag package.
  • survey - Build interactive and accessible prompts with full support for windows and posix terminals.
  • strumt - Library to create prompt chain.
  • tablewriter - Generate ASCII table on the fly.
  • ts - Timestamp convert & compare tool.
  • ukautz/clif - Small command line interface framework.
  • urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).
  • version - Collects and displays CLI version information in multiple formats along with upgrade notice.
  • wlog - Simple logging interface that supports cross-platform color and concurrency.
  • wmenu - Easy to use menu structure for cli applications that prompts users to make choices.
  • job - JOB, make your short-term command as a long-term job.

Advanced Console UIs

Libraries for building Console Applications and Console User Interfaces.

  • asciigraph - Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
  • aurora - ANSI terminal colors that supports fmt.Printf/Sprintf.
  • box-cli-maker - Make Highly Customized Boxes for your CLI.
  • bubbles - TUI components for bubbletea.
  • Bubble Tea - The fun, functional and stateful way to build terminal apps. A Go framework based on The Elm Architecture. Bubble Tea is well-suited for simple and complex terminal applications, either inline, full-window, or a mix of both.
  • cfmt - Contextual fmt inspired by bootstrap color classes.
  • cfmt - Simple and convenient formatted stylized output fully compatible with fmt library.
  • chalk - Intuitive package for prettifying terminal/console output.
  • color - Versatile package for colored terminal output.
  • colourize - Go library for ANSI colour text in terminals.
  • crab-config-files-templating - Dynamic configuration file templating tool for kubernetes manifest or general configuration files.
  • ctc - The non-invasive cross-platform terminal color library does not need to modify the Print method.
  • gum - A tool for glamorous shell scripts.
  • go-ataman - Go library for rendering ANSI colored text templates in terminals.
  • go-colorable - Colorable writer for windows.
  • go-colortext - Go library for color output in terminals.
  • go-isatty - isatty for golang.
  • go-palette - Go library that provides elegant and convenient style definitions using ANSI colors. Fully compatible & wraps the fmt library for nice terminal layouts.
  • go-prompt - Library for building a powerful interactive prompt, inspired by python-prompt-toolkit.
  • gocui - Minimalist Go library aimed at creating Console User Interfaces.
  • gommon/color - Style terminal text.
  • gookit/color - Terminal color rendering tool library, support 16 colors, 256 colors, RGB color rendering output, compatible with Windows.
  • lipgloss - Declaratively define styles for color, format and layout in the terminal.
  • marker - Easiest way to match and mark strings for colorful terminal outputs.
  • mpb - Multi progress bar for terminal applications.
  • progressbar - Basic thread-safe progress bar that works in every OS.
  • pterm - A library to beautify console output on every platform with many combinable components.
  • sampler - Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file.
  • simpletable - Simple tables in terminal with Go.
  • spinner - Go package to easily provide a terminal spinner with options.
  • tabby - A tiny library for super simple Golang tables.
  • table - Small library for terminal color based tables.
  • tabular - Print ASCII tables from command line utilities without the need to pass large sets of data to the API.
  • tcell - Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.
  • termbox-go - Termbox is a library for creating cross-platform text-based interfaces.
  • termdash - Go terminal dashboard based on termbox-go and inspired by termui.
  • termtables - Go port of the Ruby library terminal-tables for simple ASCII table generation as well as providing markdown and HTML output.
  • termenv - Advanced ANSI style & color support for your terminal applications.
  • termui - Go terminal dashboard based on termbox-go and inspired by blessed-contrib.
  • uilive - Library for updating terminal output in realtime.
  • uiprogress - Flexible library to render progress bars in terminal applications.
  • uitable - Library to improve readability in terminal apps using tabular data.
  • survey - golang library for building interactive prompts with full support for windows and posix terminals.
  • tview - Rich interactive widgets for terminal-based UIs written in Go
  • vhs - Your CLI home video recorder.
  • yacspin - Yet Another CLi Spinner package, for working with terminal spinners.

Computer vision

  • pigo - Pigo is a purely Go face detection library based on Pixel Intensity Comparison-based Object detection paper.

Concurrency

  • automaxprocs - Automatically set GOMAXPROCS to match Linux container CPU quota.
  • go-multilock - Multilock allows you to obtain multiple locks without deadlock. It also uses strings as locks, which allows multiple goroutines to synchronize independently without having to share common mutex objects.

Configuration

Libraries for configuration parsing.

  • aconfig - Simple, useful and opinionated config loader.
  • cleanenv - Minimalistic configuration reader (from files, ENV, and wherever you want).
  • cfg - Configuration loader for Go applications.
  • config - Cloud native application configuration. Bind ENV to structs in only two lines.
  • config - JSON or YAML configuration wrapper with environment variables and flags parsing.
  • config - configure you app using file, environment variables, or flags in two lines of code.
  • configor - Golang Configuration tool that support YAML, JSON, TOML, Shell Environment.
  • configuration - Library for initializing configuration structs from env variables, files, flags and ‘default’ tag.
  • configure - Provides configuration through multiple sources, including JSON, flags and environment variables.
  • configuro - opinionated configuration loading & validation framework from ENV and Files focused towards 12-Factor compliant applications.
  • confita - Load configuration in cascade from multiple backends into a struct.
  • conflate - Library/tool to merge multiple JSON/YAML/TOML files from arbitrary URLs, validation against a JSON schema, and application of default values defined in the schema.
  • env - Parse environment variables to Go structs (with defaults).
  • env - A lightweight package for loading environment variables into structs.
  • envcfg - Un-marshaling environment variables to Go structs.
  • envconf - Configuration from environment.
  • envconfig - Read your configuration from environment variables.
  • envh - Helpers to manage environment variables.
  • fig - Tiny library for reading configuration from a file and from environment variables (with validation & defaults).
  • gcfg - read INI-style configuration files into Go structs; supports user-defined types and subsections.
  • genv - Read environment variables easily with dotenv support.
  • go-aws-ssm - Go package that fetches parameters from AWS System Manager - Parameter Store.
  • go-conf - Simple library for application configuration based on annotated structs. It supports reading the configuration from environment variables, config files and command line parameters.
  • go-ini - A Go package that marshals and unmarshals INI-files.
  • go-ssm-config - Go utility for loading configuration parameters from AWS SSM (Parameter Store).
  • go-up - A simple configuration library with recursive placeholders resolution and no magic.
  • go-yaml - YAML support for the Go language.
  • yaml - YAML support for the Go language.
  • goConfig - Parses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.
  • godotenv - Go port of Ruby’s dotenv library (Loads environment variables from .env).
  • gofigure - Go application configuration made easy.
  • GoLobby/config - A lightweight yet powerful config package for Go projects.
  • gone/jconf - Modular JSON configuration. Keep you config structs along with the code they configure and delegate parsing to submodules without sacrificing full config serialization.
  • gonfig - Tag-based configuration parser which loads values from different providers into typesafe struct.
  • gookit/config - application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge.
  • harvester - Harvester, a easy to use static and dynamic configuration package supportig seeding, env vars and Consul integration.
  • hjson - Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.
  • hocon - Configuration library for working with the HOCON(a human-friendly JSON superset) format, supports features like environment variables, referencing other values, comments and multiple files.
  • ingo - Flags persisted in an ini-like config file.
  • ini - Go package to read and write INI files.
  • ini - INI Parser & Write Library, Unmarshal to Struct,Marshal to Json,Write File,watch file.
  • joshbetz/config - Small configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP.
  • kelseyhightower/envconfig - Go library for managing configuration data from environment variables.
  • koanf - Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line.
  • konfig - Composable, observable and performant config handling for Go for the distributed processing era.
  • mini - Golang package for parsing ini-style configuration files.
  • nasermirzaei89/env - Simple useful package for read environment variables.
  • nfigure - Per-library struct-tag based configuration from command lines (Posix & Go-style); environment, JSON, YAML.
  • onion - Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP.
  • piper - Viper wrapper with config inheritance and key generation.
  • sprbox - Build-environment aware toolbox factory and agnostic config parser (YAML, TOML, JSON and Environment vars).
  • store - Lightweight configuration manager for Go.
  • swap - Instantiate/configure structs recursively, based on build environment. (YAML, TOML, JSON and env).
  • typenv - Minimalistic, zero dependency, typed environment variables library.
  • uConfig - Lightweight, zero-dependency, and extendable configuration management.
  • viper - Go configuration with fangs.
  • xdg - Go implementation of the XDG Base Directory Specification and XDG user directories.
  • xdg - Cross platform package that follows the XDG Standard.

Continuous Integration

Tools for help with continuous integration.

  • abstruse - Abstruse 2.x.x is a lightweight, yet powerful distributed CI/CD written in Golang.
  • CDS - Enterprise-Grade CI/CD and DevOps Automation Open Source Platform.
  • drone - Drone is a Continuous Integration platform built on Docker, written in Go.
  • duci - A simple ci server no needs domain specific languages.
  • go-fuzz-action - Use Go 1.18’s built-in fuzz testing in GitHub Actions.
  • go-test-coverage - Tool and GitHub action which reports issues when test coverage is below set threshold.
  • gomason - Test, Build, Sign, and Publish your go binaries from a clean workspace.
  • gotestfmt - go test output for humans.
  • goveralls - Go integration for Coveralls.io continuous code coverage tracking system.
  • overalls - Multi-Package go project coverprofile for tools like goveralls.
  • roveralls - Recursive coverage testing tool.
  • woodpecker - Woodpecker is a community fork of the Drone CI system.

Cryptography

Libraries and tools for cryptography.

  • argon2 - A pure Go Argon2 implementation for secure password hashing in Go.
  • argon2id - Argon2id password hashing and verification for Go.
  • cert-manager - Automatically provision and manage TLS certificates in Kubernetes.
  • certigo - A utility to examine and validate certificates in a variety of formats.
  • cfssl - CFSSL is CloudFlare’s PKI/TLS swiss army knife. It is both a command line tool and an HTTP API server for signing, verifying, and bundling TLS certificates.
  • crypki - A simple service for interacting with an HSM or other PKCS#11 device.
  • crypto11 - Implement crypto.Signer and crypto.Decrypter for HSM-protected keys via PKCS#11.
  • FPE - An implementation of the NIST approved Format Preserving Encryption (FPE) FF1 and FF3 algorithms in Go.
  • GoKey - The GoKey application implements an OpenPGP 3.4 USB smartcard written in pure Go.
  • go-anubis - anubis block cipher.
  • go-pkcs12 - Package pkcs12 implements some of PKCS#12 (also known as P12 or PFX).
  • go-util - PKCS11 Test Utility.
  • gossl - Cross platform, easy to use SSL/TLS toolset.
  • kryptology - Coinbase’s advanced cryptography library.
  • kyber - Advanced crypto library for the Go language.
  • masterkey - secure interactive password manager with xchacha20poly1305, argon2id, and Go.
  • Minica - Minica is a simple CA intended for use in situations where the CA operator also operates each host where a certificate will be used. It automatically generates both a key and a certificate when asked to produce a certificate. It does not offer OCSP or CRL services. Minica is appropriate, for instance, for generating certificates for RPC systems or microservices.
  • ocicrypt - Encryption libraries for Encrypted OCI Container images.
  • payshield-rest-api - Simple RestAPI to Thales payShield HSM.
  • pkcs11 - pkcs11 wrapper for Go.
  • sops - sops is an editor of encrypted files that supports YAML, JSON, ENV, INI and BINARY formats and encrypts with AWS KMS, GCP KMS, Azure Key Vault and PGP.
  • vault - A tool for secrets management, encryption as a service, and privileged access management.

CSS Preprocessors

Libraries for preprocessing CSS files.

  • gcss - Pure Go CSS Preprocessor.
  • go-libsass - Go wrapper to the 100% Sass compatible libsass project.

Data Structures

Generic datastructures and algorithms in Go.

  • algorithms - An implementation in GO (golang) of the basic algorithms and data structure.
  • bpool - Package bpool implements leaky pools of byte arrays and Buffers as bounded channels.
  • dagger - dagger is a blazing fast, concurrency safe, mutable, in-memory directed graph implementation with zero dependencies.
  • generic - An experimental collection of generic data structures written in Go.
  • generics - Experiments with Go generics.
  • go-collections - Generic utility functions for dealing with collections in Go.
  • go-datastructures - This Project aims to port/build well known and commonly used data structures to GO.
  • go-hashlru - A simple thread-safe, fixed size LRU written in Go. Based on (dominictarr’s Hashlru Algorithm)[https://github.com/dominictarr/hashlru].
  • golang-lru - This provides the lru package which implements a fixed-size thread safe LRU cache. It is based on the cache in Groupcache.
  • gofp - Go does not provide many essential built in functions when it comes to the data structure such as slice and map.
  • goskiplist - Skip list implementation in Go.
  • hashsplit - Split byte streams into chunks, and arrange chunks into trees, with boundaries determined by content, not position.
  • immutable - Immutable collections for Go.
  • itc - This project is based on the paper Interval Tree Clocks: A Logical Clock for Dynamic Systems’ by Paulo Sergio Almeida, Carlos Baquero and Victor Fonte.
  • LeetCode - LeetCode of algorithms with golang solution(updating).
  • LocklessGenericRingBuffer - Single producer and multi-reader lockless ring buffer in go using generics from the go 1.18beta release. It is significantly faster than channels with the added type safety of generics compared to ring buffers using interfaces.
  • mafsa - MA-FSA implementation with Minimal Perfect Hashing.
  • ristretto - A high performance memory-bound Go cache.
  • vellum - A Go library implementing an FST (finite state transducer).
  • zeropool - Zero-allocation type-safe pool for Go.

Bit-packing and Compression

  • bingo - Fast, zero-allocation, lexicographical-order-preserving packing of native types to bytes.
  • binpacker - Binary packer and unpacker helps user build custom binary stream.
  • bit - Golang set data structure with bonus bit-twiddling functions.
  • crunch - Go package implementing buffers for handling various datatypes easily.
  • go-ef - A Go implementation of the Elias-Fano encoding.
  • roaring - Go package implementing compressed bitsets.

Bit Sets

  • bitmap - Dense, zero-allocation, SIMD-enabled bitmap/bitset in Go.
  • bitset - Go package implementing bitsets.
  • bitset - Go package implementing bitsets.

Bloom and Cuckoo Filters

  • bloom - Go package implementing Bloom filters.
  • bloom - Bloom filters implemented in Go.
  • bloom - Golang Bloom filter implementation.
  • bloom - Go package implementing Bloom filters.
  • bloomfilter - Yet another Bloomfilter implementation in Go, compatible with Java’s Guava library.
  • boomfilters - Probabilistic data structures for processing continuous, unbounded streams.
  • cuckoo-filter - Cuckoo filter: a comprehensive cuckoo filter, which is configurable and space optimized compared with other implements, and all features mentioned in original paper is available.
  • cuckoofilter - Cuckoo filter: a good alternative to a counting bloom filter implemented in Go.
  • ring - Go implementation of a high performance, thread safe bloom filter.

Data Structure and Algorithm Collections

  • algorithms - Algorithms and data structures.CLRS study.
  • go-datastructures - Collection of useful, performant, and thread-safe data structures.
  • gods - Go Data Structures. Containers, Sets, Lists, Stacks, Maps, BidiMaps, Trees, HashSet etc.
  • gostl - Data structure and algorithm library for go, designed to provide functions similar to C++ STL.

Distributed locking

  • go-mysql-lock - MySQL based distributed lock.
  • mongo-lock - Distributed locking with MongoDB.
  • redsync - Distributed mutual exclusion lock using Redis.
  • redis-lock - Simplified distributed locking implementation using Redis.

Iterators

  • goterator - Iterator implementation to provide map and reduce functionalities.
  • iter - Go implementation of C++ STL iterators and algorithms.

Maps

See also Database for more complex key-value stores, and Trees for additional ordered map implementations.

  • cmap - a thread-safe concurrent map for go, support using interface{} as key and auto scale up shards.
  • cmap - Provide concurent map for golang.
  • concurrent-map - Thread-safe concurrent map for Go.
  • dict - Python-like dictionaries (dict) for Go.
  • go-ordered-map - Same as regular maps, but also remembers the order in which keys were inserted.
  • hashmap - Lock-free thread-safe HashMap optimized for fastest read access.
  • haxmap - Fastest and most memory efficient golang concurrent hashmap.
  • intintmap - Fast int64 -> int64 hash in golang.
  • maps - Go 1.18+ generic map interface for maps; safe maps; ordered maps; ordered, safe maps; etc.
  • swiss - Golang port of Abseil’s flat_hash_map.
  • ttlslicemap - TTL Slice Map for Caching.

Miscellaneous Data Structures and Algorithms

  • concurrent-writer - Highly concurrent drop-in replacement for bufio.Writer.
  • conjungo - A small, powerful and flexible merge library.
  • count-min-log - Go implementation Count-Min-Log sketch: Approximately counting with approximate counters (Like Count-Min sketch but using less memory).
  • encoding - Integer Compression Libraries for Go.
  • fsm - Finite-State Machine package.
  • genfuncs - Go 1.18+ generics package inspired by Kotlin’s Sequence and Map.
  • Go - Algorithms implemented in Go (for education).
  • Golang Algorithms and Data Structures - Algorithms and data structures implemented in Golang with explanations and links to further readings.
  • go-generics - Generic slice, map, set, iterator, and goroutine utilities.
  • go-geoindex - In-memory geo index.
  • go-rampart - Determine how intervals relate to each other.
  • go-rquad - Region quadtrees with efficient point location and neighbour finding.
  • go-tuple - Generic tuple implementation for Go 1.18+.
  • gofal - fractional api for Go.
  • gogu - A comprehensive, reusable and efficient concurrent-safe generics utility functions and data structures library.
  • gota - Implementation of dataframes, series, and data wrangling methods for Go.
  • graph - A library for creating generic graph data structures and modifying, analyzing, and visualizing them.
  • hide - ID type with marshalling to/from hash to prevent sending IDs to clients.
  • hilbert - Go package for mapping values to and from space-filling curves, such as Hilbert and Peano curves.
  • hyperloglog - HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction.
  • Lock free ring buffer - Lock-free ring buffer by golang.
  • quadtree - Generic, zero-alloc, 100%-test covered quadtree.
  • stl4go - This library contains generic containers and algorithms, it is designed to be STL for Golang.
  • slices - Functions that operate on slices; like package strings but adapted to work with slices.
  • slices - Pure, generic functions for slices.
  • ttlcache - In-memory string-interface{} cache with various time-based expiration options and callbacks.
  • uint128 - uint128 for Go.

Nullable Types

  • nan - Zero allocation Nullable structures in one library with handy conversion functions, marshallers and unmarshallers.
  • null - Nullable Go types that can be marshalled/unmarshalled to/from JSON.
  • typ - Null Types, Safe primitive type conversion and fetching value from complex structures.

Pipes

  • ordered-concurrently - Go module that processes work concurrently and returns output in a channel in the order of input.
  • parapipe - FIFO Pipeline which parallels execution on each stage while maintaining the order of messages and results.
  • pipeline - An implementation of pipelines with fan-in and fan-out.

Queues

  • deque - A highly optimized double-ended queue.
  • deque - Fast ring-buffer deque (double-ended queue).
  • goconcurrentqueue - Concurrent FIFO queue.
  • memlog - An easy to use, lightweight, thread-safe and append-only in-memory data structure inspired by Apache Kafka.
  • prioritywaitqueue - A blocking queue for prioritised coordination of goroutine execution.
  • timerqueue - A Go package providing timer queue for a list of items that should be processed in at a fixed duration of time after being added.
  • queue - Package queue provides a lock-free queue. The underlying algorithm is one proposed by Michael and Scott.
  • queue - Fast golang queue using ring-buffer.
  • queue - Multiple thread-safe, generic queue implementations for Go.

Ranges

  • iprangetree - Simple IP range tree collection.
  • go-range - Lib, that implements sets, intervals and sequences in Golang.
  • Go Range Store - Range store provides a simple datastructure providing efficient storage of a single value to many (consecutive) keys.
  • gorange - gorange is a small Go library for interacting with range servers.

Sets

  • dsu - Disjoint Set data structure implementation in Go.
  • golang-set - Thread-Safe and Non-Thread-Safe high-performance sets for Go.
  • goset - A useful Set collection implementation for Go.
  • set - Simple set data structure implementation in Go using LinkedHashMap.

Text Analysis

  • bleve - Modern text indexing library for go.
  • go-adaptive-radix-tree - Go implementation of Adaptive Radix Tree.
  • go-edlib - Go string comparison and edit distance algorithms library (Levenshtein, LCS, Hamming, Damerau levenshtein, Jaro-Winkler, etc.) compatible with Unicode.
  • levenshtein - Levenshtein distance and similarity metrics with customizable edit costs and Winkler-like bonus for common prefix.
  • levenshtein - Implementation to calculate levenshtein distance in Go.
  • mspm - Multi-String Pattern Matching Algorithm for information retrieval.
  • parsefields - Tools for parse JSON-like logs for collecting unique fields and events.
  • ptrie - An implementation of prefix tree.
  • trie - Trie implementation in Go.

Trees

  • btree - In-memory B-Tree implementation for Go, useful as an ordered, mutable data structure.
  • btree - B-tree implementation for Go.
  • btree - BTree provides a simple, ordered, in-memory data structure for Go programs.
  • go-radix - Golang implementation of Radix trees.
  • Go Merkle Tree - High performance Golang Merkle Tree implementation (supports parallelization).
  • hashsplit - Split byte streams into chunks, and arrange chunks into trees, with boundaries determined by content, not position.
  • iavl - A versioned, snapshottable (immutable) AVL+ tree for persistent data.
  • mast - Immutable, versioned, diffable map implementation of the Merkle Search Tree.
  • merkle - Space-efficient computation of Merkle root hashes and inclusion proofs.
  • merkletree - Implementation of a merkle tree providing an efficient and secure verification of the contents of data structures.
  • prtree - Just a hybrid data structure that slams my rtree and ptree libraries into one.
  • radix - radix implements a radix tree. The package only provides a single Tree implementation, optimized for sparse nodes.
  • rbtree - This is an implementation of Red-Black tree written by Golang.
  • skiplist - Very fast Go Skiplist implementation.
  • skiplist - Skiplist implementation in Go.
  • treap - Persistent, fast ordered map using tree heaps.
  • treemap - Generic key-sorted map using a red-black tree under the hood.

Database

Caches

Data stores with expiring records, in-memory distributed data stores, or in-memory subsets of file-based databases.

  • 2q - 2Q in-memory cache implementation.
  • bcache - Eventually consistent distributed in-memory cache Go library.
  • BigCache - Efficient key/value cache for gigabytes of data.
  • cache - In-memory key:value store with expiration time, 0 dependencies, <100 LoC, 100% coverage.
  • cache2go - In-memory key:value cache which supports automatic invalidation based on timeouts.
  • cachego - Golang Cache component for multiple drivers.
  • cachego - Golang Cache component for multiple drivers.
  • clusteredBigCache - BigCache with clustering support and individual item expiration.
  • couchcache - RESTful caching micro-service backed by Couchbase server.
  • DiceDB - An extremely simple Golang-based in-memory KV store that speaks the Redis dialect.
  • fastcache - fast thread-safe inmemory cache for big number of entries. Minimizes GC overhead.
  • GCache - Cache library with support for expirable Cache, LFU, LRU and ARC.
  • gdcache - A pure non-intrusive cache library implemented by golang, you can use it to implement your own distributed cache.
  • giostorage - This package was designed to save small data, like user preferences, profile pictures and related names.
  • go-cache - A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern.
  • go-freelru - FreeLRU - A GC-less, fast and generic LRU hashmap library for Go.
  • go-mcache - Fast in-memory key:value store/cache library. Pointer caches.
  • gocache - A complete Go cache library with mutiple stores (memory, memcache, redis, …), chainable, loadable, metrics cache and more.
  • groupcache - Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
  • imcache - A generic in-memory cache Go library. It supports expiration, sliding expiration, max entries limit, eviction callbacks and sharding.
  • nscache - A Go caching framework that supports multiple data source drivers.
  • remember-go - A universal interface for caching slow database queries (backed by redis, memcached, ristretto, or in-memory).
  • rockscache - The First Redis Cache Library To Ensure Eventual Consistency And Strong Consistency With DB.
  • theine - High performance, near optimal in-memory cache with proactive TTL expiration and generics.
  • timedmap - Map with expiring key-value pairs.
  • ttlcache - An in-memory cache with item expiration and generics.
  • ttlcache - In-memory key value storage with TTL for each record.

Databases Implemented in Go

  • badger - Fast key-value store in Go.
  • bbolt - 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).
  • bolt - Low-level key/value database for Go.
  • bolthold - BoltHold is an embeddable NoSQL store for Go types built on BoltDB.
  • buntdb - Fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support.
  • cnosdb - An Open Source Distributed Time Series Database with high performance, high compression ratio and high usability.
  • cockroach - Scalable, Geo-Replicated, Transactional Datastore.
  • Coffer - Simple ACID key-value database that supports transactions.
  • column - High-performance, columnar, embeddable in-memory store with bitmap indexing and transactions.
  • CovenantSQL - CovenantSQL is a SQL database on blockchain.
  • Databunker - Personally identifiable information (PII) storage service built to comply with GDPR and CCPA.
  • datatable - datatable is a Go package to manipulate tabular data, like an excel spreadsheet. datatable is inspired by the pandas python package and the data.frame R structure.
  • FerretDB - FerretDB (previously MangoDB) was founded to become the de-facto open-source substitute to MongoDB. FerretDB is an open-source proxy, converting the MongoDB wire protocol queries to SQL - using PostgreSQL as a database engine.
  • FlashDB - FlashDB is an embeddable, in-memory key/value database in Go (with Redis like commands and super easy to read).
  • FrostDb - Coolest database around Embeddable column database written in Go.
  • dgraph - Scalable, Distributed, Low Latency, High Throughput Graph Database.
  • diskv - Home-grown disk-backed key-value store.
  • Dolt - SQL database that you can fork, clone, branch, merge, push and pull just like a git repository.
  • dtf - A distributed transaction manager. Support XA, TCC, SAGA, Reliable Messages.
  • clover - A lightweight document-oriented NoSQL database written in pure Golang.
  • eliasdb - Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.
  • FerretDB - A truly Open Source MongoDB alternative https://www.ferretdb.io
  • freecache - A cache library for Go with zero GC overhead.
  • galaxycache - galaxycache is a caching and cache-filling library, adapted from groupcache, intended as a replacement for memcached in many cases.
  • GhostDB - GhostDB is a distributed, in-memory, general purpose key-value data store that delivers microsecond performance at any scale.
  • go-cache - In-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
  • godis - A Golang implemented high-performance Redis server and cluster.
  • goleveldb - Implementation of the LevelDB key/value database in Go.
  • go-memdb - Golang in-memory database built on immutable radix trees.
  • gorocksdb - Gorocksdb is a wrapper for RocksDB written in Go.
  • go-storage - An application-oriented unified storage layer for Golang.
  • Graphik - Graphik is an identity-aware, permissioned, persistant document/graph database & pubsub server written in Go.
  • Graviton - Graviton Database is simple, fast, versioned, authenticated, embeddable key-value store database in pure GOLANG. Graviton Database in short is like “ZFS for key-value stores” in which every write is tracked, versioned and authenticated with cryptographic proofs.
  • hare - A simple database management system that stores each table as a text file of line-delimited JSON.
  • imdgo - In-Memory Data Grid in Go or simply - a light-weight distributed in-memory key-value store inspired primarily by Hazelcast.
  • immudb - immudb is a lightweight, high-speed immutable database for systems and applications written in Go.
  • influxdb - Scalable datastore for metrics, events, and real-time analytics.
  • iodb - A simple filesystem-based bigfile k/v store.
  • Kivik - Kivik provides a common Go and GopherJS client library for CouchDB, PouchDB, and similar databases.
  • ledisdb - Ledisdb is a high performance NoSQL like Redis based on LevelDB.
  • levigo - Levigo is a Go wrapper for LevelDB.
  • libcache - A Lightweight in-memory key:value cache library for Go.
  • LinDb - LinDB is a scalable, high performance, high availability distributed time series database.
  • lungo - A MongoDB compatible embeddable database and toolkit for Go.
  • libradb - LibraDB is a simple database with less then 1000 lines of code for learning.
  • lotusdb - Fast k/v database compatible with lsm and b+tree.
  • M3 - M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics Platform. m3db.io
  • MarketStore - MarketStore is a database server optimized for financial time-series data. You can think of it as an extensible DataFrame service that is accessible from anywhere in your system, at higher scalability.
  • Milvus - An open source vector database powered by Faiss, NMSLIB and Annoy milvus.io.
  • minikeyvalue - minikeyvalue is a ~1000 line distributed key value store, with support for replication, multiple machines, and multiple drives per machine.
  • moss - Moss is a simple LSM key-value storage engine written in 100% Go.
  • mydis - Distributed, reliable database and cache library, server, and client. Inspired by Redis.
  • nutsdb - 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.
  • objectbox-go - High-performance embedded Object Database (NoSQL) with Go API.
  • odin - A programmable, observable and distributed job orchestration system.
  • Olric - Distributed cache and in-memory key/value data store. It can be used both as an embedded Go library and as a language-independent service.
  • PranaDB - PranaDB is a distributed streaming database, designed from the outset to be horizontally scalable.
  • Pebble - Pebble is a LevelDB/RocksDB inspired key-value store focused on performance and internal usage by CockroachDB.
  • piladb - Lightweight RESTful database engine based on stack data structures.
  • pogreb - Embedded key-value store for read-heavy workloads.
  • prometheus - Monitoring system and time series database.
  • pudge - Fast and simple key/value store written using Go’s standard library.
  • RadonDB - RadonDB is an open source, Cloud-native MySQL database for unlimited scalability and performance.
  • redcon - Redcon is a custom Redis server framework for Go that is fast and simple to use. The reason for this library it to give an efficient server front-end for the BuntDB and Tile38 projects.
  • redix - Persistent real-time key-value store, with the same redis protocol with powerful features.
  • rosedb - An embedded k-v database based on LSM+WAL, supports string, list, hash, set, zset.
  • rqlite - The lightweight, distributed, relational database built on SQLite.
  • Scribble - Tiny flat file JSON store.
  • slowpoke - Key-value store with persistence.
  • spicedb - Open source permissions database inspired by Google Zanzibar.
  • tempdb - Key-value store for temporary items.
  • tidb - TiDB is a distributed SQL database. Inspired by the design of Google F1.
  • tidis - Distributed transactional NoSQL database, Redis protocol compatible using tikv as backend https://xiking.win/tidis
  • tiedot - Your NoSQL database powered by Golang.
  • tinykv - The TinyKV course builds a key-value storage system with the Raft consensus algorithm. It is inspired by MIT 6.824 and TiKV Project.
  • Titan - Distributed Redis Protocol Compatible NoSQL Database (distributed implementation of Redis compatible layer based on TiKV)
  • tstorage - A fast time-series data storage library.
  • unitdb - Fast timeseries database for IoT, realtime messaging applications. Access unitdb with pubsub over tcp or websocket using github.com/unit-io/trace application.
  • Vasto - A distributed high-performance key-value store. On Disk. Eventual consistent. HA. Able to grow or shrink without service interruption.
  • VictoriaMetrics - fast, resource-effective and scalable open source time series database. May be used as long-term remote storage for Prometheus. Supports PromQL.

Database Schema Migration

  • avro - Discover SQL schemas and convert them to AVRO schemas. Query SQL records into AVRO bytes.
  • bytebase - Web-based, zero-config, dependency-free database schema change and version control tool for teams.
  • darwin - Database schema evolution library for Go.
  • dbmate - A lightweight, framework-agnostic database migration tool.
  • go-fixtures - Django style fixtures for Golang’s excellent built-in database/sql library.
  • go-pg-migrate - CLI-friendly package for go-pg migrations management.
  • go-pg-migrations - A Go package to help write migrations with go-pg/pg.
  • gondolier - Database migration library using struct decorators.
  • goose - Database migration tool. You can manage your database’s evolution by creating incremental SQL or Go scripts.
  • gorm-seeder - Simple database seeder for Gorm ORM.
  • gormigrate - Database schema migration helper for Gorm ORM.
  • libschema - Define your migrations separately in each libary. Migrations for open source libraries. MySQL & PostgreSQL.
  • migrate - Database migrations. CLI and Golang library.
  • migrator - Dead simple Go database migration library.
  • migrator - MySQL database migrator designed to run migrations to your features and manage database schema update with intuitive go code.
  • pravasan - Simple Migration tool - currently for MySQL but planning to soon support Postgres, SQLite, MongoDB, etc.
  • schema - Library to embed schema migrations for database/sql-compatible databases inside your Go binaries.
  • skeema - 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.
  • sql-migrate - Database migration tool. Allows embedding migrations into the application using go-bindata.

Database Tools

  • boltdbpool - Pool of Bolt DBs.
  • bucket - Optimized data structure framework for Couchbase specialized on one bucket usage.
  • chproxy - HTTP proxy for ClickHouse database.
  • clickhouse-bulk - Collects small insterts and sends big requests to ClickHouse servers.
  • dbbench - Database benchmarking tool with support for several databases and scripts.
  • dynago - Simplify working with AWS DynamoDB.
  • Gaea - Gaea is a mysql proxy, it’s developed by xiaomi b2c-dev team.
  • go-mysql - Go toolset to handle MySQL protocol and replication.
  • go-mysql-elasticsearch - Sync your MySQL data into Elasticsearch automatically.
  • kingshard - kingshard is a high performance proxy for MySQL powered by Golang.
  • myreplication - MySql binary log replication listener. Supports statement and row based replication.
  • octillery - Go package for sharding databases ( Supports every ORM or raw SQL ).
  • onedump - Database backup from different drivers to different destinations with one command and configuration.
  • orchestrator - MySQL replication topology manager & visualizer.
  • pg_timetable - Advanced scheduling for PostgreSQL.
  • pgweb - Web-based PostgreSQL database browser.
  • prep - Use prepared SQL statements without changing your code.
  • pREST - Simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new.
  • rwdb - rwdb provides read replica capability for multiple database servers setup.
  • rump - Hot sync two Redis databases using dumps.
  • vitess - vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.

SQL Query Builders

SQL query builder, libraries for building and using SQL.

  • buildsqlx - Go database query builder library for PostgreSQL.
  • builq - Easily build SQL queries in Go.
  • dbq - Zero boilerplate database operations for Go.
  • Dotsql - Go library that helps you keep sql files in one place and use them with ease.
  • gendry - Non-invasive SQL builder and powerful data binder.
  • godbal - Database Abstraction Layer (dbal) for go. Support SQL builder and get result easily.
  • goqu - Idiomatic SQL builder and query library.
  • gosql - SQL Query builder with better null values support.
  • hasql - Library for accessing multi-host SQL database installations.
  • igor - Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax.
  • jet - Framework for writing type-safe SQL queries in Go, with ability to easily convert database query result into desired arbitrary object structure.
  • mpath - MPTT (Modified Preorder Tree Traversal) package for SQL records - materialized path realisation.
  • ormlite - Lightweight package containing some ORM-like features and helpers for sqlite databases.
  • ozzo-dbx - Powerful data retrieval methods as well as DB-agnostic query building capabilities.
  • qry - Tool that generates constants from files with raw SQL queries.
  • sg - A SQL Gen for generating standard SQLs(supports: CRUD) written in Go.
  • scaneo - Generate Go code to convert database rows into arbitrary structs.
  • sq - Type-safe SQL builder and struct mapper for Go.
  • sqlc - Generate type safe Go from SQL.
  • sqlf - Fast SQL query builder.
  • sqlingo - A lightweight DSL to build SQL in Go.
  • sqrl - SQL query builder, fork of Squirrel with improved performance.
  • Squalus - Thin layer over the Go SQL package that makes it easier to perform queries.
  • Squirrel - Go library that helps you build SQL queries.
  • TinySQL - TinySQL is a course designed to teach you how to implement a distributed relational database in Go. TinySQL is also the name of the simplifed version of TiDB.
  • xo - Generate idiomatic Go code for databases based on existing schema definitions or custom queries supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server.

Database Drivers

Libraries for connecting and operating databases.

Interfaces to Multiple Backends

  • cayley - Graph database with support for multiple backends.
  • dsc - Datastore connectivity for SQL, NoSQL, structured files.
  • go-transaction-manager - Transaction manager with multiple adapters (sql, sqlx, gorm, mongo, …) controls transaction boundaries.
  • gokv - Simple key-value store abstraction and implementations for Go (Redis, Consul, etcd, bbolt, BadgerDB, LevelDB, Memcached, DynamoDB, S3, PostgreSQL, MongoDB, CockroachDB and many more).
  • goprisma - A Go wrapper for prisma to turn databases into GraphQL APIs using Go.
  • valkeyrie - Distributed Key/Value Store Abstraction Library written in Go.

Relational Database Drivers

  • avatica - Apache Avatica/Phoenix SQL driver for database/sql.
  • bgc - Datastore Connectivity for BigQuery for go.
  • firebirdsql - Firebird RDBMS SQL driver for Go.
  • go-adodb - Microsoft ActiveX Object DataBase driver for go that uses database/sql.
  • go-mssqldb - Microsoft MSSQL driver for Go.
  • go-oci8 - Oracle driver for go that uses database/sql.
  • go-sql-driver/mysql - MySQL driver for Go.
  • go-sqlite3 - SQLite3 driver for go that uses database/sql.
  • godror - Oracle driver for Go, using the ODPI-C driver.
  • gofreetds - Microsoft MSSQL driver. Go wrapper over FreeTDS.
  • KSQL - A Simple and Powerful Golang SQL Library.
  • pgx - PostgreSQL driver supporting features beyond those exposed by database/sql.
  • pig - Simple pgx wrapper to execute and scan query results easily.
  • pq - Pure Go Postgres driver for database/sql.
  • Sqinn-Go - SQLite with pure Go.
  • sqlhooks - Attach hooks to any database/sql driver.

NoSQL Database Drivers

  • aerospike-client-go - Aerospike client in Go language.
  • arangolite - Lightweight golang driver for ArangoDB.
  • asc - Datastore Connectivity for Aerospike for go.
  • clickhouse - Clickhouse support for GORM.
  • codis - Proxy based Redis cluster solution supporting pipeline and scaling dynamically.
  • dynago - Dynago is a principle of least surprise client for DynamoDB.
  • forestdb - Go bindings for ForestDB.
  • go-clickhouse - ClickHouse client for Go.
  • go-couchbase - Couchbase client in Go.
  • go-couchdb - Yet another CouchDB HTTP API wrapper for Go.
  • go-pilosa - Go client library for Pilosa.
  • go-rejson - Golang client for redislabs’ ReJSON module using Redigo golang client. Store and manipulate structs as JSON objects in redis with ease.
  • gocb - Official Couchbase Go SDK.
  • gocosmos - REST client and standard database/sql driver for Azure Cosmos DB.
  • gocql - Go language driver for Apache Cassandra.
  • godis - redis client implement by golang, inspired by jedis.
  • godscache - A wrapper for the Google Cloud Platform Go Datastore package that adds caching using memcached.
  • gomemcache - memcache client library for the Go programming language.
  • gorethink - Go language driver for RethinkDB.
  • goriak - Go language driver for Riak KV.
  • mdbx-go - Go bindings to the libmdbx.
  • mgm - MongoDB model-based ODM for Go (based on official MongoDB driver).
  • mgo - 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.
  • mongo-go-driver - Official MongoDB driver for the Go language.
  • neo4j - Neo4j Rest API Bindings for Golang.
  • Neo4j-GO - Neo4j REST Client in golang.
  • neoism - Neo4j client for Golang.
  • qmgo - The MongoDB driver for Go. It’s based on official MongoDB driver but easier to use like Mgo.
  • redeo - Redis-protocol compatible TCP servers/services.
  • redigo - Redigo is a Go client for the Redis database.
  • redis - Redis client for Golang.
  • redis-port - Parse redis rdb file, sync data between redis master and slave.
  • rueidis - A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc.
  • ydb-go-sdk - Native and database/sql driver YDB (Yandex Database).
  • xredis - Typesafe, customizable, clean & easy to use Redis client.

Search and Analytic Databases

  • elastic - Elasticsearch client for Go.
  • elasticsql - Convert sql to elasticsearch dsl in Go.
  • elastigo - Elasticsearch client library.
  • go-elasticsearch - Official Elasticsearch client for Go.
  • goes - Library to interact with Elasticsearch.
  • riot - Go Open Source, Distributed, Simple and efficient Search Engine.
  • skizze - probabilistic data-structures service and storage.

Date and Time

Libraries for working with dates and times.

  • carbon - A simple, semantic and developer-friendly golang package for datetime.
  • carbon - Simple Time extension with a lot of util methods, ported from PHP Carbon library.
  • cronrange - Parses Cron-style time range expressions, checks if the given time is within any ranges.
  • date - Augments Time for working with dates, date ranges, time spans, periods, and time-of-day.
  • dateparse - Parse date’s without knowing format in advance.
  • durafmt - Time duration formatting library for Go.
  • feiertage - 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 - Parse dates/times like “next dec 22nd at 3pm” and ranges like “from today until next thursday” without knowing the format in advance.
  • go-persian-calendar - The implementation of the Persian (Solar Hijri) Calendar in Go (golang).
  • go-str2duration - Convert string to duration. Support time.Duration returned string and more.
  • go-sunrise - Calculate the sunrise and sunset times for a given location.
  • go-week - An efficient package to work with ISO8601 week dates.
  • gostradamus - A Go package for working with dates.
  • iso8601 - Efficiently parse ISO8601 date-times without regex.
  • kair - Date and Time - Golang Formatting Library.
  • now - Now is a time toolkit for golang.
  • NullTime - Nullable time.Time.
  • strftime - C99-compatible strftime formatter.
  • timespan - For interacting with intervals of time, defined as a start time and a duration.
  • timeutil - Useful extensions (Timedelta, Strftime, …) to the golang’s time package.
  • tuesday - Ruby-compatible Strftime function.

Debug

Debugging Libraries, Memory Leak and Resource Leak Detection

  • cozgo - Coz profiler Golang wrapper - Coz employs a novel technique we call causal profiling that measures optimization potential.
  • fgtrace - fgtrace is an experimental profiler/tracer that is capturing wallclock timelines for each goroutine. It’s very similar to the Chrome profiler.
  • gohook - Library to hook golang function at runtime.
  • goleak - Goroutine leak detector to help avoid Goroutine leaks.
  • gops - gops is a command to list and diagnose Go processes currently running on your system.
  • gotraceui - Gotraceui is a tool for visualizing and analyzing Go execution traces.
  • holmes - self-aware Golang profile dumper.

Distributed Systems

Packages that help with building Distributed Systems.

  • Argo Events - Event-driven workflow automation framework for Kubernetes.
  • arpc - More effective network communication, support two-way-calling, notify, broadcast.
  • cadence - Cadence is a distributed, scalable, durable, and highly available orchestration engine to execute asynchronous long-running business logic in a scalable and resilient way.
  • celeriac - Library for adding support for interacting and monitoring Celery workers, tasks and events in Go.
  • Clymene - The Clymene is a time-series data and logs collection platform for distributed systems inspired by Prometheus and Jaeger.
  • consistent - Consistent hashing with bounded loads.
  • consistenthash - Consistent hashing with configurable replicas.
  • Crossplane - Crossplane is a framework for building cloud native control planes without needing to write code. It has a highly extensible backend that enables you to build a control plane that can orchestrate applications and infrastructure no matter where they run, and a highly configurable frontend that puts you in control of the schema of the declarative API it offers.
  • cubequeue - A simple transaction orchestrator with a swappable database and message queue.
  • dapr - Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.
  • dht - BitTorrent Kademlia DHT implementation.
  • digota - grpc ecommerce microservice.
  • distributed - examples of etcd distributed concurrency primitives.
  • Dkron - Distributed, fault tolerant job scheduling system. Website
  • dolphin - Distributed API Gateway
  • dot - distributed sync using operational transformation/OT.
  • doublejump - A revamped Google’s jump consistent hash.
  • dragonboat - A feature complete and high performance multi-group Raft library in Go.
  • Dragonfly - 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.
  • drmaa - Job submission library for cluster schedulers based on the DRMAA standard.
  • DTM - A cross-language distributed transaction solution. Support saga, tcc, xa, 2 phases messages. webpage
    • go-saga-example - Implements Orchestration saga pattern in Go with docker compose and dtm.
  • dynamolock - DynamoDB-backed distributed locking implementation.
  • dynatomic - A library for using DynamoDB as an atomic counter.
  • easegress - A cloud native high availability/performance traffic orchestration system with observability and extensibility.
  • easycar - A simple distributed transaction framework implemented by go.
  • emitter-io - High performance, distributed, secure and low latency publish-subscribe platform built with MQTT, Websockets and love.
  • encore - Go backend framework for rapidly creating APIs and distributed systems.
  • erpc - eRPC is an efficient, extensible and easy-to-use RPC framework. Suitable for RPC, Microservice, Peer-to-Peer, IM, Game and other fields.
  • evhub - EvHub supports the distribution of delayed, transaction, real-time and cyclic events. It is used in scenarios such as system decoupling, asynchronous calling and distributed transactions.
  • failured - adaptive accrual failure detector for distributed systems.
  • FLAC - A distributed KV-store with FaiLure-Aware Atomic Commit protocol supported.
  • flowgraph - flow-based programming package.
  • Frontman - Frontman is an open-source API gateway written in Go that allows you to manage your microservices and expose them as a single API endpoint. It acts as a reverse proxy and handles requests from clients, routing them to the appropriate backend service.
  • fx - A Function as a Service tool makes a function as a container-based service in seconds.
  • gland - Distributed transaction across multi languages.
  • gleam - 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 - Easy-to-Use scalable distributed big data processing, Map-Reduce, DAG execution, all in pure Go.
  • gmsec - A Go distributed systems development framework.
  • go-doudou - 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.
  • go-health - Library for enabling asynchronous dependency health checks in your service.
  • go-jump - Port of Google’s “Jump” Consistent Hash function.
  • go-kit - Microservice toolkit with support for service discovery, load balancing, pluggable transports, request tracking, etc.
  • go-kratos - A Go framework for microservices.
  • go-jsonrpc - Low Boilerplate JSON-RPC 2.0 library.
  • go-micro - A distributed systems development framework.
  • go-pdu - A decentralized identity-based social network.
  • go-plugin - Golang plugin system over RPC.
  • go-saga - Saga pattern implementation in Go.
  • go-saga - Implements saga-pattern in Go, another way to distribute transaction.
  • go-sundheit - A library built to provide support for defining async service health checks for golang services.
  • go-zero - 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.
  • gocelery - Celery Distributed Task Queue in Go.
  • goharvest - Go implementation of the Transactional Outbox pattern for Postgres and Kafka.
  • goutube - Streaming utility to build largely-scalable, highly available, fast, and secure distributed streaming APIs.
  • gorpc - Simple, fast and scalable RPC library for high load.
  • grpc-gateway - gRPC to JSON proxy generator following the gRPC HTTP spec.
  • grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC.
  • gta - A lightweight and reliable asynchronous task and transaction message library for Golang.
  • go-grpc-middleware - Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.
  • grabbit - A lightweight transactional message bus on top of RabbitMQ.
  • hprose - Very newbility RPC Library, support 25+ languages now.
  • hptx - high-performance non-intrusive distributed transaction solution, inspired by kubernetes, only for golang language.
  • jsonrpc - The jsonrpc package helps implement of JSON-RPC 2.0.
  • jsonrpc - JSON-RPC 2.0 HTTP client implementation.
  • JuiceFS - JuiceFS is a distributed POSIX file system built on top of Redis and S3.
  • ION - Distributed Real-time Communication System.
  • iWF - iWF is an all-in-one platform for developing long-running business processes. It offers a convenient abstraction layer for utilizing databases, ElasticSearch, message queues, durable timers, and more, with a clean, simple, and user-friendly interface.
  • karmada - Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration.
  • Kitex - 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.
  • KrakenD - KrakenD is an extensible, ultra-high performance API Gateway that helps you effortlessly adopt microservices and secure communications. KrakenD is easy to operate and run and scales out without a single point of failure. KrakenD Community Edition (or KrakenD-CE) is the open-source distribution of KrakenD.
  • kubevela - Modern Application Deployment System Based on Kubernetes and OAM.
  • liftbridge - Lightweight, fault-tolerant message streams for NATS.
  • linkerd2 - Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.
  • Lotus - Lotus is an implementation of the Filecoin Distributed Storage Network. For more details about Filecoin, check out the Filecoin Spec.
  • lura - Ultra performant API Gateway framework with middlewares.
  • micro - A distributed systems runtime for the cloud and beyond.
  • mortar - Mortar is a GO framework/library for building gRPC (and REST) web services. Mortar has out-of-the-box support for configuration, application metrics, logging, tracing, profiling, dependency injection and more. While it comes with predefined defaults Mortar gives you total control to fully customize it.
  • NATS - Lightweight, high performance messaging system for microservices, IoT, and cloud native systems.
  • netramesh - Ultra light service mesh for any orchestrator.
  • Nomad - Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
  • NSQ - NSQ is a realtime distributed messaging platform designed to operate at scale, handling billions of messages per day.
  • odin - Odin is a Rpcx-based rpc framework, reference rpcx
  • outboxer - Outboxer is a go library that implements the outbox pattern.
  • pglock - PostgreSQL-backed distributed locking implementation.
  • pjrpc - Golang JSON-RPC router with Protobuf.
  • podinfo - Go microservice template for Kubernetes.
  • polaris - Service Discovery and Governance Center for Distributed and Microservice Architecture.
  • servicetmpl - Microservice template project for Go and gRPC
  • raft - Golang implementation of the Raft consensus protocol, by HashiCorp.
  • rain - BitTorrent client and library.
  • raft - Go implementation of the Raft consensus protocol, by CoreOS.
  • resgate - A Realtime API Gateway used with NATS to build REST, real time, and RPC APIs, where all your clients are synchronized seamlessly. website
  • ringpop-go - Scalable, fault-tolerant application-layer sharding for Go applications.
  • rpcx - Distributed pluggable RPC service framework like alibaba Dubbo.
  • saga-product - Transaction services of the saga pattern implementation.
  • sago - Implementation of SAGA and Event Sourcing pattern in Go.
  • seata-go - Go Implementation For Seata.
  • SeaweedFS - SeaweedFS is a fast distributed storage system for blobs, objects, files, and data lake, for billions of files! Blob store has O(1) disk seek, cloud tiering. Filer supports Cloud Drive, cross-DC active-active replication, Kubernetes, POSIX FUSE mount, S3 API, S3 Gateway, Hadoop, WebDAV, encryption, Erasure Coding.
  • Service Weaver - Service Weaver is a programming framework for writing, deploying, and managing distributed applications.
  • Semaphore - A straightforward (micro) service orchestrator.
  • sleuth - Library for master-less p2p auto-discovery and RPC between HTTP services (using ZeroMQ).
  • telepresence - Local development against a remote Kubernetes or OpenShift cluster www.telepresence.io.
  • temporal - Temporal is a microservice orchestration platform which enables developers to build scalable applications without sacrificing productivity or reliability.
  • torrent - BitTorrent client package.
  • transparent - Transparent cache and distributed commit to key-value store.
  • Vald - A Highly Scalable Distributed Vector Search Engine.
  • Vearch - scalable distributed system for efficient similarity search of deep learning vectors.
  • VolantMQ - High-Performance MQTT Server.
  • Uhaha - Uhaha is a framework for building highly available data applications in Go.
  • xds - xDS is a set of discovery services that enables date-plane to discover various dynamic resources via querying from the management servers.

Documentation

  • docuapi - Beautiful multilingual API documentation theme for Hugo.
  • gomarkdoc - Generate markdown documentation for Go (golang) code.
  • swag - Automatically generate RESTful API documentation with Swagger 2.0 for Go.

Dynamic DNS

Tools for updating dynamic DNS records.

  • DDNS - 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.
  • GoDNS - A dynamic DNS client tool, supports DNSPod & HE.net, written in Go.

Email

Libraries and tools that implement email creation and sending.

  • chasquid - SMTP server written in Go.
  • douceur - CSS inliner for your HTML emails.
  • email - A robust and flexible email library for Go.
  • email-verifier - A Go library for email verification without sending any emails.
  • go-dkim - DKIM library, to sign & verify email.
  • go-email-validator - Modular email validator for syntax, disposable, smtp, etc… checking.
  • go-email-normalizer - Golang library for providing a canonical representation of email address.
  • go-imap - IMAP library for clients and servers.
  • go-mail - A simple Go library for sending mails in Go.
  • go-message - Streaming library for the Internet Message Format and mail messages.
  • go-premailer - Inline styling for HTML mail in Go.
  • go-simple-mail - Very simple package to send emails with SMTP Keep Alive and two timeouts: Connect and Send.
  • gluon - An IMAP server library written in Go.
  • Gomail - Gomail is a very simple and powerful package to send emails.
  • Hectane - Lightweight SMTP client providing an HTTP API.
  • hermes - Golang package that generates clean, responsive HTML e-mails.
  • mailchain - Send encrypted emails to blockchain addresses written in Go.
  • mailgun-go - Go library for sending mail with the Mailgun API.
  • mailpit - Email and SMTP testing tool for developers.
  • mailx - Mailx is a library that makes it easier to send email via SMTP. It is an enhancement of the golang standard library net/smtp.
  • MailHog - Email and SMTP testing with web and API interface.
  • mox - Modern full-featured open source secure mail server for low-maintenance self-hosted email
  • SendGrid - SendGrid’s Go library for sending email.
  • smtp - SMTP server protocol state machine.
  • smtpmock - Lightweight configurable multithreaded fake SMTP server. Mimic any SMTP behaviour for your test environment.
  • truemail-go - Configurable Golang email validator/verifier. Verify email via Regex, DNS, SMTP and even more.

Embeddable Scripting Languages

Embedding other languages inside your go code.

  • agora - Dynamically typed, embeddable programming language in Go.
  • anko - Scriptable interpreter written in Go.
  • binder - Go to Lua binding library, based on gopher-lua.
  • cel-go - Fast, portable, non-Turing complete expression evaluation with gradual typing.
  • ecal - A simple embeddable scripting language which supports concurrent event processing.
  • expr - Expression evaluation engine for Go: fast, non-Turing complete, dynamic typing, static typing.
  • gentee - Embeddable scripting programming language.
  • gisp - Simple LISP in Go.
  • go-duktape - Duktape JavaScript engine bindings for Go.
  • go-lua - Port of the Lua 5.2 VM to pure Go.
  • go-php - PHP bindings for Go.
  • go-python - naive go bindings to the CPython C-API.
  • goja - ECMAScript 5.1(+) implementation in Go.
  • golua - Go bindings for Lua C API.
  • gopher-lua - Lua 5.1 VM and compiler written in Go.
  • govaluate - Provides support for evaluating arbitrary C-like artithmetic/string expressions.
  • gval - A highly customizable expression language written in Go.
  • metacall - Cross-platform Polyglot Runtime which supports NodeJS, JavaScript, TypeScript, Python, Ruby, C#, WebAssembly, Java, Cobol and more.
  • ngaro - Embeddable Ngaro VM implementation enabling scripting in Retro.
  • otto - Package otto is a JavaScript parser and interpreter written natively in Go.
  • purl - Perl 5.18.2 embedded in Go.
  • prolog - Embeddable Prolog.
  • starlark-go - Go implementation of Starlark: Python-like language with deterministic evaluation and hermetic execution.
  • tengo - Bytecode compiled script language for Go.
  • Wasmer - Wasmer is a Go library for executing WebAssembly binaries.

Error Handling

Libraries for handling errors.

  • emperror - Error handling tools and best practices for Go libraries and applications.
  • eris - A better way to handle, trace, and log errors in Go. Compatible with the standard error library and github.com/pkg/errors.
  • errlog - Hackable package that determines responsible source code for an error (and some other fast-debugging features). Pluggable to any logger in-place.
  • errors - Package that provides simple error handling primitives.
  • errors - Simple golang error handling with classification primitives.
  • errors - The most simple error wrapper with awesome performance and minimal memory overhead.
  • errors - Drop-in replacement for builting 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.
  • errors - Go error library with error portability over the network.
  • errorx - A feature rich error package with stack traces, composition of errors and more.
  • exception - A simple utility package for exception handling with try-catch in Golang.
  • Falcon - A Simple Yet Highly Powerful Package For Error Handling.
  • Fault - An ergonomic mechanism for wrapping errors in order to facilitate structured metadata and context for error values.
  • go-multierror - Go (golang) package for representing a list of errors as a single error.
  • tracerr - Golang errors with stack trace and source fragments.

File Handling

Libraries for handling files and file systems.

  • afero - FileSystem Abstraction System for Go.
  • afs - Abstract File Storage (mem, scp, zip, tar, cloud: s3, gs) for Go.
  • baraka - A library to process http file uploads easily.
  • bfile - A buffer pool file I/O library for Go.
  • bigfile - A file transfer system, support to manage files with http api, rpc call and ftp client.
  • checksum - Compute message digest, like MD5, SHA256, SHA1 or CRC, for large files.
  • copy - Copy directory recursively.
  • flop - File operations library which aims to mirror feature parity with GNU cp.
  • gdu - Disk usage analyzer with console interface.
  • go-csv-tag - Load csv file using tag.
  • go-decent-copy - Copy files for humans.
  • go-gtfs - Load gtfs files in go.
  • gofs - A file synchronization tool out of the box.
  • gut/yos - Simple and reliable package for file operations like copy/move/diff/list on files, directories and symbolic links.
  • higgs - A tiny cross-platform Go library to hide/unhide files and directories.
  • litefs - FUSE-based file system for replicating SQLite databases across a cluster of machines.
  • notify - File system event notification library with simple API, similar to os/signal.
  • opc - Load Open Packaging Conventions (OPC) files for Go.
  • parquet - Read and write parquet files.
  • pathtype - Treat paths as their own type instead of using strings.
  • pdfcpu - PDF processor.
  • skywalker - Package to allow one to concurrently go through a filesystem with ease.
  • stl - Modules to read and write STL (stereolithography) files. Concurrent algorithm for reading.
  • tarfs - Implementation of the FileSystem interface for tar files.
  • todotxt - Go library for Gina Trapani’s todo.txt files, supports parsing and manipulating of task lists in the todo.txt format.
  • vfs - 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 - Go bindings for ExifTool, the well-known library used to extract as much metadata as possible (EXIF, IPTC, …) from files (pictures, PDF, office, …).

Financial

Packages for accounting and finance.

  • accounting - money and currency formatting for golang.
  • ach - A reader, writer, and valdiator for Automated Clearing House (ACH) files.
  • achgateway - Payment gateway enabling automated ACH operations in a distributed and fault tolerant way.
  • applecrypto - Go library for working with ApplePay tokens.
  • applepay - Handles the Apple Pay flow.
  • applepay - Apple Pay receipt verify golang packge.
  • apple_payment_token_decoder - Apple payment token decoder implementation.
  • applepay-session - Starts a new session with Apple Pay and outputs the response data.
  • bank-1 - Banking infrastructure built using Go.
  • bankiso - Go implementation of the ISO 20022 and 8583 standards.
  • bbgo - A crypto trading bot framework written in Go. Including common crypto exchange API, standard indicators, back-testing and many built-in strategies.
  • buyte - Apple Pay and Google Pay in a single install. Digital Wallet Payment Orchestration built on a Serverless Stack for AWS using Golang, Node.js, Serverless Framework and AWS Amplify.
  • currency - Handles currency amounts, provides currency information and formatting.
  • currency - High performant & accurate currency computation package.
  • decimal - Arbitrary-precision fixed-point decimal numbers.
  • fastme - Fast extensible matching engine Go implementation.
  • finance-messaging - This repository contains a full set of Golang code that represents the latest ISO-20022 data elements as per the ISO-20022 specifications.
  • finance-util - Common utility objects for use with financial systems.
  • fincrypt - A go library which provides general purpose cryptography alongside solutions for payment industry specific requirements.
  • fpdecimal - Fast and precise serialization and arithmetic for small fixed-point decimals.
  • fpmoney - Fast and simple ISO4217 fixed-point decimal money.
  • go-api - Organize golang apple pay ,google pay and other api.
  • go-credit-card - Credit card validation with the Luhn algorithm for golang.
  • go-finance - Comprehensive financial markets data in Go.
  • go-finance - Library of financial functions for time value of money (annuities), cash flow, interest rate conversions, bonds and depreciation calculations.
  • go-finance - Module to fetch exchange rates, check VAT numbers via VIES and check IBAN bank account numbers.
  • go-finnhub - Client for stock market, forex and crypto data from finnhub.io. Access real-time financial market data from 60+ stock exchanges, 10 forex brokers, and 15+ crypto exchanges.
  • go-iso8583 - An easy to use, yet flexible marshaler for ISO-8583.
  • go-money - Implementation of Fowler’s Money pattern.
  • go-paybysquare - Go library for Pay By Square QR Code generation.
  • gopay - AliPay, WeChat, PayPal, ApplePay - payment SDK.
  • iso20022 - This repository contains a full set of Golang parse to the ISO-20022 data catalogs ISO-20022 specifications.
  • iso20022 - ISO20022 message elements.
  • iso8583 - ISO 8583 is a financial industry messaging format, when you make a purchase using your card, that transaction will probably reach you bank encoded in ISO 8583 format.
  • iso8583 - A golang implementation to marshal and unmarshal iso8583 message.
  • ofxgo - Query OFX servers and/or parse the responses (with example command-line client).
  • open-payment-host - Open Payment Host is an easy to run self-hosted, minimalist payments host through which we can easily sell our digital items without paying double commissions while having total control over our sales and data.
  • orderbook - Matching Engine for Limit Order Book in Golang.
  • pay-gateway - Pay gateway. support alipay,wechatpay,unionpay,jdpay etc.
  • paygate - Moov Paygate is a RESTful HTTP API enabling Automated Clearing House (ACH) transactions and returns to be processed with an Originating Depository Financial Institution (ODFI) without a deep understanding of a full NACHA file specification.
  • payme - QR code generator (ASCII & PNG) for SEPA payments.
  • paymentpage-sdk-go - This is a set of libraries in the Go language to ease integration of your service with the EcommPay Payment Page.
  • payqr - payqr - Payments with QR.
  • payserver - A easy way to get paid.
  • paysuper - PaySuper is a unique, simple payment toolkit designed to make developers self-reliant.
  • paytokens - package for decrypt Google Pay and Apple Pay tokens.
  • sleet - One unified interface for multiple Payment Service Providers (PsP) to process online payment.
  • techan - Technical analysis library with advanced market analysis and trading strategies.
  • ticker - Terminal stock watcher and stock position tracker.
  • transaction - Embedded transactional database of accounts, running in multithreaded mode.
  • vat - VAT number validation & EU VAT rates.
  • go-business-creditcard - Validate/generate credit card checksums/names.

Forms

Libraries for working with forms.

  • bind - Bind form data to any Go values.
  • binding - Binds form and JSON data from net/http Request to struct.
  • conform - Keeps user input in check. Trims, sanitizes & scrubs data based on struct tags.
  • form - Decodes url.Values into Go value(s) and Encodes Go value(s) into url.Values. Dual Array and Full map support.
  • formam - decode form’s values into a struct.
  • forms - Framework-agnostic library for parsing and validating form/JSON data which supports multipart forms and files.
  • gbind - Bind data to any Go value. Can use built-in and custom expression binding capabilities; supports data validation.
  • gorilla/csrf - CSRF protection for Go web applications & services.
  • httpin - Decode an HTTP request into a custom struct, including querystring, forms, HTTP headers, etc.
  • nosurf - CSRF protection middleware for Go.
  • qs - Go module for encoding structs into URL query parameters.
  • queryparam - Decode url.Values into usable struct values of standard or custom types.

Functional

Packages to support functional programming in Go.

  • fp-go - Collection of Functional Programming helpers powered by Golang 1.18+ generics.
  • fpGo - Monad, Functional Programming features for Golang.
  • fuego - Functional Experiment in Go.
  • go-underscore - Useful collection of helpfully functional Go collection utilities.
  • gofp - A lodash like powerful utility library for Golang.
  • mo - Monads and popular FP abstractions, based on Go 1.18+ Generics (Option, Result, Either…).
  • underscore - Functional programming helpers for Go 1.18 and beyond.
  • valor - Generic option and result types that optionally contain a value.

Game Development

Awesome game development libraries.

  • Azul3D - 3D game engine written in Go.
  • Ebitengine - dead simple 2D game engine in Go.
  • engo - Engo is an open-source 2D game engine written in Go. It follows the Entity-Component-System paradigm.
  • fantasyname - Fantasy names generator.
  • g3n - Go 3D Game Engine.
  • GarageEngine - 2d game engine written in Go working on OpenGL.
  • glop - Glop (Game Library Of Power) is a fairly simple cross-platform game library.
  • go-astar - Go implementation of the A* path finding algorithm.
  • go-collada - Go package for working with the Collada file format.
  • go-sdl2 - Go bindings for the Simple DirectMedia Layer.
  • go3d - Performance oriented 2D/3D math package for Go.
  • gonet - Game server skeleton implemented with golang.
  • goworld - Scalable game server engine, featuring space-entity framework and hot-swapping.
  • Leaf - Lightweight game server framework.
  • nano - Lightweight, facility, high performance golang based game server framework.
  • Oak - Pure Go game engine.
  • Pitaya - Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK.
  • Pixel - Hand-crafted 2D game library in Go.
  • prototype - Cross-platform (Windows/Linux/Mac) library for creating desktop games using a minimal API.
  • raylib-go - Go bindings for raylib, a simple and easy-to-use library to learn videogames programming.
  • termloop - Terminal-based game engine for Go, built on top of Termbox.
  • tile - Data-oriented and cache-friendly 2D Grid library (TileMap), includes pathfinding, observers and import/export.

Generation and Generics

Tools to enhance the language with features like generics via code generation.

  • convergen - Feature rich type-to-type copy code generator.
  • copygen - Generate type-to-type code without reflection.
  • efaceconv - Code generation tool for high performance conversion from interface{} to immutable type without allocations.
  • gen - Code generation tool for ‘generics’-like functionality.
  • go-enum - Code generation for enums from code comments.
  • go-linq - .NET LINQ-like query methods for Go.
  • go-xray - Helpers for making the use of reflection easier.
  • goderive - Derives functions from input types.
  • gotype - Golang source code parsing, usage like reflect package.
  • goverter - Generate converters by defining an interface.
  • GoWrap - Generate decorators for Go interfaces using simple templates.
  • interfaces - Command line tool for generating interface definitions.
  • jennifer - Generate arbitrary Go code without templates.
  • pkgreflect - Go preprocessor for package scoped reflection.
  • RxGo - Reactive Extensions for the Go Language.
  • typeregistry - A library to create type dynamically.

Geographic

Geographic tools and servers

  • geocache - In-memory cache that is suitable for geolocation based applications.
  • geoserver - geoserver Is a Go Package For Manipulating a GeoServer Instance via the GeoServer REST API.
  • gismanager - Publish Your GIS Data(Vector Data) to PostGIS and Geoserver.
  • Globe - Globe wireframe visualizations in Golang backed by pinhole.
  • godal - Go wrapper for GDAL.
  • H3GeoDist - Distribution of Uber H3geo cells by virtual nodes.
  • H3 GeoJSON - Conversion utilities between H3 indexes and GeoJSON.
  • mbtileserver - A simple Go-based server for map tiles stored in mbtiles format.
  • osm - Library for reading, writing and working with OpenStreetMap data and APIs.
  • pbf - OpenStreetMap PBF golang encoder/decoder.
  • S2 geojson - Convert geojson to s2 cells & demonstrating some S2 geometry features on map.
  • S2 geometry - S2 geometry library in Go.
  • simplefeatures - simplesfeatures is a 2D geometry library that provides Go types that model geometries, as well as algorithms that operate on them.
  • Tile38 - Geolocation DB with spatial index and realtime geofencing.
  • 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 - Library for Coordinate Conversion and Transformation (ETRS89, OSGB36, NAD83, RGF93, Web Mercator, UTM).

Go Compilers

Tools for compiling Go to other languages.

  • c2go - Convert C code to Go code.
  • c4go - Transpile C code to Go code.
  • esp32 - Transpile Go into Arduino code.
  • f4go - Transpile FORTRAN 77 code to Go code.
  • gopherjs - Compiler from Go to JavaScript.
  • llgo - LLVM-based compiler for Go.
  • tardisgo - Golang to Haxe to CPP/CSharp/Java/JavaScript transpiler.

Goroutines

Tools for managing and working with Goroutines.

  • ants - A high-performance goroutine pool for golang.
  • artifex - Simple in-memory job queue for Golang using worker-based dispatching.
  • async - Provides a simple parallel execution primitive that we’ve all come to miss from Go: async/await futures. Each future is a straightforward implementation of a single go routine and a cancellable result channel. Accessing a future’s result may require type casting from interface{}.
  • async - An alternative sync library for Go (Future, Promise, Locks).
  • async - A safe way to execute functions asynchronously, recovering them in case of panic.
  • async - Async is a utility library for manipulating synchronous and asynchronous flows. (Concurrent, Parallel, Waterfall).
  • async-job - AsyncJob is an asynchronous queue job manager with light code, clear and speed.
  • breaker - Flexible mechanism to make execution flow interruptible.
  • channelify - Transform your function to return channels for easy and powerful parallel processing.
  • codel - Implements the Controlled Delay algorithm for overload detection, providing a mechanism to shed load when overloaded.
  • conc - conc is your toolbelt for structured concurrency in go, making common tasks easier and safer.
  • concurrency-limiter - Concurrency limiter with support for timeouts , dynamic priority and context cancellation of goroutines.
  • conexec - 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.
  • cpuworker - A Customized Goroutine Scheduler over Golang Runtime.
  • cyclicbarrier - CyclicBarrier for golang.
  • execpool - 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.
  • go-actor - A tiny library for writing concurrent programs using actor model.
  • go-concurrency-patterns - Common concurrency patterns in Golang.
  • go-floc - Orchestrate goroutines with ease.
  • go-flow - Control goroutines execution order.
  • go-tools/multithreading - Manage a pool of goroutines using this lightweight library with a simple API.
  • go-trylock - TryLock support on read-write lock for Golang.
  • go-waitgroup - Like sync.WaitGroup with error handling and concurrency control.
  • go-workerpool - Inspired from Java Thread Pool, Go WorkerPool aims to control heavy Go Routines.
  • go-workers - Easily and safely run workers for large data processing pipelines.
  • goccm - Go Concurrency Manager package limits the number of goroutines that allowed to run concurrently.
  • gochan - pool of goroutine with buffer channel, for concurrent execution but events of individual object running sequentially
  • gohive - A highly performant and easy to use Goroutine pool for Go.
  • gollback - asynchronous simple function utilities, for managing execution of closures and callbacks.
  • gool - A generic goroutine pool just like Python ThreadPoolExecutor.
  • goroutine - Package for getting the runtime ID of a goroutine.
  • goroutines - It is an efficient, flexible, and lightweight goroutine pool. It provides an easy way to deal with concurrent tasks with limited resource.
  • gotasks - gotasks is a task/job queue framework for Golang. Currently support Redis as broker.
  • gowl - 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.
  • goworker - goworker is a Go-based background worker.
  • goworkers - A minimal and efficient scalable workerpool implementation in Go using goroutines.
  • gowp - gowp is concurrency limiting goroutine pool.
  • gpool - manages a resizeable pool of context-aware goroutines to bound concurrency.
  • grit - A multitree-based personal task manager.
  • grpool - Lightweight Goroutine pool.
  • queue - Queue is a Golang library for spawning and managing a Goroutine pool.
  • hands - A process controller used to control the execution and return strategies of multiple goroutines.
  • harmony -
  • Hunch - Hunch provides functions like: All, First, Retry, Waterfall etc., that makes asynchronous flow control more intuitive.
  • itogami - Fastest and most efficient goroutine pool.
  • kyoo - Provides an unlimited job queue and concurrent worker pools.
  • limiter - go lang concurrency limiter.
  • mkill - mkill limits the number of threads in a Go program.
  • neilotoole/errgroup - Drop-in alternative to sync/errgroup, limited to a pool of N worker goroutines.
  • nursery - Structured concurrency in Go.
  • oversight - Oversight is a complete implementation of the Erlang supervision trees.
  • parallel-fn - Run functions in parallel.
  • pond - Minimalistic and High-performance goroutine worker pool written in Go.
  • pool - Limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation.
  • queue - Gives you a sync.WaitGroup like queue group accessibility. Helps you to throttle and limit goroutines, wait for the end of the all goroutines and much more.
  • queue - Queue is a Golang library for spawning and managing a Goroutine pool, Alloowing you to create multiple worker according to limit CPU number of machine.
  • routine - routine is a ThreadLocal for go library. It encapsulates and provides some easy-to-use, non-competitive, high-performance goroutine context access interfaces, which can help you access coroutine context information more gracefully.
  • routine - go routine control with context, support: Main, Go, Pool and some useful Executors.
  • semaphore - Semaphore pattern implementation with timeout of lock/unlock operations based on channel and context.
  • semaphore - Fast resizable semaphore implementation based on CAS (faster than channel-based semaphore implementations).
  • stl - Software transactional locks based on Software Transactional Memory (STM) concurrency control mechanism.
  • stream - Stream is a generic implementation for concurrency communication patterns.
  • taskq - Golang asynchronous task/job queue with Redis, SQS, IronMQ, and in-memory backends.
  • thread - Package thread provides threading facilities, such as scheduling calls on a specific thread, local storage, etc.
  • threadpool - Golang threadpool implementation.
  • tunny - Goroutine pool for golang.
  • workgroup - Workgroup is a generic Go library that provides a structured approach to concurrent programming. It lets you easily manage concurrent tasks in a manner that is predictable and scalable, and it provides a simple, yet effective approach to structuring concurrency.
  • worker-pool - goworker is a Go simple async worker pool.
  • workerpool - Goroutine pool that limits the concurrency of task execution, not the number of tasks queued.
  • workerpool-go - auto-scaling worker pool (work queue), using Go 1.18 generics.
  • ZenQ - A thread-safe queue faster and more resource efficient than golang’s native channels.

GUI

Libraries for building GUI Applications.

Toolkits

  • app - Package to create apps with GO, HTML and CSS. Supports: MacOS, Windows in progress.
  • fyne - 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-astilectron - Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron).
  • go-echarts - The adorable charts library for Golang.
  • go-gtk - Go bindings for GTK.
  • go-sciter - Go bindings for Sciter: the Embeddable HTML/CSS/script engine for modern desktop UI development. Cross platform.
  • gotk3 - Go bindings for GTK3.
  • gowd - Rapid and simple desktop UI development with GO, HTML, CSS and NW.js. Cross platform.
  • qamel - Simple QML binding for Go.
  • qt - Qt binding for Go (support for Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi).
  • ui - Platform-native GUI library for Go. Cross platform.
  • Wails - Mac, Windows, Linux desktop apps with HTML UI using built-in OS HTML renderer. Webpage
  • walk - Windows application library kit for Go.
  • webview - Cross-platform webview window with simple two-way JavaScript bindings (Windows / macOS / Linux).

Interaction

  • gosx-notifier - OSX Desktop Notifications library for Go.
  • robotgo - Go Native cross-platform GUI system automation. Control the mouse, keyboard and other.
  • systray - Cross platform Go library to place an icon and menu in the notification area.
  • trayhost - Cross-platform Go library to place an icon in the host operating system’s taskbar.
  • zenity - Cross-platform Go library and CLI to create simple dialogs that interact graphically with the user.

Hardware

Libraries, tools, and tutorials for interacting with hardware.

See go-hardware for a comprehensive list.

  • emgo - Go-like language for programming embedded systems (e.g. STM32 MCU).
  • ghw - Golang hardware discovery/inspection library.
  • go-osc - Open Sound Control (OSC) bindings for Go.
  • go-rpio - GPIO for Go, doesn’t require cgo.
  • goroslib - Robot Operating System (ROS) library for Go.
  • joystick - a polled API to read the state of an attached joystick.
  • sysinfo - A pure Go library providing Linux OS / kernel / hardware system information.

Images

Libraries for manipulating images.

  • bild - Collection of image processing algorithms in pure Go.
  • bimg - Small package for fast and efficient image processing using libvips.
  • cameron - An avatar generator for Go.
  • canvas - Vector graphics to PDF, SVG or rasterized image.
  • color-extractor - Dominant color extractor with no external dependencies.
  • darkroom - An image proxy with changeable storage backends and image processing engines with focus on speed and resiliency.
  • draft - Generate High Level Microservice Architecture diagrams for GraphViz using simple YAML syntax.
  • geopattern - Create beautiful generative image patterns from a string.
  • gg - 2D rendering in pure Go.
  • gift - Package of image processing filters.
  • go-cairo - Go binding for the cairo graphics library.
  • go-gd - Go binding for GD library.
  • go-nude - Nudity detection with Go.
  • go-opencv - Go bindings for OpenCV.
  • go-webcolors - Port of webcolors library from Python to Go.
  • go-webp - Library for encode and decode webp pictures, using libwebp.
  • gocv - Go package for computer vision using OpenCV 3.3+.
  • goimagehash - Go Perceptual image hashing package.
  • goimghdr - The imghdr module determines the type of image contained in a file for Go.
  • govatar - Library and CMD tool for generating funny avatars.
  • gowitness - Screenshoting webpages using go and headless chrome on command line.
  • govips - A lightning fast image processing and resizing library for Go.
  • gridder - A Grid based 2D Graphics library.
  • image2ascii - Convert image to ASCII.
  • imagick - Go binding to ImageMagick’s MagickWand C API.
  • imaginary - Fast and simple HTTP microservice for image resizing.
  • imaging - Simple Go image processing package.
  • img - Selection of image manipulation tools.
  • ln - 3D line art rendering in Go.
  • mergi - Tool & Go library for image manipulation (Merge, Crop, Resize, Watermark, Animate).
  • mort - Storage and image processing server written in Go.
  • mpo - Decoder and conversion tool for MPO 3D Photos.
  • PhotoPrism - PhotoPrism® is a server-based application for browsing, organizing and sharing your personal photo collection. It makes use of the latest technologies to automatically tag and find pictures without getting in your way.
  • picfit - An image resizing server written in Go.
  • png2svg - Convert small PNG images to SVG Tiny 1.2
  • primitive - Reproducing images with geometric primitives.
  • pt - Path tracing engine written in Go.
  • resize - Image resizing for Go with common interpolation methods.
  • rez - Image resizing in pure Go and SIMD.
  • scout - Scout is a standalone open source software solution for DIY video security.
  • smartcrop - Finds good crops for arbitrary images and crop sizes.
  • steganography - Pure Go Library for LSB steganography.
  • stegify - Go tool for LSB steganography, capable of hiding any file within an image.
  • svgo - Go Language Library for SVG generation.
  • tga - Package tga is a TARGA image format decoder/encoder.
  • webp-server - Simple and minimal image server capable of storing, resizing, converting and caching images.

QrCode

Libraries for manipulating with QrCodes.

  • go-qrcode - Package qrcode implements a QR Code encoder.
  • txqr - Transfer data via animated QR codes.

IoT (Internet of Things)

Libraries for programming devices of the IoT.

  • connectordb - Open-Source Platform for Quantified Self & IoT.
  • devices - Suite of libraries for IoT devices, experimental for x/exp/io.
  • EdgeX - EdgeX Foundry is a vendor-neutral open source project hosted by The Linux Foundation building a common open framework for IoT edge computing.
  • ekuiper - Lightweight data stream processing engine for IoT edge.
  • eywa - Project Eywa is essentially a connection manager that keeps track of connected devices.
  • flogo - Project Flogo is an Open Source Framework for IoT Edge Apps & Integration.
  • gatt - 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.
  • huego - An extensive Philips Hue client library for Go.
  • iot - IoT is a simple framework for implementing a Google IoT Core device.
  • mainflux - Industrial IoT Messaging and Device Management Server.
  • periph - Peripherals I/O to interface with low-level board facilities.
  • sensorbee - Lightweight stream processing engine for IoT.

Job Scheduler

Libraries for scheduling jobs.

  • cdule - Job scheduler library with database support.
  • cheek - A simple crontab like scheduler that aims to offer a KISS approach to job scheduling.
  • clockwerk - Go package to schedule periodic jobs using a simple, fluent syntax.
  • clockwork - Simple and intuitive job scheduling library in Go.
  • crocodile - A distributed task scheduling system based on Golang that supports http requests, run golang, python, python3, shell, bat
  • cronticker - A ticker implementation to support cron schedules.
  • Dagu - No-code workflow executor. it executes DAGs defined in a simple YAML format.
  • gocron - Golang Job Scheduling Package.
  • go-cron - 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-quartz - Simple, zero-dependency scheduling library for Go.
  • gocron - Easy and fluent Go job scheduling. This is an actively maintained fork of jasonlvhit/gocron.
  • gron - Define time-based tasks using a simple Go API and Gron’s scheduler will run them accordingly.
  • gronx - Cron expression parser, task runner and daemon consuming crontab like task list.
  • JobRunner - Smart and featureful cron job scheduler with job queuing and live monitoring built in.
  • jobs - Persistent and flexible background jobs library.
  • leprechaun - Job scheduler that supports webhooks, crons and classic scheduling.
  • sched - A job scheduler with the ability to fast-forward time.
  • scheduler - Cronjobs scheduling made easy.
  • schedgroup - Package schedgroup provides a goroutine worker pool which schedules tasks to be performed at or after a specified time.
  • tasks - An easy to use in-process scheduler for recurring tasks in Go.
  • tunasync - Mirror job management tool.

JSON

Libraries for working with JSON.

  • ajson - Abstract JSON for golang with JSONPath support.
  • ask - 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.
  • dynjson - Client-customizable JSON formats for dynamic APIs.
  • ej - Write and read JSON from different sources succinctly.
  • epoch - Contains primitives for marshaling/unmarshaling Unix timestamp/epoch to/from build-in time.Time type in JSON.
  • fastjson - Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection.
  • gabs - For parsing, creating and editing unknown or dynamic JSON in Go.
  • gjo - Small utility to create JSON objects.
  • GJSON - Get a JSON value with one line of code.
  • goflow - A workflow orchestrator and scheduler for rapid prototyping of ETL/ML/AI pipelines.
  • go-json - Fast JSON encoder/decoder compatible with encoding/json for Go.
  • go-jsonerror - Go-JsonError is ment to allow us to easily create json response errors that follow the JsonApi spec.
  • go-jsonpointer - Go implementation of JSON Pointer (RFC6901).
  • go-respond - Go package for handling common HTTP JSON responses.
  • GoJay - fastest JSON encoder/decoder with powerful stream API for Golang
  • gojmapr - Get simple struct from complex json by json path.
  • go-prettyjson - JSON pretty print for Golang.
  • gojq - JSON query in Golang.
  • gojson - Automatically generate Go (golang) struct definitions from example JSON.
  • htmljson - Rich rendering of JSON as HTML in Go.
  • JayDiff - JSON diff utility written in Go.
  • jettison - Fast and flexible JSON encoder for Go.
  • jscan - High performance zero-allocation JSON iterator.
  • JSON-to-Go - Convert JSON to Go struct.
  • JSON-to-Proto - Convert JSON to Protobuf online.
  • json2go - Advanced JSON to Go struct conversion. Provides package that can parse multiple JSON documents and create struct to fit them all.
  • jsonapi-errors - Go bindings based on the JSON API errors reference.
  • jsoncolor - Drop-in replacement for encoding/json that outputs colorized JSON.
  • jsondiff - JSON diff library for Go based on RFC6902 (JSON Patch).
  • jsonf - Console tool for highlighted formatting and struct query fetching JSON.
  • jsongo - Fluent API to make it easier to create Json objects.
  • jsonhal - Simple Go package to make custom structs marshal into HAL compatible JSON responses.
  • jsonhandlers - JSON library to expose simple handlers that lets you easily read and write json from various sources.
  • jsonic - Utilities to handle and query JSON without defining structs in a type safe manner.
  • jzon - JSON library with standard compatible API/behavior.
  • kazaam - API for arbitrary transformation of JSON documents.
  • mapslice-json - Go MapSlice for ordered marshal/ unmarshal of maps in JSON.
  • mp - Simple cli email parser. It currently takes stdin and outputs JSON.
  • marshmallow - Performant JSON unmarshaling for flexible use cases.
  • OjG - Optimized JSON for Go is a high performance parser with a variety of additional JSON tools including JSONPath.
  • omg.jsonparser - Simple JSON parser with validation by condition via golang struct fields tags.
  • pjson - A JSON stream parser for Go.
  • pretty - Pretty is a Go package that provides fast methods for formatting JSON for human readability, or to compact JSON for smaller payloads.
  • ujson - Fast and minimal JSON parser and transformer that works on unstructured JSON.
  • vjson - Go package for validating JSON objects with declaring a JSON schema with fluent API.

Logging

Libraries for generating and working with log files.

  • aol - A simple immutable append only log in Go. aol is a rewrite of wal to allow only appends to a log.
  • distillog - distilled levelled logging (think of it as stdlib + log levels).
  • glg - glg is simple and fast leveled logging library for Go.
  • glo - PHP Monolog inspired logging facility with identical severity levels.
  • glog - Leveled execution logs for Go.
  • go-cronowriter - Simple writer that rotate log files automatically based on current date and time, like cronolog.
  • go-log - A logging library with strack traces, object dumping and optional timestamps.
  • go-log - Simple and configurable Logging in Go, with level, formatters and writers.
  • go-log - Log lib supports level and multi handlers.
  • go-log - Log4j implementation in Go.
  • go-logger - Simple logger of Go Programs, with level handlers.
  • golog - A high-performant Logging Foundation for Go Applications. X3 faster than the rest leveled loggers.
  • gologger - Simple easy to use log lib for go, logs in Colored Console, Simple Console, File or Elasticsearch.
  • gomol - Multiple-output, structured logging for Go with extensible logging outputs.
  • gone/log - Fast, extendable, full-featured, std-lib source compatible log library.
  • GoVector - GoVector is a vector clock logging library written in Go. The vector clock algorithm is used to order events in distributed systems in the absence of a centralized clock. GoVector implements the vector clock algorithm and provides feature-rich logging and encoding infrastructure.
  • httplog - Golang HTTP logger middleware with color console output and structured logs.
  • httpretty - Pretty-prints your regular HTTP requests on your terminal for debugging (similar to http.DumpRequest).
  • journald - Go implementation of systemd Journal’s native API for logging.
  • kemba - A tiny debug logging tool inspired by debug, great for CLI tools and applications.
  • log - Structured logging package for Go.
  • log - Simple, configurable and scalable Structured Logging for Go.
  • log - Structured log interface for Go cleanly separates logging facade from its implementation.
  • log - An O(1) logging system that allows you to connect one log to multiple writers (e.g. stdout, a file and a TCP connection).
  • log - Logging framework for Cybozu Go products.
  • log - Simple leveled logging wrapper around standard log package.
  • log - A minimal, colorful Go logging library.
  • log - A simple logging framework out of the box.
  • log-voyage - Full-featured logging saas written in golang.
  • log15 - Simple, powerful logging for Go.
  • logdump - Package for multi-level logging.
  • logex - Golang log lib, supports tracking and level, wrap by standard log lib.
  • logger - Minimalistic logging library for Go.
  • logmatic - Colorized logger for Golang with dynamic log level configuration.
  • logo - Golang logger to different configurable writers.
  • logrus - Structured logger for Go.
  • logrusiowriter - io.Writer implementation using logrus logger.
  • logrusly - logrus plug-in to send errors to a Loggly.
  • logsuck - Logsuck is a program that makes it easier for you to deal with your logs.
  • logur - An opinionated logger interface and collection of logging best practices with adapters and integrations for well-known libraries (logrus, go-kit log, zap, zerolog, etc).
  • logutils - Utilities for slightly better logging in Go (Golang) extending the standard logger.
  • logxi - 12-factor app logger that is fast and makes you happy.
  • loki - Like Prometheus, but for logs.
  • lumberjack - Simple rolling logger, implements io.WriteCloser.
  • mlog - Simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output.
  • noodlog - 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.
  • onelog - 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.
  • ozzo-log - High performance logging supporting log severity, categorization, and filtering. Can send filtered log messages to various targets (e.g. console, network, mail).
  • pp - Colored pretty printer for Go language.
  • phuslu/log - Structured Logging Made Easy.
  • redlog - Redlog is a Redis style logger for Go.
  • rollingwriter - RollingWriter is an auto-rotate io.Writer implementation with multi policies to provide log file rotation.
  • seelog - Logging functionality with flexible dispatching, filtering, and formatting.
  • slf4g - Simple Logging Facade for Golang: Simple structured logging; but powerful, extendable and customizable, with huge amount of learnings from decades of past logging frameworks.
  • slog - Structured logging.
  • slog - Lightweight, configurable, extensible logger for Go.
  • slog-formatter - Common formatters for slog and helpers to build your own.
  • slog-multi - Chain of slog.Handler (pipeline, fanout…).
  • spew - Implements a deep pretty printer for Go data structures to aid in debugging.
  • sqldb-logger - A logger for Go SQL database driver without modify existing *sql.DB stdlib usage.
  • stdlog - Stdlog is an object-oriented library providing leveled logging. It is very useful for cron jobs.
  • structy/log - A simple to use log system, minimalist but with features for debugging and differentiation of messages.
  • tail - Go package striving to emulate the features of the BSD tail program.
  • tint - A slog.Handler that writes tinted logs.
  • xlog - Plugin architecture and flexible log system for Go, with level ctrl, multiple log target and custom log format.
  • xlog - Structured logger for net/context aware HTTP handlers with flexible dispatching.
  • xylog - Leveled and structured logging, dynamic fields, high performance, zone management, simple configuration, and readable syntax.
  • yell - Yet another minimalistic logging library.
  • zap - Fast, structured, leveled logging in Go.
  • zerolog - Zero-allocation JSON logger.
  • zkits-logger - A powerful zero-dependency JSON logger.

Machine Learning

Libraries for Machine Learning.

  • bayesian - Naive Bayesian Classification for Golang.
  • chatGPT-plugin-template - For Gophers.
  • CloudForest - Fast, flexible, multi-threaded ensembles of decision trees for machine learning in pure Go.
  • ddt - Dynamic decision tree, create trees defining customizable rules.
  • eaopt - An evolutionary optimization library.
  • evoli - Genetic Algorithm and Particle Swarm Optimization library.
  • fonet - A Deep Neural Network library written in Go.
  • go-cluster - Go implementation of the k-modes and k-prototypes clustering algorithms.
  • go-deep - A feature-rich neural network library in Go.
  • go-fann - Go bindings for Fast Artificial Neural Networks(FANN) library.
  • go-featureprocessing - Fast and convenient feature processing for low latency machine leraning in Go.
  • go-galib - Genetic Algorithms library written in Go / golang.
  • go-openai - OpenAI ChatGPT, GPT-3, DALL·E, Whisper API wrapper for Go.
  • go-pr - Pattern recognition package in Go lang.
  • gobrain - Neural Networks written in go.
  • godist - Various probability distributions, and associated methods.
  • goga - Genetic algorithm library for Go.
  • GoLearn - General Machine Learning library for Go.
  • golinear - liblinear bindings for Go.
  • GoMind - A simplistic Neural Network Library in Go.
  • goml - On-line Machine Learning in Go.
  • gonet - Neural Network for Go.
  • Goptuna - Bayesian optimization framework for black-box functions written in Go. Everything will be optimized.
  • goRecommend - Recommendation Algorithms library written in Go.
  • gorgonia - graph-based computational library like Theano for Go that provides primitives for building various machine learning and neural network algorithms.
  • goscore - Go Scoring API for PMML.
  • gosseract - Go package for OCR (Optical Character Recognition), by using Tesseract C++ library.
  • libsvm - libsvm golang version derived work based on LIBSVM 3.14.
  • m2cgen - A CLI tool to transpile trained classic ML models into a native Go code with zero dependencies, written in Python with Go language support.
  • mlgo - This project aims to provide minimalistic machine learning algorithms in Go.
  • neat - Plug-and-play, parallel Go framework for NeuroEvolution of Augmenting Topologies (NEAT).
  • neural-go - Multilayer perceptron network implemented in Go, with training via backpropagation.
  • ocrserver - A simple OCR API server, seriously easy to be deployed by Docker and Heroku.
  • openaigo - OpenAI GPT3/3.5 ChatGPT API Client Library for Go, simple, less dependencies, and well-tested.
  • probab - Probability distribution functions. Bayesian inference. Written in pure Go.
  • randomforest - Easy to use Random Forest library for Go.
  • regommend - Recommendation & collaborative filtering engine.
  • shield - Bayesian text classifier with flexible tokenizers and storage backends for Go.
  • tfgo - 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.
  • Varis - Golang Neural Network.
  • onnx-go - Go Interface to Open Neural Network Exchange (ONNX).

Messaging

Libraries that implement messaging systems.

  • ami - Go client to reliable queues based on Redis Cluster Streams.
  • amqp - Go RabbitMQ Client Library.
  • APNs2 - HTTP/2 Apple Push Notification provider for Go. Send push notifications to iOS, tvOS, Safari and OSX apps.
  • asynq - A simple, reliable, and efficient distributed task queue for Go built on top of Redis.
  • Beaver - A real time messaging server to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps.
  • Benthos - A message streaming bridge between a range of protocols.
  • Bus - Minimalist message bus implementation for internal communication.
  • Buz - Buz is a system for collecting events from various sources, validating data quality, and delivering them to where they need to bee.
  • Centrifugo - Real-time messaging (Websockets or SockJS) server in Go.
  • Chanify - A push notification server send message to your iOS devices.
  • cherami-server - Distributed, scalable, durable, and highly available message queue system.
  • Commander - A high-level event driven consumer/producer supporting various “dialects” such as Apache Kafka.
  • Confluent Kafka Golang Client - confluent-kafka-go is Confluent’s Golang client for Apache Kafka and the Confluent Platform.
  • dbus - Native Go bindings for D-Bus.
  • drone-line - Sending Line notifications using a binary, docker or Drone CI.
  • emitter - Emits events using Go way, with wildcard, predicates, cancellation possibilities and many other good wins.
  • event - Implementation of the pattern observer.
  • EventBus - The lightweight event bus with async compatibility.
  • fireworq - Fireworq is a lightweight, high-performance, language-independent job queue system.
  • gaurun - General push notification server in Go.
  • gaurun-client - Gaurun Client written in Go.
  • Glue - Robust Go and Javascript Socket Library (Alternative to Socket.io).
  • go-mq - RabbitMQ client with declarative configuration.
  • go-notify - Native implementation of the freedesktop notification spec.
  • go-nsq - the official Go package for NSQ.
  • go-res - Package for building REST/real-time services where clients are synchronized seamlessly, using NATS and Resgate.
  • go-socket.io - socket.io library for golang, a realtime application framework.
  • go-vitotrol - Client library to Viessmann Vitotrol web service.
  • Gollum - A n:m multiplexer that gathers messages from different sources and broadcasts them to a set of destinations.
  • golongpoll - HTTP longpoll server library that makes web pub-sub simple.
  • goose - Server Sent Events in Go.
  • gopush-cluster - gopush-cluster is a go push server cluster.
  • gorush - Push notification server using APNs2 and google GCM.
  • gosd - A library for scheduling when to dispatch a message to a channel.
  • gotify - Simple server for sending and receiving messages in real-time per WebSocket. (Includes a sleek web-ui) https://gotify.net
  • gotosocial - GoToSocial is an ActivityPub social network server, written in Golang.
  • guble - 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.
  • hare - A user friendly library for sending messages and listening to TCP sockets.
  • hub - A Message/Event Hub for Go applications, using publish/subscribe pattern with support for alias like rabbitMQ exchanges.
  • jazz - A simple RabbitMQ abstraction layer for queue administration and publishing and consuming of messages.
  • jocko - Kafka implemented in Golang with built-in coordination (No ZK dep, single binary install, Cloud Native).
  • kafka-go - Kafka library in Go.
  • lmstfy - Implements task queue in Golang which based on Redis storage.
  • machinery - Asynchronous task queue/job queue based on distributed message passing.
  • mangos - Pure go implementation of the Nanomsg (“Scalability Protocols”) with transport interoperability.
  • mattermost - Open source Slack-alternative in Golang and React.
  • melody - Minimalist framework for dealing with websocket sessions, includes broadcasting and automatic ping/pong handling.
  • Memphis - Memphis is an Open-Source, Real-Time Data Processing Platform. It took three minutes to build in Memphis what took me weeks in Kafka.
  • Mercure - Server and library to dispatch server-sent updates using the Mercure protocol (built on top of Server-Sent Events).
  • messagebus - messagebus is a Go simple async message bus, perfect for using as event bus when doing event sourcing, CQRS, DDD.
  • MiniQueue - A stupid simple, single binary message queue using HTTP/2.
  • mob - mob is a generic-based, simple mediator / event aggregator library. It supports in-process requests / events processing.
  • nats-kafka - This project implements a multi-connector bridge between NATS, NATS Streaming, JetStream and Kafka topics.
  • NATS Go Client - Lightweight and high performance publish-subscribe and distributed queueing messaging system - this is the Go library.
  • notify - A dead simple Go library for sending notifications to various messaging services.
  • nsq-event-bus - A tiny wrapper around NSQ topic and channel.
  • oplog - Generic oplog/replication system for REST APIs.
  • postee - Simple message routing system that receives input messages through a webhook interface and can enforce actions using predefined outputs via integrations.
  • pubsub - Simple pubsub package for go.
  • Quamina - Fast pattern-matching for filtering messages and events.
  • rabbus - A tiny wrapper over amqp exchanges and queues.
  • rabtap - RabbitMQ swiss army knife cli app.
  • RapidMQ - RapidMQ is a lightweight and reliable library for managing of the local messages queue.
  • Ratus - Ratus is a RESTful asynchronous task queue server.
  • redisqueue - redisqueue provides a producer and consumer of a queue that uses Redis streams.
  • rmq - Message queue system written in Go and backed by Redis.
  • rmqconn - 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.
  • sarama - Go library for Apache Kafka.
  • Uniqush-Push - Redis backed unified push service for server-side notifications to mobile devices.
  • YTask - Asynchronous task queue for handling distributed jobs in golang.
  • zmq4 - Go interface to ZeroMQ version 4. Also available for version 3 and version 2.
  • vice - Go channels at horizontal scale (powered by message queues).
  • watermill - Building event-driven applications the easy way in Go. https://watermill.io/

Microsoft Office

  • unioffice - 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 - Golang library for reading and writing Microsoft Excel (XLSX) files.
  • exl - Excel binding to struct written in Go.(Only supports Go1.18+)
  • go-excel - A simple and light reader to read a relate-db-like excel as a table.
  • goxlsxwriter - Golang bindings for libxlsxwriter for writing XLSX (Microsoft Excel) files.
  • xlsx - Library to simplify reading the XML format used by recent version of Microsoft Excel in Go programs.
  • xlsx - Fast and safe way to read/update your existing Microsoft Excel files in Go programs.

Miscellaneous

Dependency Injection

Libraries for working with dependency injection.

  • alice - Additive dependency injection container for Golang.
  • container - A powerful IoC Container with fluent and easy-to-use interface.
  • di - - DI container library that is focused on clean API and flexibility.
  • dig - A reflection based dependency injection toolkit for Go.
  • dingo - A dependency injection toolkit for Go, based on Guice.
  • do - A dependency injection framework based on Generics.
  • fx - A dependency injection based application framework for Go (built on top of dig).
  • gocontainer - Simple Dependency Injection Container.
  • google/wire - Automated Initialization in Go.
  • goioc/di - Spring-inspired Dependency Injection Container.
  • kinit - Customizable dependency injection container with the global mode, cascade initialization and panic-safe finalization.
  • inject - A reflection based dependency injection container with simple interface.
  • inject - Package inject provides a reflect based injector.
  • linker - A reflection based dependency injection and inversion of control library with components lifecycle support.
  • nject/npoint - A type safe, reflective framework based on types for libraries, tests, and endpoints.
  • nject - A type safe, reflective framework for libraries, tests, and http endpoints, and service startup.
  • wire - Strict Runtime Dependency Injection for Golang.

Memory allocation

  • go-slab - A slab allocator library in the Go Programming Language.
  • mem - A memory allocator for Go.
  • stealthpool - Off heap golang memory pool.

Project Layout

Unofficial set of patterns for structuring projects.

  • cookiecutter-golang - A Go application boilerplate template for quick starting projects following production best practices.
  • go-module - Template for a typical module written on Go.
  • go-restful-api - An idiomatic Go RESTful API starter kit following SOLID principles and Clean Architecture with a common project layout.
  • go-sample - A sample layout for Go application projects with the real code.
  • go-starter - An opinionated production-ready RESTful JSON backend template, highly integrated with VSCode DevContainers.
  • go-todo-backend - Go Todo Backend example using modular project layout for product microservice.
  • gobase - A simple skeleton for golang application with basic setup for real golang application.
  • golang-standards/project-layout - Set of common historical and emerging project layout patterns in the Go ecosystem.
  • golang-templates/seed - Go application GitHub repository template.
  • insidieux/inizio - Golang project layout generator with plugins.
  • modern-go-application - Go application boilerplate and example applying modern practices.
  • pagoda - Rapid, easy full-stack web development starter kit built in Go.
  • scaffold - Scaffold generates a starter Go project layout. Lets you focus on business logic implemented.
  • service - A starter kit for building production grade scalable web service applications.
  • wangyoucao577/go-project-layout - Set of practices and discussions on how to structure Go project layout.

Strings

Libraries for working with strings.

  • bexp - Go implementation of Brace Expansion mechanism to generate arbitrary strings.
  • caps - A case conversion library.
  • go-formatter - Implements replacement fields surrounded by curly braces {} format strings.
  • sttr - cross-platform, cli app to perform various operations on string.
  • Stringy - String manipulation library to convert string to camel case, snake case, kebab case / slugify etc.
  • strutil - String utilities.
  • xstrings - Collection of useful string functions ported from other languages.
  • go-strutil - Just String Processing Library for Go-lang.

Uncategorized

These libraries were placed here because none of the other categories seemed to fit.

  • anagent - Minimalistic, pluggable Golang evloop/timer handler with dependency-injection.
  • antch - A fast, powerful and extensible web crawling & scraping framework.
  • archiver - Library and command for making and extracting .zip and .tar.gz archives.
  • assert - This package provides an assert function for Go. It’s designed to work like assert in C.
  • autoflags - Go package to automatically define command line flags from struct fields.
  • avgRating - Calculate average score and rating based on Wilson Score Equation.
  • backoff - A simple exponential backoff counter in Go (Golang).
  • banner - Add beautiful banners into your Go applications.
  • base64Captcha - Base64captch supports digit, number, alphabet, arithmetic, audio and digit-alphabet captcha.
  • basexx - Convert to, from, and between digit strings in various number bases.
  • battery - Cross-platform, normalized battery information library.
  • bitio - Highly optimized bit-level Reader and Writer for Go.
  • browscap_go - GoLang Library for Browser Capabilities Project.
  • captcha - Package captcha provides an easy to use, unopinionated API for captcha generation.
  • captcha - Package captcha is a middleware that provides captcha service for Macaron.
  • common - A library for server framework.
  • conv - Package conv provides fast and intuitive conversions across Go types.
  • conv - A Go package for converting various primitive types.
  • d2 - D2 is a modern diagram scripting language that turns text to diagrams.
  • datacounter - Go counters for readers/writer/http.ResponseWriter.
  • faker - Random fake data and struct generator for Go.
  • ffmt - Beautify data display for Humans.
  • fsm - Finite State Machine for Go inspired by Akka FSM.
  • fsm - Finite State Machine for Go.
  • gatus - Automated service health dashboard.
  • gitaligned - Get author D&D-styled alignment from repository git commit messages.
  • go-fastapi - go-fastapi is a library to quickly build APIs. It is inspired by Python’s popular FastAPI library. Auto-generated OpenAPI/Swagger schema without any markup.
  • go-lodash - Implementation of lodash library in Go 1.18 generics.
  • go-commandbus - A slight and pluggable command-bus for Go.
  • go-commons-pool - Generic object pool for Golang.
  • go-openapi - Collection of packages to parse and utilize open-api schemas.
  • go-resiliency - Resiliency patterns for golang.
  • go-unarr - Decompression library for RAR, TAR, ZIP and 7z archives.
  • gobreaker - Circuit Breaker pattern implemented in Go
  • gofakeit - Random data generator written in go.
  • gommit - Analyze git commit messages to ensure they follow defined patterns.
  • gopkg - Universal Utilities for Go.
  • gopsutil - Cross-platform library for retrieving process and system utilization(CPU, Memory, Disks, etc).
  • gorse - An open source recommender system service written in Go.
  • gosh - Provide Go Statistics Handler, Struct, Measure Method.
  • gosms - Your own local SMS gateway in Go that can be used to send SMS.
  • gostuff - Collection of util packages.
  • gotils - Golang utlities to make your life easier.
  • gotoprom - Type-safe metrics builder wrapper library for the official Prometheus client.
  • gountries - Package that exposes country and subdivision data.
  • gov - A simple prometheus metrics and pprof profile viewer.
  • grofer - A system and resource monitoring tool written in Golang.
  • gtree - Provide CLI and Package to generate tree from Markdown or programmatically, and the output is JSON/YAML/TOML/tree command.
  • health - Easy to use, extensible health check library.
  • healthcheck - An opinionated and concurrent health-check HTTP handler for RESTful services.
  • hostutils - A golang library for packing and unpacking FQDNs list.
  • Hue exporter - This is a Prometheus exporter for the Philips Hue system. It’s written in Go. It exposes metrics about lights, groups and sensors.
  • juniper - Juniper is an extended Go standard library using generics, including containers, iterators, and streams.
  • libstdgo - Standard libraries for Go.
  • lk - A simple licensing library for golang.
  • llvm - Library for interacting with LLVM IR in pure Go.
  • maths - Maths includes mathematical functions not defined in the standard Go math package.
  • metrics - Library for metrics instrumentation and Prometheus exposition.
  • morse - Library to convert to and from morse code.
  • ogen - OpenAPI v3 code generator for go.
  • openapi - OpenAPI 3.x parser.
  • pdfgen - HTTP service to generate PDF from Json requests.
  • persian - Some utilities for Persian language in go.
  • resenje.org - All go packages are under domain resenje.org, but the code is hosted on GitHub.
  • sandid - Every grain of sand on earth has its own ID.
  • selfupdate - Build self-updating Go programs.
  • shellwords - A Golang library to manipulate strings according to the word parsing rules of the UNIX Bourne shell.
  • shortid - Distributed generation of super short, unique, non-sequential, URL friendly IDs.
  • shoutrrr - Notification library providing easy access to various messaging services like slack, mattermost, gotify and smtp among others.
  • sitemap-format - A simple sitemap generator, with a little syntactic sugar.
  • stateless - A fluent library for creating state machines.
  • stats - Monitors Go MemStats + System stats such as Memory, Swap and CPU and sends via UDP anywhere you want for logging etc…
  • tableflip - Graceful process restarts in Go.
  • turtle - Emojis for Go.
  • try - Simple idiomatic retry package for Go.
  • url-shortener - A modern, powerful, and robust URL shortener microservice with mysql support.
  • varint - A faster varying length integer encoder/decoder than the one provided in the standard library.
  • VarHandler - Generate boilerplate http input and output handling.
  • x - X Go packages.
  • xdg - FreeDesktop.org (xdg) Specs implemented in Go.
  • xkg - X Keyboard Grabber.
  • xo - A configuration, logging, reporting and tracing framework for Go applications.
  • xz - Pure golang package for reading and writing xz-compressed files.

Natural Language Processing

Libraries for working with human languages.

Language Detection

  • detectlanguage - Language Detection API Go Client. Supports batch requests, short phrase or single word language detection.
  • getlang - Fast natural language detection package.
  • guesslanguage - Functions to determine the natural language of a unicode text.
  • whatlanggo - Natural language detection package for Go. Supports 84 languages and 24 scripts (writing systems e.g. Latin, Cyrillic, etc).

Morphological Analyzers

  • go-stem - Implementation of the porter stemming algorithm.
  • go2vec - Reader and utility functions for word2vec embeddings.
  • golibstemmer - Go bindings for the snowball libstemmer library including porter 2.
  • gosentiwordnet - Sentiment analyzer using sentiwordnet lexicon in Go.
  • govader - Go implementation of VADER Sentiment Analysis.
  • govader_backend - Microservice implementation of GoVader
  • kagome - JP morphological analyzer written in pure Go.
  • libtextcat - Cgo binding for libtextcat C library. Guaranteed compatibility with version 2.2.
  • nlp - Extract values from strings and fill your structs with nlp.
  • nlp - Go Natural Language Processing library supporting LSA (Latent Semantic Analysis).
  • paicehusk - Golang implementation of the Paice/Husk Stemming Algorithm.
  • porter - This is a fairly straightforward port of Martin Porter’s C implementation of the Porter stemming algorithm.
  • porter2 - Really fast Porter 2 stemmer.
  • RAKE.go - Go port of the Rapid Automatic Keyword Extraction Algorithm (RAKE).
  • snowball - Snowball stemmer port (cgo wrapper) for Go. Provides word stem extraction functionality Snowball native.
  • spaGO - Self-contained Machine Learning and Natural Language Processing library in Go.
  • spelling-corrector - A spelling corrector for the Spanish language or create your own.

Slugifiers

  • go-slugify - Make pretty slug with multiple languages support.
  • slug - URL-friendly slugify with multiple languages support.
  • Slugify - Go slugify application that handles string.

Tokenizers

  • gojieba - This is a Go implementation of jieba which a Chinese word splitting algorithm.
  • gotokenizer - A tokenizer based on the dictionary and Bigram language models for Golang. (Now only support chinese segmentation)
  • gse - Go efficient text segmentation; support english, chinese, japanese and other.
  • MMSEGO - This is a GO implementation of MMSEG which a Chinese word splitting algorithm.
  • prose - Library for text processing that supports tokenization, part-of-speech tagging, named-entity extraction, and more. English only.
  • segment - Go library for performing Unicode Text Segmentation as described in Unicode Standard Annex #29
  • sentences - Sentence tokenizer: converts text into a list of sentences.
  • shamoji - The shamoji is word filtering package written in Go.
  • stemmer - Stemmer packages for Go programming language. Includes English and German stemmers.
  • textcat - Go package for n-gram based text categorization, with support for utf-8 and raw text.

Translation

  • go-i18n - Package and an accompanying tool to work with localized text.
  • go-localize - Simple and easy to use i18n (Internationalization and localization) engine - used for translating locale strings.
  • go-mystem - CGo bindings to Yandex.Mystem - russian morphology analyzer.
  • go-pinyin - CN Hanzi to Hanyu Pinyin converter.
  • gotext - GNU gettext utilities for Go.
  • icu - Cgo binding for icu4c C library detection and conversion functions. Guaranteed compatibility with version 50.1.
  • iuliia-go - Transliterate Cyrillic → Latin in every possible way.
  • spreak - Flexible translation and humanization library for Go, based on the concepts behind gettext.
  • t - 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.

Transliteration

  • enca - Minimal cgo bindings for libenca, which detects character encodings.
  • go-unidecode - ASCII transliterations of Unicode text.
  • gounidecode - Unicode transliterator (also known as unidecode) for Go.
  • transliterator - Provides one-way string transliteration with supporting of language-specific transliteration rules.

Uncategorized

  • go-eco - Similarity, dissimilarity and distance matrices; diversity, equitability and inequality measures; species richness estimators; coenocline models.
  • go-nlp - Utilities for working with discrete probability distributions and other tools useful for doing NLP work.
  • go-stem - Implementation of the porter stemming algorithm.
  • go2vec - Reader and utility functions for word2vec embeddings.
  • golibstemmer - Go bindings for the snowball libstemmer library including porter 2.
  • gosentiwordnet - Sentiment analyzer using sentiwordnet lexicon in Go.
  • govader - Go implementation of VADER Sentiment Analysis.
  • kagome - JP morphological analyzer written in pure Go.
  • libtextcat - Cgo binding for libtextcat C library. Guaranteed compatibility with version 2.2.
  • nlp - Extract values from strings and fill your structs with nlp.
  • nlp - Go Natural Language Processing library supporting LSA (Latent Semantic Analysis).
  • paicehusk - Golang implementation of the Paice/Husk Stemming Algorithm.
  • porter - This is a fairly straightforward port of Martin Porter’s C implementation of the Porter stemming algorithm.
  • porter2 - Really fast Porter 2 stemmer.
  • RAKE.go - Go port of the Rapid Automatic Keyword Extraction Algorithm (RAKE).
  • snowball - Snowball stemmer port (cgo wrapper) for Go. Provides word stem extraction functionality Snowball native.

Networking

Libraries for working with various layers of the network.

  • 1m-go-tcp-server - Benchmarks for implementation of servers which support 1 million connections.
  • arp - Package arp implements the ARP protocol, as described in RFC 826.
  • berty - Berty is a secure peer-to-peer messaging app that works with or without internet access, cellular data or trust in the network.
  • buffstreams - Streaming protocolbuffer data over TCP made easy.
  • calico - Cloud native networking and network security.
  • canopus - CoAP Client/Server implementation (RFC 7252).
  • cidranger - Fast IP to CIDR lookup for Go.
  • cmux - Generic Go library to multiplex connections based on their payload, serve gRPC, SSH, HTTPS, HTTP, Go RPC, and pretty much any other protocol on the same TCP listener.
  • CoreDNS - CoreDNS is a DNS server that chains plugins.
  • dhcp6 - Package dhcp6 implements a DHCPv6 server, as described in RFC 3315.
  • dns - Go library for working with DNS.
  • dnsmonster - Passive DNS Capture/Monitoring Framework.
  • easygo - Tools for building go apps (epoll).
  • easytcp - 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.
  • ergo - Framework for creating mesh networks using technologies and design patterns of Erlang/OTP in Golang.
  • ether - Cross-platform Go package for sending and receiving ethernet frames.
  • ethernet - Package ethernet implements marshaling and unmarshaling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags.
  • evio - Fast event-loop networking for Go
  • fasthttp - Package fasthttp is a fast HTTP implementation for Go, up to 10 times faster than net/http.
  • fortio - 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.
  • ftp - Package ftp implements a FTP client as described in RFC 959.
  • ftpserverlib - Fully featured FTP server library.
  • getty - netty like asynchronous network I/O library based on tcp/udp/websocket; a bidirectional RPC framework based on JSON/Protobuf; a microservice framework based on zookeeper/etcd
  • gaio - High performance async-io networking for Golang in proactor mode.
  • gev - gev is a lightweight, fast non-blocking TCP network library based on Reactor mode.
  • gldap - gldap provides an ldap server implementation and you provide handlers for its ldap operations.
  • gmqtt - Gmqtt is a flexible, high-performance MQTT broker library that fully implements the MQTT protocol V3.1.1.
  • gnet - gnet is a high-performance, lightweight, nonblocking, event-loop networking library written in pure Go.
  • gNxI - A collection of tools for Network Management that use the gNMI and gNOI protocols.
  • go-curl - libcurl(curl) binding.
  • go-getter - Go library for downloading files or directories from various sources using a URL.
  • go-ipfs - IPFS is a global, versioned, peer-to-peer filesystem.
  • go-powerdns - PowerDNS API bindings for Golang.
  • go-stun - Go implementation of the STUN client (RFC 3489 and RFC 5389).
  • gobgp - BGP implemented in the Go Programming Language.
  • gohooks - GoHooks make it easy to send and consume secured web-hooks from a Go application. Inspired by Spatie’s Laravel Webhook Client and Server.
  • goetty - Goetty is a framework to help you build socket application.
  • golibwireshark - Package golibwireshark use libwireshark library to decode pcap file and analyse dissection data.
  • gopacket - Go library for packet processing with libpcap bindings.
  • gopcap - Go wrapper for libpcap.
  • goph - Golang ssh client, execute your commands over ssh connection.
  • goshark - Package goshark use tshark to decode IP packet and create data struct to analyse packet.
  • gosnmp - Native Go library for performing SNMP actions.
  • gotcp - Go package for quickly writing tcp applications.
  • grab - Go package for managing file downloads.
  • graval - Experimental FTP server framework.
  • gws - High-Performance WebSocket Server & Client With AsyncIO Supporting .
  • grpcui - An interactive web UI for gRPC, along the lines of postman.
  • hmq - High performance mqtt broker.
  • HTTPLab - HTTPLabs let you inspect HTTP requests and forge responses.
  • httpproxy - HTTP proxy handler and dialer.
  • httpx - Fast and multi-purpose HTTP toolkit allows to run multiple probers using retryablehttp library, it is designed to maintain the result reliability with increased threads.
  • iplib - Library for working with IP addresses (net.IP, net.IPNet), inspired by python ipaddress and ruby ipaddr
  • jazigo - Jazigo is a tool written in Go for retrieving configuration for multiple network devices.
  • kcp-go - KCP - Fast and Reliable ARQ Protocol.
  • kcptun - Extremely simple & fast udp tunnel based on KCP protocol.
  • lhttp - Powerful websocket framework, build your IM server more easily.
  • linkio - Network link speed simulation for Reader/Writer interfaces.
  • livekit-server - Scalable, production-grade WebRTC video conferencing. SDKs for web & mobile.
  • llb - 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.
  • mdns - 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.
  • nbio - 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.
  • nebula - A scalable overlay networking tool with a focus on performance, simplicity and security.
  • netaddr - Network address types.
  • netpoll - A high-performance non-blocking I/O networking framework, which focused on RPC scenarios.
  • nordvpn-linux - NordVPN Linux client.
  • NFF-Go - Framework for rapid development of performant network functions for cloud and bare-metal (former YANFF).
  • openssl - OpenSSL bindings for Go.
  • packet - Send packets over TCP and UDP. It can buffer messages and hot-swap connections if needed.
  • panoptes-stream - A cloud native distributed streaming network telemetry (gNMI, Juniper JTI and Cisco MDT).
  • peerdiscovery - Pure Go library for cross-platform local peer discovery using UDP multicast.
  • pgrok - Poor man’s ngrok - a multi-tenant HTTP reverse tunnel solution through SSH remote port forwarding.
  • pool - Common golang tcp connection pool, Get inspirations from sync.Pool
  • portproxy - Simple TCP proxy which adds CORS support to API’s which don’t support it.
  • port-forward - Port forward server with GUI admin page.
  • publicip - Package publicip returns your public facing IPv4 address (internet egress).
  • quic-go - An implementation of the QUIC protocol in pure Go.
  • quiwi - QUIC transport protocol (https://quicwg.org/) implementation in Go. The goal is to provide low level APIs for applications or protocols using QUIC as a transport.
  • raw - Package raw enables reading and writing data at the device driver level for a network interface.
  • rconn - (r[everse] conn[ection]) is a multiplatform program for creating reverse connections. It lets you consume services that are behind NAT and/or firewall without adding firewall rules or port-forwarding.
  • sftp - Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt.
  • sish - HTTP(S)/WS(S)/TCP Tunnels to localhost using only SSH. An open source serveo/ngrok alternative.
  • socket - Package socket provides a low-level network connection type which integrates with Go’s runtime network poller to provide asynchronous I/O and deadline support.
  • ssh - Higher-level API for building SSH servers (wraps crypto/ssh).
  • sslb - It’s a Super Simples Load Balancer, just a little project to achieve some kind of performance.
  • stun - Go implementation of RFC 5389 STUN protocol.
  • tcp_server - Go library for building tcp servers faster.
  • tcpx - A cross-language tcp framwork in golang.
  • Tinode - Instant messaging server.
  • tspool - A TCP Library use worker pool to improve performance and protect your server.
  • uring - Golang library for io_uring framework (without CGO).
  • utp - Go uTP micro transport protocol implementation.
  • vssh - Go library for building network and server automation over SSH protocol.
  • water - Simple TUN/TAP library.
  • webrtc - A pure Go implementation of the WebRTC API.
  • winrm - Go WinRM client to remotely execute commands on Windows machines.
  • xtcp - TCP Server Framework with simultaneous full duplex communication,graceful shutdown,custom protocol.
  • yamux - Golang connection multiplexing library.

Proxy & Tunnel

Libraries for network proxy connections.

  • brook - Brook is a cross-platform proxy/vpn software.
  • chisel - Fast TCP tunnel over HTTP.
  • clash - A rule-based tunnel in Go.
  • Clash.Meta - A rule-based tunnel in Go.
  • fabio - fabio is a fast, modern, zero-conf load balancing HTTP(S) and TCP router for deploying applications managed by consul.
  • fasthttp-reverse-proxy- Reverse http proxy based on fasthttp.
  • fullproxy - A fully featured scriptable and daemon configurable proxy and pivoting toolkit with SOCKS5, HTTP, raw ports and reverse proxy protocols.
  • frp - Fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
  • ghostunnel - A simple SSL/TLS proxy with mutual authentication for securing non-TLS services.
  • gobetween - Modern & minimalistic load balancer and reverse-proxy.
  • goblue - Tcp reverse proxy by golang.
  • goproxy - Proxy is a high performance HTTP, HTTPS, HTTPS, websocket, TCP, UDP, Socks5.
  • go_proxy_pool
  • go-proxy-cache - Simple Reverse Proxy with Caching, written in Go, using Redis.
  • gost - A simple security tunnel written in Golang.
  • Hysteria - Hysteria is a feature-packed proxy & relay utility optimized for lossy, unstable connections (e.g. satellite networks, congested public Wi-Fi, connecting from China to servers abroad).
  • inlets - inlets is a Cloud Native Tunnel written in Go.
  • ldap_proxy - Reverse proxy and static file server that provides authentication using LDAP.
  • loadbalancer-algorithms - Load balancer Algorithms.
  • mosn - MOSN is a network proxy written in Golang.
  • NPS - Lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
  • oauth2_proxy - Reverse proxy that provides authentication with Google, Github or other provider.
  • proxify - Swiss Army Knife Proxy for rapid deployments. Supports multiple operations such as request/response dump, filtering and manipulation via DSL language, upstream HTTP/Socks5 proxy. Additionally a replay utility allows to import the dumped traffic (request/responses with correct domain name) into burp or any other proxy by simply setting the upstream proxy to proxify.
  • proxym - Use HAProxy, nginx or Hipache as a reverse proxy in front of Marathon, Mesos and other services.
  • proxypool - Automatically grab the tg channel, subscription address, SS, ssr, vmess, trojan node information on the public Internet,aggregate and provide a list of nodes after deduplication.
  • proxyswap - Hot swappable single host reverse TCP proxy in Go.
  • pylon - Go Reverse Proxy and Load balancer.
  • ReverseProxy - ReverseProxy in golang.
  • reverseproxy - Encrypted reverse proxy in Go.
  • sing-box - The universal proxy platform.
  • skipper - An HTTP router and reverse proxy for service composition, including use cases like Kubernetes Ingress.
  • tcp_reverse_proxy - Simple TCP reverse proxy
  • tun2socks - tun2socks - powered by gVisor TCP/IP stack.
  • tproxy - A cli tool to proxy and analyze TCP connections.
  • traefik - Traefik is a modern HTTP reverse proxy and load balancer that makes deploying microservices easy.

HTTP Clients

Libraries for making HTTP requests.

  • fetch - A Powerful, Lightweight, Easy Http Client, inspired by Web Fetch API.
  • gentleman - Full-featured plugin-driven HTTP client library.
  • go-cleanhttp - Get easily stdlib HTTP client, which does not share any state with other clients.
  • go-http-client - Make http calls simply and easily.
  • go-otelroundtripper - Go http.RoundTripper that emits open telemetry metrics for HTTP requests.
  • go-req - Declarative golang HTTP client.
  • go-retryablehttp - Retryable HTTP client in Go.
  • goreq - Enhanced simplified HTTP client based on gorequest.
  • grequests - A Go “clone” of the great and famous Requests library.
  • heimdall - An enchanced http client with retry and hystrix capabilities.
  • httpc - A customizable and simple HTTP client library. Only depend on the stdlib HTTP client.
  • httpretry - Enriches the default go HTTP client with retry functionality.
  • pester - Go HTTP client calls with retries, backoff, and concurrency.
  • req - Simple Go HTTP client with Black Magic (Less code and More efficiency).
  • Request - HTTP client for golang, Inspired by Javascript-axios Python-request.
  • requests - 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.
  • rq - A nicer interface for golang stdlib HTTP client.
  • sling - Sling is a Go HTTP client library for creating and sending API requests.
  • sreq - A simple, user-friendly and concurrent safe HTTP request library for Go.

OpenGL

Libraries for using OpenGL in Go.

  • gl - Go bindings for OpenGL (generated via glow).
  • glfw - Go bindings for GLFW 3.
  • go-glmatrix - Go port of glMatrix library.
  • goxjs/gl - Go cross-platform OpenGL bindings (OS X, Linux, Windows, browsers, iOS, Android).
  • goxjs/glfw - Go cross-platform glfw library for creating an OpenGL context and receiving events.
  • mathgl - Pure Go math package specialized for 3D math, with inspiration from GLM.

ORM

Libraries that implement Object-Relational Mapping or datamapping techniques.

  • beego orm - Powerful orm framework for go. Support: pq/mysql/sqlite3.
  • bun - SQL-first Golang ORM. Successor of go-pg.
  • cacheme - Schema based, typed Redis caching/memoize framework for Go.
  • ent - Simple, yet powerful entity framework for Go, that makes it easy to build and maintain applications with large data-models.
  • gen - Converts a database into gorm structs and RESTful api.
  • go-firestorm - A simple ORM for Google/Firebase Cloud Firestore.
  • go-pg - PostgreSQL ORM with focus on PostgreSQL specific features and performance.
  • go-queryset - 100% type-safe ORM with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support based on GORM.
  • go-sql - gosql is a easy ORM library for Golang.
  • go-sqlbuilder - A flexible and powerful SQL string builder library plus a zero-config ORM.
  • go-store - Simple and fast Redis backed key-value store library for Go.
  • godb - godb is a simple Go query builder and struct mapper, not a full-featured ORM. godb does not manage relationships.
  • GORM - The fantastic ORM library for Golang, aims to be developer friendly.
  • GORM Data Types - GORM Customized Data Types Collection.
  • gormt - Mysql database to golang gorm struct.
  • gorp - Go Relational Persistence, ORM-ish library for Go.
  • grimoire - Grimoire is a database access layer and validation for golang. (Support: MySQL, PostgreSQL and SQLite3).
  • lore - Simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go.
  • marlow - Generated ORM from project structs for compile time safety assurances.
  • golobby/orm - Simple, fast, type-safe, generic orm for developer happiness.
  • pop/soda - Database migration, creation, ORM, etc… for MySQL, PostgreSQL, and SQLite.
  • Prisma - Prisma Client Go, Typesafe database access for Go.
  • QBS - Stands for Query By Struct. A Go ORM.
  • reform - Better ORM for Go, based on non-empty interfaces and code generation.
  • rel - Modern Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API.
  • SQLBoiler - ORM generator. Generate a featureful and blazing-fast ORM tailored to your database schema.
  • upper.io/db - 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).
  • Zoom - Blazing-fast datastore and querying engine built on Redis.

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.

Official experimental tooling for package management

  • dep - Go dependency tool.
  • vgo - Versioned Go.

Unofficial libraries for package and dependency management.

  • glide - Manage your golang vendor and vendored packages with ease. Inspired by tools like Maven, Bundler, and Pip.
  • godep - dependency tool for go, godep helps build packages reproducibly by fixing their dependencies.
  • gom - Go Manager - bundle for go.
  • goop - Simple dependency manager for Go (golang), inspired by Bundler.
  • gop - Build and manage your Go applications out of GOPATH.
  • gopm - Go Package Manager.
  • govendor - Go Package Manager. Go vendor tool that works with the standard vendor file.
  • gpm - Barebones dependency manager for Go.
  • gup - Update binaries installed by “go install”.
  • johnny-deps - Minimal dependency version using Git.
  • modgv - Converts ‘go mod graph’ output into Graphviz’s DOT language.
  • mvn-golang - plugin that provides way for auto-loading of Golang SDK, dependency management and start build environment in Maven project infrastructure.
  • nut - Vendor Go dependencies.
  • VenGO - create and manage exportable isolated go virtual environments.

Performance

  • go-instrument - Automatically add spans to all methods and functions.
  • jaeger - A distributed tracing system.
  • parca - Continuous profiling for analysis of CPU, memory usage over time, and down to the line number. Saving infrastructure cost, improving performance, and increasing reliability.
  • pixie - No instrumentation tracing for Golang applications via eBPF.
  • profile - Simple profiling support package for Go.
  • pyroscope - Continuous Profiling Platform fire Debug performance issues down to a single line of code.
  • sprof - sprof is the next revolution in Go profiling.
  • statsviz - Live visualization of your Go application runtime statistics.
  • tracer - Simple, lightweight tracing.
  • uptrace - Distributed tracing using OpenTelemetry and ClickHouse.

Plugin

  • go-plugin - Plugins for Go using C shared libraries

Query Language

  • api-fu - Comprehensive GraphQL implementation.
  • bramble - The Movio GraphQL Gateway.
  • gojsonq - A simple Go package to Query over JSON Data.
  • gqlgen - gqlgen is a Go library for building GraphQL servers without any fuss.
  • GGql - GraphQL implementation for a GraphQL API that is easy to use and understand while still providing good performance.
  • goven - A drop-in query language for any database schema.
  • graphql - Low-level GraphQL client for Go.
  • graphql - graphql parser + utilities.
  • graphql-go - Implementation of GraphQL for Go.
  • graphql-go - GraphQL server with a focus on ease of use.
  • gws - Apollos’ “GraphQL over Websocket” client and server implementation.
  • jsonpath - A query library for retrieving part of JSON based on JSONPath syntax.
  • jsonql - JSON query expression library in Golang.
  • jsonslice - Jsonpath queries with advanced filters.
  • rql - Resource Query Language for REST API.
  • rqp - Query Parser for REST API. Filtering, validations, both AND, OR operations are supported directly in the query.
  • straf - Easily Convert Golang structs to GraphQL objects.

Resource Embedding

  • debme - Create an embed.FS from an existing embed.FS subdirectory.
  • esc - Embeds files into Go programs and provides http.FileSystem interfaces to them.
  • fileb0x - Simple tool to embed files in go with focus on “customization” and ease to use.
  • go-resources - Unfancy resources embedding with Go.
  • go.rice - go.rice is a Go package that makes working with resources such as HTML, JS, CSS, images, and templates very easy.
  • mule - Embed external resources like images, movies … into Go source code to create single file binaries using go generate. Focussed on simplicity.
  • packr - The simple and easy way to embed static files into Go binaries.
  • rebed - Recreate folder structures and files from Go 1.16’s embed.FS type
  • statics - Embeds static resources into go files for single binary compilation + works with http.FileSystem + symlinks.
  • statik - Embeds static files into a Go executable.
  • templify - Embed external template files into Go code to create single file binaries.
  • vfsgen - Generates a vfsdata.go file that statically implements the given virtual filesystem.

Science and Data Analysis

Libraries for scientific computing and data analyzing.

  • assocentity - Package assocentity returns the average distance from words to a given entity.
  • bradleyterry - Provides a Bradley-Terry Model for pairwise comparisons.
  • chart - Simple Chart Plotting library for Go. Supports many graphs types.
  • calendarheatmap - Calendar heatmap in plain Go inspired by Github contribution activity.
  • chart - Simple Chart Plotting library for Go. Supports many graphs types.
  • dataframe-go - Dataframes for Go for machine-learning and statistics (similar to pandas).
  • decimal - Package decimal implements arbitrary-precision decimal floating-point arithmetic.
  • evaler - Simple floating point arithmetic expression evaluator.
  • ewma - Exponentially-weighted moving averages.
  • geom - 2D geometry for golang.
  • go-dsp - Digital Signal Processing for Go.
  • go-estimate - State estimation and filtering algorithms in Go.
  • go-fn - Mathematical functions written in Go language, that are not covered by math pkg.
  • go-gt - Graph theory algorithms written in “Go” language.
  • gocomplex - Complex number library for the Go programming language.
  • godesim - Extended/multivariable ODE solver framework for event-based simulations with simple API.
  • goent - GO Implementation of Entropy Measures.
  • gograph - A golang generic graph library that provides mathematical graph-theory and algorithms.
  • gohistogram - Approximate histograms for data streams.
  • gonum - Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more.
  • gonum/plot - gonum/plot provides an API for building and drawing plots in Go.
  • goraph - Pure Go graph theory library(data structure, algorith visualization).
  • gosl - Go scientific library for linear algebra, FFT, geometry, NURBS, numerical methods, probabilities, optimisation, differential equations, and more.
  • GoStats - GoStats is an Open Source GoLang library for math statistics mostly used in Machine Learning domains, it covers most of the Statistical measures functions.
  • graph - Library of basic graph algorithms.
  • jsonl-graph - Tool to manipulate JSONL graphs with graphviz support.
  • ode - Ordinary differential equation (ODE) solver which supports extended states and channel-based iteration stop conditions.
  • orb - 2D geometry types with clipping, GeoJSON and Mapbox Vector Tile support.
  • pagerank - Weighted PageRank algorithm implemented in Go.
  • piecewiselinear - Tiny linear interpolation library.
  • PiHex - Implementation of the “Bailey-Borwein-Plouffe” algorithm for the hexadecimal number Pi.
  • rootfinding - root-finding algorithms library for finding roots of quadratic functions.
  • sparse - Go Sparse matrix formats for linear algebra supporting scientific and machine learning applications, compatible with gonum matrix libraries.
  • stats - Statistics package with common functions missing from the Golang standard library.
  • streamtools - general purpose, graphical tool for dealing with streams of data.
  • TextRank - TextRank implementation in Golang with extendable features (summarization, weighting, phrase extraction) and multithreading (goroutine) support.
  • triangolatte - 2D triangulation library. Allows translating lines and polygons (both based on points) to the language of GPUs.

Security

Libraries that are used to help make your application more secure.

  • acmetool - ACME (Let’s Encrypt) client tool with automatic renewal.
  • acra - Network encryption proxy to protect database-based applications from data leaks: strong selective encryption, SQL injections prevention, intrusion detection system.
  • age - A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
  • argon2-hashing - light wrapper around Go’s argon2 package that closely mirrors with Go’s standard library Bcrypt and simple-scrypt package.
  • argon2pw - Argon2 password hash generation with constant-time password comparison.
  • autocert - Auto provision Let’s Encrypt certificates and start a TLS server.
  • aws-vault - A vault for securely storing and accessing AWS credentials in development environments.
  • BadActor - In-memory, application-driven jailer built in the spirit of fail2ban.
  • booster - Fast initramfs generator with full-disk encryption support.
  • Cameradar - Tool and library to remotely hack RTSP streams from surveillance cameras.
  • certificates - An opinionated tool for generating tls certificates.
  • certificates - Setting up a public key infrastructure (PKI) is out of reach for many small teams.
  • CertMagic - Mature, robust, and powerful ACME client integration for fully-managed TLS certificate issuance and renewal.
  • Coraza - Enterprise-ready, modsecurity and OWASP CRS compatible WAF library.
  • databunker - Secure storage for personal records built to comply with GDPR.
  • dongle - A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption.
  • ego - EGo is an open-source SDK that enables you to develop your own confidential apps in the Go programming language.
  • etcdpasswd - Distributed Linux user management using etcd.
  • firewalld-rest - A rest application to dynamically update firewalld rules on a linux server.
  • go-generate-password - Password generator that can be used on the cli or as a library.
  • go-htpasswd - Apache htpasswd Parser for Go.
  • go-password-validator - Password validator based on raw cryptographic entropy values.
  • go-yara - Go Bindings for YARA, the “pattern matching swiss knife for malware researchers (and everyone else)”.
  • goArgonPass - Argon2 password hash and verification designed to be compatible with existing Python and PHP implementations.
  • goSecretBoxPassword - A probably paranoid package for securely hashing and encrypting passwords.
  • httpsig - Golang implementation of the HTTP Signatures RFC draft, with SSH support.
  • Interpol - Rule-based data generator for fuzzing and penetration testing.
  • jwc - JSON Web Cryptography library.
  • lego - Pure Go ACME client library and CLI tool (for use with Let’s Encrypt).
  • memguard - A pure Go library for handling sensitive values in memory.
  • nacl - Go implementation of the NaCL set of API’s.
  • obscurus - Obscurus is a simple web-based tool for sharing secrets via a short-lived one-time-use link.
  • optimus-go - ID hashing and Obfuscation using Knuth’s Algorithm.
  • passlib - Futureproof password hashing library.
  • pw - Minimal password generator.
  • saml - SAML library for go.
  • secure - HTTP middleware for Go that facilitates some quick security wins.
  • Sealed Secrets - Encrypt your Secret into a SealedSecret, which is safe to store - even to a public repository. The SealedSecret can be decrypted only by the controller running in the target cluster and nobody else (not even the original author) is able to obtain the original Secret from the SealedSecret.
  • secret - Prevent your secrets from leaking into logs, std* etc.
  • simple-scrypt - Scrypt package with a simple, obvious API and automatic cost calibration built-in.
  • ssh-vault - encrypt/decrypt using ssh keys.
  • sslmgr - SSL certificates made easy with a high level wrapper around acme/autocert.
  • teler-waf - 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.
  • tg - Certificate generation made easy.
  • themis - 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.
  • tsip - Tiny sip-like hash. This repository has Go, amd64, C, and Rust implemtations of a small fast string hashing function.
  • xkpasswd-go - Memorable password generator in Go.

Serialization

Libraries and tools for binary serialization.

  • asn1 - Asn.1 BER and DER encoding library for golang.
  • bambam - generator for Cap’n Proto schemas from go.
  • bertlv - Go BER-TLV encoding implementation.
  • bertlv - Golang implementation of parsing and building BER-TLV.
  • bel - Generate TypeScript interfaces from Go structs/interfaces. Useful for JSON RPC.
  • bebop - bebop wire format in Go.
  • buf - The buf CLI is a tool for working with Protocol Buffers.
  • binstruct - Golang binary decoder for mapping data into the structure.
  • borsh-go - Implementation of the [Borsh] binary serialization format for Go projects. Borsh stands for Binary Object Representation Serializer for Hashing. It is meant to be used in security-critical projects as it prioritizes consistency, safety, speed, and comes with a strict specification.
  • cbor - Small, safe, and easy CBOR encoding and decoding library.
  • colfer - Code generation for the Colfer binary format.
  • csvutil - High Performance, idiomatic CSV record encoding and decoding to native Go structures.
  • elastic - Convert slices, maps or any other unknown value across different types at run-time, no matter what.
  • fixedwidth - Fixed-width text formatting (UTF-8 supported).
  • fwencoder - Fixed width file parser (encoding and decoding library) for Go.
  • go-capnproto - Cap’n Proto library and parser for go.
  • go-codec - High Performance, feature-Rich, idiomatic encode, decode and rpc library for msgpack, cbor and json, with runtime-based or code-generation support.
  • go-lctree - Provides a CLI and primitives to serialize and deserialize LeetCode binary trees.
  • go-ltsv - LTSV parser and encoder for Go with reflection.
  • go-tlv - Tag-Length-Value (TLV) is a binary encoding scheme used for data transport.
  • gogoprotobuf - Protocol Buffers for Go with Gadgets.
  • goprotobuf - Go support, in the form of a library and protocol compiler plugin, for Google’s protocol buffers.
  • jsoniter - High-performance 100% compatible drop-in replacement of “encoding/json”.
  • Karmem - Karmem is a fast binary serialization format, faster than Google Flatbuffers and optimized for TinyGo and WASM.
  • mapstructure - Go library for decoding generic map values into native Go structures.
  • musgo - MusGo is an extremely fast serializer based on code generation. It supports validation, different encodings, aliases, pointers, and private fields.
  • msgpack - Easier, faster, but extendable MessagePack Serializer for Golang.
  • msgpack - MessagePack encoding for Golang.
  • fpack - A functional approach to encoding and decoding byte sequences.
  • php_session_decoder - GoLang library for working with PHP session format and PHP Serialize/Unserialize functions.
  • pletter - A standard way to wrap a proto message for message brokers.
  • structomap - Library to easily and dynamically generate maps from static structures.
  • tlv-decoder - Simple golang tlv-decoder that receive a string with a TLV format and returns a map with the content of the TLV information.
  • tlv - TLV is the representative of type-length-value.
  • tlvp - tlvp is a CLI TLV parser specially designed to handle EMV data. This may be used by payment system researchers and practitioners to read TLV data (both binary and hex-encoded) in a formatted, organised way.
  • TMC - Provides basic roundtrip JSON etc. encoding/decoding of a map[string]interface{} with custom type adapters.
  • unitpacking - Library to pack unit vectors into as fewest bytes as possible.
  • vtprotobuf - A Protocol Buffers compiler that generates optimized marshaling & unmarshaling Go code for ProtoBuf APIv2.

Server Applications

  • 1Panel - Modern and Open-Source linux server operation and management panel.
  • algernon - Small self-contained pure-Go web server with Lua, Markdown, HTTP/2, QUIC, Redis and PostgreSQL support.
  • Apinto - Apinto is a microservice gateway developed based on golang. It can achieve the purposes of high-performance HTTP API forwarding, multi tenant management, API access control, etc. it has a powerful user-defined plug-in system, which can be expanded by itself, and can quickly help enterprises manage API services and improve the stability and security of API services.
  • bookstore - A example of a microservice API based on a clean architecture and SOLID principles implemented.
  • Caddy - Caddy is an alternative, HTTP/2 web server that’s easy to configure and use.
  • Cloudreve - Self-hosted file management and sharing system, supports multiple storage providers.
  • consul - Consul is a tool for service discovery, monitoring and configuration.
  • cortex - A horizontally scalable, highly available, multi-tenant, long term Prometheus.
  • cortex-tenant - Prometheus remote write proxy that adds add Cortex tenant ID header based on metric labels.
  • corteza-server - Corteza server is the back-end of the Corteza ecosystem. The core logic is written in GO, using go-chi for the routing. External communication occurs via the REST API and web sockets; internal communication happens via gRPC.
  • dendrite - Dendrite is a second-generation Matrix homeserver written in Go. It intends to provide an efficient, reliable and scalable alternative to Synapse.
  • devd - Local webserver for developers.
  • discovery - A registry for resilient mid-tier load balancing and failover.
  • dudeldu - A simple SHOUTcast server.
  • dummy - Run mock server based off an API contract with one command.
  • ergo - Actor based Framework for creating microservices using technologies and design patterns of Erlang/OTP in Golang.
  • etcd - Highly-available key value store for shared configuration and service discovery.
  • euterpe - Self-hosted music streaming server with built-in web UI and REST API.
  • headscale - An open source, self-hosted implementation of the Tailscale control server.
  • helm-dashboard - The Helm Dashboard plugin offers a UI-driven way to view the installed Helm charts, see their revision history and corresponding k8s resources. Also, you can perform simple actions like roll back to a revision or upgrade to newer version.
  • hermes - A document management system.
  • hollywood - Blazingly fast and light-weight Actor engine written in Golang.
  • ui-server - ui-server serves an HTTP API analogue of Temporal gRPC API as well as serves Temporal UI https://github.com/temporalio/ui. It can be compiled into a binary or consumed as a Go library.
  • Fider - Fider is an open platform to collect and organize customer feedback.
  • filebrowser - filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory. It can be used as a standalone app or as a middleware.
  • Flagr - Flagr is an open-source feature flagging and A/B testing service.
  • flipt - A self contained feature flag solution written in Go and Vue.js
  • galene - The Galène videoconferencing server.
  • gateway-api - Repository for the next iteration of composite service (e.g. Ingress) and load balancing APIs.
  • go-feature-flag - A feature flag solution, with only a YAML file in the backend (S3, GitHub, HTTP, local file …), no server to install, just add a file in a central system and refer to it.
  • go-coffeeshop - A practical event-driven microservices demo built with Golang. Nomad, Consul Connect, Vault, and Terraform for deployment.
  • GoTTY - Share your terminal as a web application.
  • gotty - GoTTY is a simple command line tool that turns your CLI tools into web applications.
  • gubernator - High Performance Rate Limiting MicroService and Library.
  • hasura-storage - Storage for Hasura built on top of S3.
  • jackal - An XMPP server written in Go.
  • lets-proxy2 - Reverse proxy for handle https with issue certificates in fly from lets-encrypt.
  • listmonk - High performance, self-hosted newsletter and mailing list manager with a modern dashboard. Go + VueJS.
  • Mimir - Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus.
  • minio - Minio is a distributed object storage server.
  • monitoror - Unified monitoring wallboard - Light, ergonomic and reliable monitoring for anything.
  • monolith-microservice-shop - Source code for https://threedots.tech/post/microservices-or-monolith-its-detail article. This shop can work both as monolith and microservices. More info you will find in the article. This repository contains only REST API.
  • moxy - 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.
  • nakama - Distributed server for social and realtime games and apps.
  • Navidrome Music Server - Navidrome is an open source web-based music collection server and streamer. It gives you freedom to listen to your music collection from any browser or mobile device. It’s like your personal Spotify!
  • nginx-prometheus - Nginx log parser and exporter to Prometheus.
  • nightingale - An enterprise-level cloud-native monitoring system, which can be used as drop-in replacement of Prometheus for alerting and Grafana for visualization.
  • nsq - A realtime distributed messaging platform.
  • nuclio - High-Performance Serverless event and data processing platform.
  • Open-IM-Server - Instant messaging server. Backend in pure Golang, wire transport protocol is JSON over websocket.
  • paopao-ce - A artistic “twitter like” community built on gin+zinc+vue+ts.
  • Photos - This is the source code for the application running at photos.charlieegan3.com.
  • pocketbase - PocketBase is an open source Go backend, consisting of: embedded database (SQLite) with realtime subscriptions, built-in files and users management, convenient Admin dashboard UI, and simple REST-ish API.
  • protoxy - A proxy server that converts JSON request bodies to Protocol Buffers.
  • psql-streamer - Stream database events from PostgreSQL to Kafka.
  • QOR - QOR is a set of libraries written in Go that abstracts common features needed for business applications, CMSs, and E-commerce systems.
  • riemann-relay - Relay to load-balance Riemann events and/or convert them to Carbon.
  • RoadRunner - High-performance PHP application server, load-balancer and process manager.
  • rudder-server - Privacy and Security focused Segment-alternative, in Golang and React (Customer Data Platform for Developers).
  • rtsp-simple-server - ready-to-use RTSP / RTMP / LL-HLS server and proxy that allows to read, publish and proxy video and audio streams.
  • rttys - Access your device’s terminal from anywhere via the web.
  • SFTPGo - 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.
  • simple-go-api - Simple Go API (Go + Heroku + Postgresql + Redis + JWT).
  • simple-jwt-provider - Simple and lightweight provider which exhibits JWTs, supports login, password-reset (via mail) and user management.
  • sourcegraph - Fast and featureful code search and navigation engine.
  • stash - Stash is a self-hosted webapp written in Go which organizes and serves your porn.
  • Telegraf - The plugin-driven server agent for collecting & reporting metrics.
  • Teleport - Teleport is the easiest, most secure way to access all your infrastructure. Teleport is an identity-aware, multi-protocol access proxy which understands SSH, HTTPS, RDP, Kubernetes API, MySQL, MongoDB and PostgreSQL wire protocols.
  • Tigris - Tigris is a modern, scalable backend for building real-time websites and apps. With a zero-ops scalable pub/sub messaging system and fault-tolerant cloud-native database, provides everything you need to get up and running quickly and efficiently.
  • Trickster - HTTP reverse proxy cache and time series accelerator.
  • yakvs - Small, networked, in-memory key-value store.
  • wish - Make SSH apps, just like that.
  • WTF Dial - This project provides a real-time dashboard for teams to view how f-cked up they currently are.
  • zinc - Zinc is a search engine that does full text indexing. It is a lightweight alternative to Elasticsearch and runs using a fraction of the resources. It uses bluge as the underlying indexing library.
  • xxim-server - Xianxian-it belongs to your social territory. Xingxian is a 100% open source social platform. Everyone can build their own server and take ownership of the data.This APP is a non-profit project.

API server gateway

  • bahamut - Bahamut is a Go library that provides everything needed to build an API server.
  • gateway - Gateway is a restful API gateway based on HTTP, which can be used as a unified API access layer.
  • tyk - Tyk is a lightweight, open source API Gateway and Management Platform enables you to control who accesses your API, when they access it and how they access it.

Stream Processing

Libraries and tools for stream processing and reactive programming.

  • go-streams - Go stream processing library.
  • goio - An implementation of IO, Stream, Fiber for Golang, inspired by awesome Scala libraries cats and fs2.
  • machine - Go library for writing and generating stream workers with built in metrics and traceability.
  • stream - Go Stream, like Java 8 Stream: Filter/Map/FlatMap/Peek/Sorted/ForEach/Reduce…

Template Engines

Libraries and tools for templating and lexing.

  • ace - Ace is an HTML template engine for Go, inspired by Slim and Jade. Ace is a refinement of Gold.
  • amber - Amber is an elegant templating engine for Go Programming Language It is inspired from HAML and Jade.
  • damsel - Markup language featuring html outlining via css-selectors, extensible via pkg html/template and others.
  • ego - 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.
  • fasttemplate - Simple and fast template engine. Substitutes template placeholders up to 10x faster than text/template.
  • gofpdf - PDF document generator with high level support for text, drawing and images.
  • gospin - Article spinning and spintax/spinning syntax engine, useful for A/B, testing pieces of text/articles and creating more natural conversations.
  • got - A Go code generator inspired by Hero and Fasttemplate. Has include files, custom tag definitions, injected Go code, language translation, and more.
  • goview - Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
  • hero - Hero is a handy, fast and powerful go template engine.
  • jet - Jet template engine.
  • kasia.go - Templating system for HTML and other text documents - go implementation.
  • liquid - Go implementation of Shopify Liquid templates.
  • maroto - A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.
  • mustache - Go implementation of the Mustache template language.
  • plush - Plush is the templating system that Go both needs and deserves. Powerful, flexible, and extendable, Plush is there to make writing your templates that much easier.
  • pongo2 - Django-like template-engine for Go.
  • quicktemplate - Fast, powerful, yet easy to use template engine. Converts templates into Go code and then compiles it.
  • raymond - Complete handlebars implementation in Go.
  • Razor - Razor view engine for Golang.
  • Soy - Closure templates (aka Soy templates) for Go, following the official spec.
  • sprig - Useful template functions for Go templates.
  • tbd - A really simple way to create text templates with placeholders - exposes extra builtin Git repo metadata.
  • tmplfn - tmplfuncs provides a set of common functions useful for working with Go’s text/template and html/template packages
  • velvet - Complete handlebars implementation in Go.

Testing

Libraries for testing codebases and generating test data.

  • Testing Frameworks

    • 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.
    • assert - Basic Assertion Library used along side native go testing, with building blocks for custom assertions.
    • badio - Extensions to Go’s testing/iotest package.
    • baloo - Expressive and versatile end-to-end HTTP API testing made easy.
    • biff - Bifurcation testing framework, BDD compatible.
    • bro - Watch files in directory and run tests for them.
    • charlatan - Tool to generate fake interface implementations for tests.
    • commander - Tool for testing cli applications on windows, linux and osx.
    • covergates - Self-hosted code coverage report review and management service.
    • cupaloy - Simple snapshot testing addon for your test framework.
    • dbcleaner - Clean database for testing purpose, inspired by database_cleaner in Ruby.
    • dsunit - Datastore testing for SQL, NoSQL, structured files.
    • embedded-postgres - Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test.
    • endly - Declarative end to end functional testing.
    • fixenv - Fixture manage engine, inspired by pytest fixtures.
    • fluentassert - Extensible, type-safe, fluent assertion Go library.
    • flute - HTTP client testing framework.
    • frisby - REST API testing framework.
    • gherkingen - BDD boilerplate generator and framework.
    • ginkgo - BDD Testing Framework for Go.
    • gnomock - integration testing with real dependencies (database, cache, even Kubernetes or AWS) running in Docker, without mocks.
    • go-carpet - Tool for viewing test coverage in terminal.
    • go-cmp - Package for comparing Go values in tests.
    • go-hit - Hit is an http integration test framework written in golang.
    • go-mutesting - Mutation testing for Go source code.
    • go-snaps - Jest-like snapshot testing in Golang.
    • go-testdeep - Extremely flexible golang deep comparison, extends the go testing package.
    • go-vcr - Record and replay your HTTP interactions for fast, deterministic and accurate tests.
    • goblin - Mocha like testing framework fo Go.
    • goc - 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.
    • gocrest - Composable hamcrest-like matchers for Go assertions.
    • godog - Cucumber or Behat like BDD framework for Go.
    • gofight - API Handler Testing for Golang Router framework.
    • gogiven - YATSPEC-like BDD testing framework for Go.
    • gomatch - 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.
    • GoSpec - BDD-style testing framework for the Go programming language.
    • gospecify - This provides a BDD syntax for testing your Go code. It should be familiar to anybody who has used libraries such as rspec.
    • gosuite - Brings lightweight test suites with setup/teardown facilities to testing by leveraging Go1.7’s Subtests.
    • gotest.tools - A collection of packages to augment the go testing package and support common patterns.
    • Hamcrest - fluent framework for declarative Matcher objects that, when applied to input values, produce self-describing results.
    • httpexpect - Concise, declarative, and easy to use end-to-end HTTP and REST API testing.
    • jsonassert - Package for verifying that your JSON payloads are serialized correctly.
    • k6 - k6 is a modern load testing tool.
    • restit - Go micro framework to help writing RESTful API integration test.
    • schema - Quick and easy expression matching for JSON schemas used in requests and responses.
    • stop-and-go - Testing helper for concurrency.
    • testcase - Idiomatic testing framework for Behavior Driven Development.
    • testfixtures - A helper for Rails’ like test fixtures to test database applications.
    • Testify - Sacred extension to the standard go testing package.
    • testmd - Convert markdown snippets into testable go code.
    • testsql - Generate test data from SQL files before testing and clear it after finished.
    • testza - Full-featured test framework with nice colorized output.
    • trial - Quick and easy extendable assertions without introducing much boilerplate.
    • Tt - Simple and colorful test tools.
    • wstest - Websocket client for unit-testing a websocket http.Handler.
  • Mock

    • counterfeiter - Tool for generating self-contained mock objects.
    • go-localstack - Tool for using localstack in AWS testing.
    • go-sqlmock - Mock SQL driver for testing database interactions.
    • go-txdb - Single transaction based database driver mainly for testing purposes.
    • gock - Versatile HTTP mocking made easy.
    • gomock - Mocking framework for the Go programming language.
    • govcr - HTTP mock for Golang: record and replay HTTP interactions for offline testing.
    • hoverfly - HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI.
    • httpmock - Easy mocking of HTTP responses from external resources.
    • minimock - Mock generator for Go interfaces.
    • mockery - A mock code autogenerator for Golang.
    • mockhttp - Mock object for Go http.ResponseWriter.
    • mockit - Allows functions and method easy mocking, without defining new types; it’s similar to Mockito for Java.
    • mooncake - A simple way to generate mocks for multiple purposes.
    • timex - A test-friendly replacement for the native time package.
  • Fuzzing and delta-debugging/reducing/shrinking.

    • go-fuzz - Randomized testing system.
    • gofuzz - Library for populating go objects with random values.
    • Tavor - Generic fuzzing and delta-debugging framework.
  • Selenium and browser control tools.

    • cdp - Type-safe bindings for the Chrome Debugging Protocol that can be used with browsers or other debug targets that implement it.
    • chromedp - a way to drive/test Chrome, Safari, Edge, Android Webviews, and other browsers supporting the Chrome Debugging Protocol.
    • ggr - a lightweight server that routes and proxies Selenium WebDriver requests to multiple Selenium hubs.
    • playwright-go - browser automation library to control Chromium, Firefox and WebKit with a single API.
    • rod - A Devtools driver to make web automation and scraping easy.
    • selenoid - alternative Selenium hub server that launches browsers within containers.
  • Fail injection

Text Processing

Libraries for parsing and manipulating texts.

Formatters

  • address - Handles address representation, validation and formatting.
  • align - A general purpose application that aligns text.
  • bytes - Formats and parses numeric byte values (10K, 2M, 3G, etc.).
  • go-fixedwidth - Fixed-width text formatting (encoder/decoder with reflection).
  • go-humanize - Formatters for time, numbers, and memory size to human readable format.
  • gotabulate - Easily pretty-print your tabular data with Go.
  • textwrap - Wraps text at end of lines. Implementation of textwrap module from Python.
  • timefmt-go - Efficient time formatting library (strftime, strptime) for Golang.

Markup Languages

  • bafi - Universal JSON, BSON, YAML, XML translator to ANY format using templates.
  • bbConvert - Converts bbCode to HTML that allows you to add support for custom bbCode tags.
  • blackfriday - Markdown processor in Go.
  • daz - Composable HTML components in Golang.
  • github_flavored_markdown - GitHub Flavored Markdown renderer (using blackfriday) with fenced code block highlighting, clickable header anchor links.
  • go-output-format - Output go structures into multiple formats (YAML/JSON/etc) in your command line app.
  • go-toml - Go library for the TOML format with query support and handy cli tools.
  • goldmark - A Markdown parser written in Go. Easy to extend, standard (CommonMark) compliant, well structured.
  • goq - Declarative unmarshaling of HTML using struct tags with jQuery syntax (uses GoQuery).
  • html-to-markdown - Convert HTML to Markdown. Even works with entire websites and can be extended through rules.
  • htmlquery - An XPath query package for HTML, lets you extract data or evaluate from HTML documents by an XPath expression.
  • htmlyaml - Rich rendering of YAML as HTML in Go.
  • mxj - Encode / decode XML as JSON or map[string]interface{}; extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.
  • toml - TOML configuration format (encoder/decoder with reflection).

Parsers/Encoders/Decoders

  • allot - Placeholder and wildcard text parsing for CLI tools and bots.
  • codetree - Parses indented code (python, pixy, scarlet, etc.) and returns a tree structure.
  • commonregex - A collection of common regular expressions for Go.
  • did - DID (Decentralized Identifiers) Parser and Stringer in Go.
  • doi - Document object identifier (doi) parser in Go.
  • editorconfig-core-go - Editorconfig file parser and manipulator for Go.
  • encdec - Package provides a generic interface to encoders and decoders.
  • go-fasttld - High performance effective top level domains (eTLD) extraction module.
  • go-nmea - NMEA parser library for the Go language.
  • go-vcard - Parse and format vCard.
  • gofeed - Parse RSS and Atom feeds in Go.
  • gographviz - Parses the Graphviz DOT language.
  • gonameparts - Parses human names into individual name parts.
  • ltsv - High performance LTSV (Labeled Tab Separated Value) reader for Go.
  • normalize - Sanitize, normalize and compare fuzzy text.
  • omniparser - 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.
  • parseargs-go - string argument parser that understands quotes and backslashes.
  • parth - URL path segmentation parsing.
  • sdp - SDP: Session Description Protocol [RFC 4566].
  • sh - Shell parser and formatter.
  • tokenizer - Parse any string, slice or infinite buffer to any tokens.
  • when - Natural EN and RU language date/time parser with pluggable rules.
  • xj2go - Convert xml or json to go struct.

Regular Expressions

  • binaryregexp - Go regexp for binary/latin-1 data.
  • genex - Count and expand Regular Expressions into all matching Strings.
  • go-wildcard - Simple and lightweight wildcard pattern matching.
  • Golang-Regex-Tutorial - Golang - Regular Expression Tutorial.
  • goregen - Library for generating random strings from regular expressions.
  • regex - regular expression libraries for Go.
  • regroup - Match regex expression named groups into go struct using struct tags and automatic parsing.
  • rex - Regular expressions builder.
  • rxscan - rxscan provides functionality to scan text to variables using regular expression capture group.

Sanitation

  • bluemonday - Fast golang HTML sanitizer (inspired by the OWASP Java HTML Sanitizer) to scrub user generated content of XSS.
  • gofuckyourself - A sanitization-based swear filter for Go.

Scrapers

  • colly - Fast and Elegant Scraping Framework for Gophers.
  • dataflowkit - Web scraping Framework to turn websites into structured data.
  • go-recipe - A package for scraping recipes from websites.
  • GoQuery - GoQuery brings a syntax and a set of features similar to jQuery to the Go language.
  • gospider - A simple golang spider/scraping framework, build a spider in 3 lines. migrated from goribot
  • pagser - Pagser is a simple, extensible, configurable parse and deserialize html page to struct based on goquery and struct tags for golang crawler.
  • Tagify - Produces a set of tags from given source.
  • xurls - Extract urls from text.

RSS

  • podcast - iTunes Compliant and RSS 2.0 Podcast Generator in Golang.
  • syndfeed - A syndication feed for Atom 1.0 and RSS 2.0.

Utility/Miscellaneous

  • Bluge - modern text indexing in go - blugelabs.com
  • go-masker - Golang Masker is a simple utility of creating a mask for sensitive information.
  • go-runewidth - Functions to get fixed width of the character or string.
  • go-zero-width - Zero-width character detection and removal for Go.
  • kace - Common case conversions covering common initialisms.
  • lemonade - A sensitive word filter service based on DFA.
  • petrovich - Petrovich is the library which inflects Russian names to given grammatical case.
  • radix - Fast string sorting algorithm.
  • TySug - Alternative suggestions with respect to keyboard layouts.

Third-party APIs

Libraries for accessing third party APIs.

Utilities

General utilities and tools to make your life easier.

  • abutil - Collection of often-used Golang helpers.
  • apm - Process manager for Golang applications with an HTTP API.
  • backscanner - A scanner similar to bufio.Scanner, but it reads and returns lines in reverse order, starting at a given position and going backward.
  • beyond - The Go tool that will drive you to the AOP world!
  • blank - Verify or remove blanks and whitespace from strings.
  • bleep - Perform any number of actions on any set of OS signals in Go.
  • boilr - Blazingly fast CLI tool for creating projects from boilerplate templates.
  • changie - Automated changelog tool for preparing releases with lots of customization options.
  • chyle - Changelog generator using a git repository with multiple configuration possibilities.
  • circuit - An efficient and feature complete Hystrix like Go implementation of the circuit breaker pattern.
  • circuitbreaker - Circuit Breakers in Go.
  • clipboard - cross-platform clipboard package in Go.
  • clockwork - A simple fake clock for golang.
  • cmd - Library for executing shell commands on osx, windows and linux.
  • command - Command pattern for Go with thread safe serial and parallel dispatcher.
  • contextplus - Package contextplus provide more easy to use functions for contexts.
  • copy - Package for fast copying structs of different types.
  • copy-pasta - Universal multi-workstation clipboard that uses S3 like backend for the storage.
  • countries - Full implementation of ISO-3166-1, ISO-4217, ITU-T E.164, Unicode CLDR and IANA ccTLD standarts.
  • countries - All you need when you are working with countries in Go.
  • create-go-app - A powerful CLI for create a new production-ready project with backend (Golang), frontend (JavaScript, TypeScript) & deploy automation (Ansible, Docker) by running one command.
  • cryptgo - Crytpgo is a TUI based application written purely in Go to monitor and observe cryptocurrency prices in real time.
  • ctop - Top-like interface (e.g. htop) for container metrics.
  • ctxutil - A collection of utility functions for contexts.
  • cvt - Easy and safe convert any value to another type.
  • dbt - A framework for running self-updating signed binaries from a central, trusted repository.
  • Death - Managing go application shutdown with signals.
  • Deepcopier - Simple struct copying for Go.
  • delve - Go debugger.
  • dlog - Compile-time controlled logger to make your release smaller without removing debug calls.
  • EaseProbe - 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.
  • ecoji - Encodes (and decodes) data as emojis.
  • equalizer - Quota manager and rate limiter collection for Go.
  • ergo - The management of multiple local services running over different ports made easy.
  • evaluator - Evaluate an expression dynamicly based on s-expression. It’s simple and easy to extend.
  • fastlz - Wrap over FastLz (free, open-source, portable real-time compression library) for GoLang.
  • filetype - Small package to infer the file type checking the magic numbers signature.
  • filler - small utility to fill structs using “fill” tag.
  • filter - provide filtering, sanitizing, and conversion of Go data.
  • fzf - Command-line fuzzy finder written in Go.
  • retry-go - Simple library for retry mechanism.
  • generate - runs go generate recursively on a specified path or environment variable and can filter by regex.
  • ghokin - Parallelized formatter with no external dependencies for gherkin (cucumber, behat…).
  • git-time-metric - Simple, seamless, lightweight time tracking for Git.
  • gitbatch - manage your git repositories in one place.
  • goawk - A POSIX-compliant AWK interpreter written in Go.
  • go-actuator - Production ready features for Go based web frameworks.
  • go-astitodo - Parse TODOs in your GO code.
  • go-bind-plugin - go:generate tool for wrapping symbols exported by golang plugins (1.8 only).
  • go-bsdiff - Pure Go bsdiff and bspatch libraries and CLI tools.
  • go-convert - Package go-convert enbles you to convert a value into another type.
  • go-countries - Lightweight lookup over ISO-3166 codes.
  • go-dry - DRY (don’t repeat yourself) package for Go.
  • go-funk - Modern Go utility library which provides helpers (map, find, contains, filter, chunk, reverse, …).
  • go-health - Health package simplifies the way you add health check to your services.
  • go-httpheader - Go library for encoding structs into Header fields.
  • go-lock - go-lock is a lock library implementing read-write mutex and read-write trylock without starvation.
  • go-pkg - A go toolkit.
  • go-pretty - Utilities to prettify console output of tables, lists, progress-bars, text, etc.
  • go-problemdetails - Go package for working with Problem Details.
  • go-project-skeleton - Go project skeleton
  • go-rate - Timed rate limiter for Go.
  • go-safe - Panic-safe sandbox.
  • go-reflect - Zero-allocation reflection library for Go.
  • go-singleinstance - Cross platform library to have only one instance of a software (based on python’s tendo).
  • go-sitemap-generator - XML Sitemap generator written in Go.
  • go-torch - Stochastic flame graph profiler for Go programs.
  • go-trigger - Go-lang global event triggerer, Register Events with an id and trigger the event from anywhere from your project.
  • go-type - Library providing Go types for store/validation and transfer of ISO-4217, ISO-3166, and other types.
  • GoAdmin - GoAdmin is a toolkit to help you build a data visualization admin panel for your golang app.
  • goback - Go simple exponential backoff package.
  • goctx - Get your context value with high performance.
  • godaemon - Utility to write daemons.
  • godropbox - Common libraries for writing Go services/applications from Dropbox.
  • gohper - Various tools/modules help for development.
  • golarm - Fire alarms with system events.
  • golog - Easy and lightweight CLI tool to time track your tasks.
  • gopencils - Small and simple package to easily consume REST APIs.
  • goplaceholder - a small golang lib to generate placeholder images.
  • goreadability - Webpage summary extractor using Facebook Open Graph and arc90’s readability.
  • goreleaser - Deliver Go binaries as fast and easily as possible.
  • goreporter - Golang tool that does static analysis, unit testing, code review and generate code quality report.
  • goseaweedfs - SeaweedFS client library with almost full features.
  • gostrutils - Collections of string manipulation and conversion functions.
  • gotenv - Load environment variables from .env or any io.Reader in Go.
  • goval - Evaluate arbitrary expressions in Go.
  • gpath - Library to simplify access struct fields with Go’s expression in reflection.
  • graterm - Provides primitives to perform ordered (sequential/concurrent) GRAceful TERMination (aka shutdown) in Go application.
  • gubrak - Golang utility library with syntactic sugar. It’s like lodash, but for golang.
  • handy - Many utilities and helpers like string handlers/formatters and validators.
  • hexd - hexd formats bytes into hex.
  • hostctl - A CLI tool to manage /etc/hosts with easy commands.
  • htcat - Parallel and Pipelined HTTP GET Utility.
  • hub - wrap git commands with additional functionality to interact with github from the terminal.
  • hystrix-go - Implements Hystrix patterns of programmer-defined fallbacks aka circuit breaker.
  • immortal - *nix cross-platform (OS agnostic) supervisor.
  • intrinsic - Use x86 SIMD without writing any assembly code.
  • jsend - JSend’s implementation writen in Go.
  • jump - Jump helps you navigate faster by learning your habits.
  • just - Just a collection of useful functions for working with generic data structures.
  • jqp - A TUI playground to experiment with jq.
  • koazee - Library inspired in Lazy evaluation and functional programming that takes the hassle out of working with arrays.
  • kruise - OpenKruise, official site: https://openkruise.io is a CNCF(Cloud Native Computing Foundation) incubating project. It consists of several controllers which extend and complement the Kubernetes core controllers for workload and application management.
  • lancet - Lancet is a comprehensive, efficient, and reusable util function library of go. Inspired by the java apache common package and lodash.js.
  • lets-go - Go module that provides common utilities for Cloud Native REST API development. Also contains AWS Specific utilities.
  • limiters - Rate limiters for distributed applications in Golang with configurable back-ends and distributed locks.
  • lo - A Lodash like Go library based on Go 1.18+ Generics (map, filter, contains, find…)
  • loncha - A high-performance slice Utilities.
  • lrserver - LiveReload server for Go.
  • mani - CLI tool to help you manage multiple repositories.
  • mc - Minio Client provides minimal tools to work with Amazon S3 compatible cloud storage and filesystems.
  • mergo - Helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.
  • mimemagic - Pure Go ultra performant MIME sniffing library/utility.
  • mimesniffer - A MIME type sniffer for Go.
  • mimetype - Package for MIME type detection based on magic numbers.
  • minify - Fast minifiers for HTML, CSS, JS, XML, JSON and SVG file formats.
  • minquery - MongoDB / mgo.v2 query that supports efficient pagination (cursors to continue listing documents where we left off).
  • moldova - Utility for generating random data based on an input template.
  • mole - cli app to easily create ssh tunnels.
  • mongo-go-pagination - Mongodb Pagination for official mongodb/mongo-go-driver package which supports both normal queries and Aggregation pipelines.
  • mssqlx - Database client library, proxy for any master slave, master master structures. Lightweight and auto balancing in mind.
  • multitick - Multiplexor for aligned tickers.
  • myhttp - Simple API to make HTTP GET requests with timeout support.
  • netbug - Easy remote profiling of your services.
  • nfdump - Read nfdump netflow files.
  • netbug - Easy remote profiling of your services.
  • nostromo - CLI for building powerful aliases.
  • objwalker - Walk by go objects with reflection.
  • okrun - go run error steamroller.
  • olaf - Twitter Snowflake implemented in Go.
  • onecache - Caching library with support for multiple backend stores (Redis, Memcached, filesystem etc).
  • panicparse - Groups similar goroutines and colorizes stack dump.
  • pattern-match - Pattern matching libray.
  • peco - Simplistic interactive filtering tool.
  • pgo - Convenient functions for PHP community.
  • pid - Programatically retrieve the current goroutine’s ID.
  • PhoneInfoga - PhoneInfoga is one of the most advanced tools to scan international phone numbers using only free resources. The goal is to first gather standard information such as country, area, carrier and line type on any international phone numbers with a very good accuracy. Then search for footprints on search engines to try to find the VoIP provider or identify the owner.
  • pm - Process (i.e. goroutine) manager with an HTTP API.
  • pointer - Package pointer contains helper routines for simplifying the creation of optional fields of basic type.
  • ptr - Package that provide functions for simplified creation of pointers from constants of basic types.
  • profile - Simple profiling support package for Go.
  • puddle - Generic resource pool for Go.
  • r - Python-like range() experience for Go.
  • rclient - Readable, flexible, simple-to-use client for REST APIs.
  • reflectutils - Helpers for working with reflection: struct tag parsing; recursive walking; fill value from string.
  • remote-touchpad - Control mouse and keyboard from a smartphone.
  • repeat - Go implementation of different backoff strategies useful for retrying operations and heartbeating.
  • request - Go HTTP Requests for Humans.
  • rerate - Redis-based rate counter and rate limiter for Go.
  • rerun - Recompiling and rerunning go apps when source changes.
  • rest-go - A package that provide many helpful methods for working with rest api.
  • resty - Simple HTTP and REST client for Go inspired by Ruby rest-client.
  • retry - The most advanced functional mechanism to perform actions repetitively until successful.
  • retry - A simple but highly configurable retry package for Go.
  • retry - Simple and easy retry mechanism package for Go.
  • retry - A pretty simple library to ensure your work to be done.
  • retry-go - Simple library for retry mechanism.
  • retry-go - Retrying made simple and easy for golang.
  • robustly - Runs functions resiliently, catching and restarting panics.
  • rospo - Simple and reliable ssh tunnels with embedded ssh server in Golang.
  • scan - Scan golang sql.Rows directly to structs, slices, or primitive types.
  • scan - Scan sql rows into any type powered by generics.
  • scany - Library for scanning data from a database into Go structs and more.
  • serve - A static http server anywhere you need.
  • set - Performant and flexible struct mapping and loose type conversion.
  • sshman - SSH Manager for authorized_keys files on multiple remote servers.
  • shutdown - App shutdown hooks for os.Signal handling.
  • Signal Context - Signal Context (signalcontext) is a Go library for creating Go context’s that cancel on signals. This is very useful for client-side applications that want to cancel operations on user interrupts (e.g. CTRL+C).
  • silk - Read silk netflow files.
  • slice - Type-safe functions for common Go slice operations.
  • sliceconv - Slice conversion between primitive types.
  • slicer - Makes working with slices easier.
  • sorty - Fast Concurrent / Parallel Sorting.
  • sqlx - provides a set of extensions on top of the excellent built-in database/sql package.
  • sslice - Create a slice which is always sorted.
  • statiks - Fast, zero-configuration, static HTTP filer server.
  • Storm - Simple and powerful toolkit for BoltDB.
  • structs - Implement simple functions to manipulate structs.
  • throttle - Throttle is an object that will perform exactly one action per duration.
  • tik - Simple and easy timing wheel package for Go.
  • tome - Tome was designed to paginate simple RESTful APIs.
  • toolbox - Slice, map, multimap, struct, function, data conversion utilities. Service router, macro evaluator, tokenizer.
  • tracer - Simple, lightweight tracing.
  • tsc - Get unix time (nanoseconds) in 8ns, 10x faster than stdlib.
  • ugo - ugo is slice toolbox with concise syntax for Go.
  • umutex - unblocking mutexes for those who don’t want to write many select clauses or get confused by numerous channels.
  • UNIS - Common Architecture for String Utilities in Go.
  • usql - usql is a universal command-line interface for SQL databases.
  • util - Collection of useful utility functions. (strings, concurrency, manipulations, …).
  • watchhttp - Run command periodically and expose latest STDOUT or its rich delta as HTTP endpoint.
  • wifiqr - Wi-Fi QR Code Generator.
  • wuzz - Interactive cli tool for HTTP inspection.
  • xferspdy - Xferspdy provides binary diff and patch library in golang.
  • xhex - Hexadecimal encoding, 20x faster than stdlib

UUID

Libraries for working with UUIDs.

  • cuid - Collision-resistant hashes for the cloud, in Go.
  • go-snowflake - An Lock Free ID Generator for Golang based on Snowflake Algorithm (Twitter announced).
  • go.uuid - UUID package for Go.
  • goflake - A small, scalable, & serverless unique ID generator for use in distributed systems. Inspired by Twitters Snowflake.
  • goid - Generate and Parse RFC4122 compliant V4 UUIDs.
  • gouid - Generate cryptographically secure random string IDs with just one allocation.
  • indigo - Distributed unique ID generator of using Sonyflake and encoded by Base58.
  • ksuid - K-Sortable Globally Unique IDs.
  • nanoid - A tiny and efficient Go unique string ID generator.
  • sno - Compact, sortable and fast unique IDs with embedded metadata.
  • snowflake - A simple to use Go (golang) package to generate or parse Twitter snowflake IDs.
  • shortuuid - A generator library for concise, unambiguous and URL-safe UUIDs.
  • ulid - Go implementation of ULID (Universally Unique Lexicographically Sortable Identifier).
  • uniq - No hassle safe, fast unique identifiers with commands.
  • uuid - Generate, encode, and decode UUIDs v1 with fast or cryptographic-quality random node identifier.
  • uuid - Implementation of Universally Unique Identifier (UUID). Supports both creation and parsing of UUIDs. Actively maintained fork of satori uuid.
  • uuid - Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
  • wuid - An extremely fast unique number generator, 10-135 times faster than UUID.
  • xid - Package xid is a globally unique id generator library, ready to safely be used directly in your server code.

Validation

Libraries for validation.

  • checkdigit - Provide check digit algorithms (Luhn, Verhoeff, Damm) and calculators (ISBN, EAN, JAN, UPC, etc.).
  • gody - A lightweight struct validator for Go.
  • govalid - Fast, tag-based validation for structs.
  • govalidator - Validators and sanitizers for strings, numerics, slices and structs.
  • govalidator - Validate Golang request data with simple rules. Highly inspired by Laravel’s request validation.
  • jio - jio is a json schema validator similar to joi.
  • ozzo-validation - 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.
  • Valgo - Valgo is a type-safe, expressive, and extensible validator library for Golang. Supports localization and is built with generics.
  • validate - Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features.
  • validate - This package provides a framework for writing validations for Go applications.
  • validator - Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving.
  • validator - A lightweight model validator written in Go.Contains VFs:Min, Max, MinLength, MaxLength, Length, Enum, Regex.
  • valix - Go package for validating requests.

Version Control

Libraries for version control.

  • cli - An open-source GitLab command line tool bringing GitLab’s cool features to your command line.
  • froggit-go - Froggit-Go is a Go library, allowing to perform actions on VCS providers.
  • gh - Scriptable server and net/http middleware for GitHub Webhooks.
  • git2go - Go bindings for libgit2.
  • githooks - Per-repo and shared Git hooks with version control and auto update.
  • glab - An open-source GitLab command line tool bringing GitLab’s cool features to your command line.
  • go-git - highly extensible Git implementation in pure Go.
  • go-vcs - manipulate and inspect VCS repositories in Go.
  • hercules - gaining advanced insights from Git repository history.
  • hgo - Hgo is a collection of Go packages providing read-access to local Mercurial repositories.

Video

Libraries for manipulating video.

  • gmf - Go bindings for FFmpeg av* libraries.
  • go-astisub - Manipulate subtitles in GO (.srt, .stl, .ttml, .webvtt, .ssa/.ass, teletext, .smi, etc.).
  • go-astits - Parse and demux MPEG Transport Streams (.ts) natively in GO.
  • go-m3u8 - Parser and generator library for Apple m3u8 playlists.
  • go-m3u8 - Parser and generator library for Apple m3u8 playlists. Actively maintained version of quangngotan95/go-m3u8 with improvements and latest HLS playlist parsing compatibility.
  • go-mpd - Parser and generator library for MPEG-DASH manifest files.
  • goav - Comprehensive Go bindings for FFmpeg.
  • gortsplib - Pure Go RTSP server and client library.
  • gst - Go bindings for GStreamer.
  • libgosubs - Subtitle format support for go. Supports .srt, .ttml, and .ass.
  • libvlc-go - Go bindings for libvlc 2.X/3.X/4.X (used by the VLC media player).
  • m3u8 - Parser and generator library of M3U8 playlists for Apple HLS.
  • v4l - Video capture library for Linux, written in Go.

Virtualization

  • kata-containers - Kata Containers is an open source project and community working to build a standard implementation of lightweight Virtual Machines (VMs) that feel and perform like containers, but provide the workload isolation and security advantages of VMs.
  • lima - Linux virtual machines, typically on macOS, for running containerd.

Web Frameworks

Full stack web frameworks.

  • aah - Scalable, performant, rapid development Web framework for Go.
  • Aero - High-performance web framework for Go, reaches top scores in Lighthouse.
  • Air - An ideally refined web framework for Go.
  • anoweb - The lightweight and powerful web framework using the new way for Go.Another go the way.
  • appy - An opinionated productive web framework that helps scaling business easier.
  • Atreugo - High performance and extensible micro web framework with zero memory allocations in hot paths, built on top of fasthttp.
  • Baa - Express Go web framework with routing, middleware, dependency injection, http context.
  • beehive - Pluggable module(in-process microservice) and cross-module communication Framework.
  • Banjo - Very simple and fast web framework for Go.
  • Beego - beego is an open-source, high-performance web framework for the Go programming language.
  • Bud - The Full-Stack Web Framework for Go.
  • pulsar - Pulsar - A Go Web framework for web artisans. Batteries included.
  • Buffalo - Bringing the productivity of Rails to Go!
  • 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 - High performance, minimalist Go web framework.
  • fiber - Fiber is an Express.js inspired web framework written in Go.
    • recipes - Examples for Fiber web framework.
  • Fireball - More “natural” feeling web framework.
  • Flamingo - 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.
  • Flamingo Commerce - Providing e-commerce features using clean architecture like DDD and ports and adapters, that you can use to build flexible e-commerce applications.
  • Gearbox - A web framework written in Go with a focus on high performance and memory optimization.
  • Gem - Simple and fast web framework, friendly to REST API.
  • Gin - 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.
  • Gin-vue-admin - Gin-vue-admin is a full-stack (frontend and backend separation) framework designed for management system. It integrates multiple functions, such as JWT authentication, dynamic routing, dynamic menu, casbin authentication, form generator, code generator, etc. So that you can focus more time on your business Requirements.
  • Ginrpc - Gin parameter automatic binding tool,gin rpc tools.
  • Gizmo - Microservice toolkit used by the New York Times.
  • go-app - A package to build progressive web apps with Go programming language and WebAssembly.
  • go-json-rest - Quick and easy way to setup a RESTful JSON API.
  • go-rest - Small and evil REST framework for Go.
  • Goa - Goa provides a holistic approach for developing remote APIs and microservices in Go.
  • goa - goa is just like koajs for golang, it is a flexible, light, high-performance and extensible web framework based on middleware.
  • GoFrame - GoFrame is a modular, full-featured and production-ready application development framework of golang.
  • golamb - Golamb makes it easier to write API endpoints for use with AWS Lambda and API Gateway.
  • Golax - A non Sinatra fast HTTP framework with support for Google custom methods, deep interceptors, recursion and more.
  • Golf - Golf is a fast, simple and lightweight micro-web framework for Go. It comes with powerful features and has no dependencies other than the Go Standard Library.
  • Gondola - The web framework for writing faster sites, faster.
  • gongular - Fast Go web framework with input mapping/validation and (DI) Dependency Injection.
  • GoTuna - Minimalistic web framework for Go with mux router, middlewares, sessions, templates, embeded views and static files.
  • goweb - Web framework with routing, websockets, logging, middleware, static file server (optional gzip), and automatic TLS.
  • Goyave - Feature-complete REST API framework aimed at clean code and fast development, with powerful built-in functionalities.
  • gqlgen - gqlgen is a Go library for building GraphQL servers without any fuss.
  • hiboot - hiboot is a high performance web application framework with auto configuration and dependency injection support.
  • Hertz - A high-performance and strong-extensibility Go HTTP framework that helps developers build microservices.
  • Huma - Framework for modern REST/GraphQL APIs with built-in OpenAPI 3, generated documentation, and a CLI.
  • Iris - The fastest HTTP/2 Go Web Framework. New, modern, easy to learn. Fast development with Code you control. Unbeatable cost-performance.
  • letgo - high-performance Lightweight web framework for the Go programming language. golang web framework.
  • Macaron - Macaron is a high productive and modular design web framework in Go.
  • mango - Mango is a modular web-application framework for Go, inspired by Rack, and PEP333.
  • Microservice - The framework for the creation of microservices, written in Golang.
  • neo - Neo is minimal and fast Go Web Framework with extremely simple API.
  • patron - Patron is a microservice framework following best cloud practices with a focus on productivity.
  • patron - Go microservice framework
  • Pulse - Pulse is an HTTP web framework written in Go.
  • Resoursea - REST framework for quickly writing resource based services.
  • REST Layer - Framework to build REST/GraphQL API on top of databases with mostly configuration over code.
  • Revel - High-productivity web framework for the Go language.
  • rex - Rex is a library for modular development built upon gorilla/mux, fully compatible with net/http.
  • rk-boot - A bootstrapper library for building enterprise go microservice with Gin and gRPC quickly and easily.
  • rux - Simple and fast web framework for build golang HTTP applications.
  • sawsij - lightweight, open-source web framework for building high-performance, data-driven web applications.
  • tango - Micro & pluggable web framework for Go.
  • tigertonic - Go framework for building JSON web services inspired by Dropwizard.
  • traffic - Sinatra inspired regexp/pattern mux and web framework for Go.
  • uAdmin - Fully featured web framework for Golang, inspired by Django.
  • utron - Lightweight MVC framework for Go(Golang).
  • vox - A golang web framework for humans, inspired by Koa heavily.
  • WebGo - A micro-framework to build web apps; with handler chaining, middleware and context injection. With standard library compliant HTTP handlers(i.e. http.HandlerFunc).
  • yao - Yao A low code engine to create web services and dashboard.
  • YARF - Fast micro-framework designed to build REST APIs and web services in a fast and simple way.
  • Zerver - Zerver is an expressive, modular, feature completed RESTful framework.
  • gogo - Modern microservice web framework of golang
  • go-chassis - microservice framework for rapid development of micro services in Go.
  • moleculer - Progressive microservices framework for Go - based and compatible with https://github.com/moleculerjs/moleculer
  • spidey - Online store based on microservices and GraphQL.
  • vecty - Vecty is a library for building responsive and dynamic web frontends in Go instead of in JavaScript, HTML & CSS.
  • zinx - Zinx is a lightweight concurrent server framework based on Golang.

Middlewares

Actual middlewares

  • client-timing - An HTTP client for Server-Timing header.
  • CORS - Easily add CORS capabilities to your API.
  • echo-middleware - Middleware for Echo framework with logging and metrics.
  • formjson - Transparently handle JSON input as a standard form POST.
  • go-limiter - This package provides a rate limiter in Go (Golang), suitable for use in HTTP servers and distributed workloads. It’s specifically designed for configurability and flexibility without compromising throughput.
  • gofer - Enterprise-level middleware framework, Spring framework for Go ecosystem.
  • go-fault - Fault injection middleware for Go.
  • go-server-timing - Add/parse Server-Timing header.
  • Limiter - Dead simple rate limit middleware for Go.
  • ln-paywall - Go middleware for monetizing APIs on a per-request basis with the Lightning Network (Bitcoin).
  • mid - Miscellaneous HTTP middleware features: idiomatic error return from handlers; receive/respond with JSON data; request tracing; and more.
  • rk-grpc - Middleware for gRPC with logging, metrics, auth, tracing etc.
  • rk-gin - Middleware for Gin framework with logging, metrics, auth, tracing etc.
  • Tollbooth - Rate limit HTTP request handler.
  • XFF - Handle X-Forwarded-For header and friends.

Libraries for creating HTTP middlewares

  • alice - Painless middleware chaining for Go.
  • catena - http.Handler wrapper catenation (same API as “chain”).
  • chain - Handler wrapper chaining with scoped data (net/context-based “middleware”).
  • go-wrap - Small middlewares package for net/http.
  • gores - Go package that handles HTML, JSON, XML and etc. responses. Useful for RESTful APIs.
  • interpose - Minimalist net/http middleware for golang.
  • mediary - add interceptors to http.Client to allow dumping/shaping/tracing/… of requests/responses.
  • muxchain - Lightweight middleware for net/http.
  • negroni - Idiomatic HTTP middleware for Golang.
  • render - Go package for easily rendering JSON, XML, and HTML template responses.
  • renderer - Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go.
  • rye - Tiny Go middleware library (with canned Middlewares) that supports JWT, CORS, Statsd, and Go 1.7 context.
  • stats - Go middleware that stores various information about your web application.

Routers

  • alien - Lightweight and fast http router from outer space.
  • bellt - A simple Go HTTP router.
  • Bone - Lightning Fast HTTP Multiplexer.
  • Bxog - 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.
  • chi - Small, fast and expressive HTTP router built on net/context.
  • fasthttprouter - High performance router forked from httprouter. The first router fit for fasthttp.
  • FastRouter - a fast, flexible HTTP router written in Go.
  • goblin - A golang http router based on trie tree.
  • gocraft/web - Mux and middleware package in Go.
  • Goji - Goji is a minimalistic and flexible HTTP request multiplexer with support for net/context.
  • goroute - Simple yet powerful HTTP request multiplexer.
  • GoRouter - GoRouter is a Server/API micro framwework, HTTP request router, multiplexer, mux that provides request router with middleware supporting net/context.
  • gowww/router - Lightning fast HTTP router fully compatible with the net/http.Handler interface.
  • httprouter - High performance router. Use this and the standard http handlers to form a very high performance web framework.
  • httptreemux - High-speed, flexible tree-based HTTP router for Go. Inspiration from httprouter.
  • lars - Is a lightweight, fast and extensible zero allocation HTTP router for Go used to create customizable frameworks.
  • mux - Powerful URL router and dispatcher for golang.
  • nchi - chi-like router built on httprouter with dependency injection based middleware wrappers.
  • ngamux - Simple HTTP router for Go.
  • ozzo-routing - An extremely fast Go (golang) HTTP router that supports regular expression route matching. Comes with full support for building RESTful APIs.
  • pure - Is a lightweight HTTP router that sticks to the std “net/http” implementation.
  • router - GoLobby Router is a lightweight yet powerful HTTP router for the Go programming language.
  • Siesta - Composable framework to write middleware and handlers.
  • vestigo - Performant, stand-alone, HTTP compliant URL Router for go web applications.
  • violetear - Go HTTP router.
  • xmux - High performance muxer based on httprouter with net/context support.
  • xujiajun/gorouter - A simple and fast HTTP router for Go.

Web Utilities

  • Pirsch - Pirsch is a drop-in, server-side, no-cookie, and privacy-focused analytics solution for Go.
  • web - A collection of HTTP utilities for Go.

WebAssembly

  • dom - DOM library.
  • go-canvas - Library to use HTML5 Canvas, with all drawing within go code.
  • tinygo - Go compiler for small places. Microcontrollers, WebAssembly, and command-line tools. Based on LLVM.
  • vert - Interop between Go and JS values.
  • wasmbrowsertest - Run Go WASM tests in your browser.
  • wazero - zero dependency WebAssembly runtime for Go developers. wazero.io
  • webapi - Bindings for DOM and HTML generated from WebIDL.

Windows

  • d3d9 - Go bindings for Direct3D9.
  • go-ole - Win32 OLE implementation for golang.
  • gosddl - Converter from SDDL-string to user-friendly JSON. SDDL consist of four part: Owner, Primary Group, DACL, SACL.

XML

Libraries and tools for manipulating XML.

  • signedxml - Pure go library for processing signed XML documents.
  • XML-Comp - Simple command line XML comparer that generates diffs of folders, files and tags.
  • xml2map - XML to MAP converter written Golang.
  • xmlwriter - Procedural XML generation API based on libxml2’s xmlwriter module.
  • xpath - XPath package for Go.
  • xquery - XQuery lets you extract data from HTML/XML documents using XPath expression.
  • xml-roundtrip-validator - The Go module github.com/mattermost/xml-roundtrip-validator implements mitigations for multiple security issues in Go’s ‘encoding/xml’. Applications that use ‘encoding/xml’ for security-critical operations, such as XML signature validation and SAML, may use the ‘Validate’ and ‘ValidateAll’ functions to avoid impact from malicious XML inputs.
  • zek - Generate a Go struct from XML.

Zero Trust

  • Libraries and tools to implement Zero Trust architectures.

  • Cosign - Container Signing, Verification and Storage in an OCI registry.

  • in-toto - Go implementation of the in-toto (provides a framework to protect the integrity of the software supply chain) python reference implementation.
  • Spiffe-Vault - Utilizes Spiffe JWT authentication with Hashicorp Vault for secretless authentication.
  • Spire - SPIRE (the SPIFFE Runtime Environment) is a toolchain of APIs for establishing trust between software systems across a wide variety of hosting platforms.

Tools

Go software and plugins.

Code Analysis

  • apicompat - Checks recent changes to a Go project for backwards incompatible changes.
  • asty - 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.
  • ChainJacking - - Find which of your Go lang direct GitHub dependencies is susceptible to ChainJacking attack.
  • Chronos - Detects race conditions statically.
  • dupl - Tool for code clone detection.
  • errcheck - Errcheck is a program for checking for unchecked errors in Go programs.
  • gcvis - Visualise Go program GC trace data in real time.
  • go-checkstyle - checkstyle is a style check tool like java checkstyle. This tool inspired by java checkstyle, golint. The style refered to some points in Go Code Review Comments.
  • go-cleanarch - go-cleanarch was created to validate Clean Architecture rules, like a The Dependency Rule and interaction between packages in your Go projects.
  • go-critic - source code linter that brings checks that are currently not implemented in other linters.
  • go-mod-outdated - An easy way to find outdated dependencies of your Go projects.
  • go-outdated - Console application that displays outdated packages.
  • goast-viewer - Web based Golang AST visualizer.
  • GoCover.io - GoCover.io offers the code coverage of any golang package as a service.
  • goimports - Tool to fix (add, remove) your Go imports automatically.
  • golang-ifood-sdk - iFood API SDK.
  • golines - Formatter that automatically shortens long lines in Go code.
  • GoLint - Golint is a linter for Go source code.
  • Golint online - Lints online Go source files on GitHub, Bitbucket and Google Project Hosting using the golint package.
  • GoPlantUML - Library and CLI that generates text plantump class diagram containing information about structures and interfaces with the relationship among them.
  • goreturns - Adds zero-value return statements to match the func return types.
  • gosimple - gosimple is a linter for Go source code that specialises on simplifying code.
  • gostatus - Command line tool, shows the status of repositories that contain Go packages.
  • lint - Run linters as part of go test.
  • php-parser - A Parser for PHP written in Go.
  • staticcheck - staticcheck is go vet on steroids, applying a ton of static analysis checks you might be used to from tools like ReSharper for C#.
  • tarp - tarp finds functions and methods without direct unit tests in Go source code.
  • tickgit - CLI and go package for surfacing code comment TODOs (in any language) and applying a git blameto identify the author.
  • todocheck - Static code analyser which links TODO comments in code with issues in your issue tracker.
  • unconvert - Remove unnecessary type conversions from Go source.
  • unused - unused checks Go code for unused constants, variables, functions and types.
  • usestdlibvars - A linter that detect the possibility to use variables/constants from the Go standard library.
  • vaccum - An ultra-super-fast, lightweight OpenAPI linter and quality checking tool.
  • validate - Automatically validates struct fields with tags.

Editor Plugins

  • Go plugin for JetBrains IDEs - Go plugin for JetBrains IDEs.
  • Go Doc - A Visual Studio Code extension for showing definition in output and generating go doc.
  • go-language-server - A wrapper to turn the VSCode go extension into a language server supporting the language-server-protocol.
  • go-mode - Go mode for GNU/Emacs.
  • go-plus - Go (Golang) Package For Atom That Adds Autocomplete, Formatting, Syntax Checking, Linting and Vetting.
  • gocode - Autocompletion daemon for the Go programming language.
  • goimports-reviser - Formatting tool for imports.
  • goprofiling - This extension adds benchmark profiling support for the Go language to VS Code.
  • GoSublime - Golang plugin collection for the text editor SublimeText 3 providing code completion and other IDE-like features.
  • gounit-vim - Vim plugin for generating Go tests based on the function’s or method’s signature.
  • theia-go-extension - Go language support for the Theia IDE.
  • velour - IRC client for the acme editor.
  • vim-compiler-go - Vim plugin to highlight syntax errors on save.
  • vim-go - Go development plugin for Vim.
  • vscode-go - Extension for Visual Studio Code (VS Code) which provides support for the Go language.
  • Watch - Runs a command in an acme win on file changes.

Go Generate Tools

  • generic - flexible data type for Go.
  • genny - Elegant generics for Go.
  • gocontracts - brings design-by-contract to Go by synchronizing the code with the documentation.
  • godal - Generate orm models corresponding to golang by specifying sql ddl file, which can be used by gorm.
  • gonerics - Idiomatic Generics in Go.
  • gotests - Generate Go tests from your source code.
  • gounit - Generate Go tests using your own templates.
  • hasgo - Generate Haskell inspired functions for your slices.
  • options-gen - 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.
  • sqlgen - 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.
  • xgen - XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator.

Go Tools

  • apikit - Generates Golang client and server based on OpenAPI2 (swagger) definitions.
  • colorgo - Wrapper around go command for colorized go build output.
  • crawley - Web scraper/crawler for cli.
  • depth - Visualize dependency trees of any package by analyzing imports.
  • docs - Automatically generate RESTful API documentation for GO projects - aligned with Open API Specification standard.
  • gb - An easy to use project based build tool for the Go programming language.
  • generator-go-lang - A Yeoman generator to get new Go projects started.
  • go-callvis - Visualize call graph of your Go program using dot format.
  • go-james - Go project skeleton creator, builds and tests your projects without the manual setup.
  • go-pkg-complete - Bash completion for go and wgo.
  • go-swagger - Swagger 2.0 implementation for go. Swagger is a simple yet powerful representation of your RESTful API.
  • goblin - Golang binaries in a curl, built by goblins.
  • godbg - 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/template templates live.
  • gotestdox - Show Go test results as readable sentences.
  • gothanks - GoThanks automatically stars your go.mod github dependencies, sending this way some love to their maintainers.
  • igo - An igo to go transpiler (new language features for Go language!)
  • Local Docker DB - A collection of Docker Compose files I’ve used to quickly spin up local databases of various sorts.
  • modver - Compare two versions of a Go module to check the version-number change required (major, minor, or patchlevel), according to semver rules.
  • OctoLinker - Navigate through go files efficiently with the OctoLinker browser extension for GitHub.
  • pig - DNS Intelligence Tool.
  • Portainer - Making Docker and Kubernetes management easy. www.portainer.io
  • richgo - Enrich go test outputs with text decorations.
  • roumon - Monitor current state of all active goroutines via a command line interface.
  • rts - RTS: response to struct. Generates Go structs from server responses.
  • sake - sake is a command runner for local and remote hosts.
  • textra - Extract Go struct field names, types and tags for filtering and exporting.
  • typex - Examine Go types and their transitive dependencies, alternatively export results as TypeScript value objects (or types) declaration.

Software Packages

Software written in Go.

DevOps Tools

  • abbreviate - abbreviate is a tool turning long strings in to shorter ones with configurable seperaters, for example to embed branch names in to deployment stack IDs.
  • air - Air is yet another live-reloading command line utility for Go applications in development.
  • ali - A load testing tool capable of performing real-time analysis, inspired by vegeta and jplot.
  • argo-workflows - Workflow engine for Kubernetes.
  • aptly - aptly is a Debian repository management tool.
  • aurora - Cross-platform web-based Beanstalkd queue server console.
  • awsenv - Small binary that loads Amazon (AWS) environment variables for a profile.
  • Balerter - A self-hosted script-based alerting manager.
  • Banshee - Anomalies detection system for periodic metrics.
  • Blast - A simple tool for API load testing and batch jobs.
  • bombardier - Fast cross-platform HTTP benchmarking tool.
  • bosun - Time Series Alerting Framework.
  • buildkit - Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit.
  • buildx - Docker CLI plugin for extended build capabilities with BuildKit.
  • cassowary - Modern cross-platform HTTP load-testing tool written in Go.
  • dasel - 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.
  • ddosify - High-performance load testing tool, written in Golang.
  • DevOps - This repo contains all learning related to DevOps.
  • DepCharge - Helps orchestrating the execution of commands across the many dependencies in larger projects.
  • Distribution - The toolset to pack, ship, store, and deliver content.
  • docker-go-mingw - Docker image for building Go binaries for Windows with MinGW toolchain.
  • Dockerfile-Generator - A go library and an executable that produces valid Dockerfiles using various input channels.
  • dogo - Monitoring changes in the source file and automatically compile and run (restart).
  • drone-jenkins - Trigger downstream Jenkins jobs using a binary, docker or Drone CI.
  • drone-scp - Copy files and artifacts via SSH using a binary, docker or Drone CI.
  • Dropship - Tool for deploying code via cdn.
  • easyssh-proxy - Golang package for easy remote execution through SSH and SCP downloading via ProxyCommand.
  • fac - Command-line user interface to fix git merge conflicts.
  • flannel - Flannel is a simple and easy way to configure a layer 3 network fabric designed for Kubernetes.
  • Fleet device management - Lightweight, programmable telemetry for servers and workstations.
  • flux2 - Open and extensible continuous delivery solution for Kubernetes. Powered by GitOps Toolkit. Website
  • gaia - Build powerful pipelines in any programming language.
  • ghorg - Quickly clone an entire org/users repositories into one directory - Supports GitHub, GitLab, and Bitbucket.
  • Gitea - Fork of Gogs, entirely community driven.
  • gitea-github-migrator - Migrate all your GitHub repositories, issues, milestones and labels to your Gitea instance.
  • go-furnace - Hosting solution written in Go. Deploy your Application with ease on AWS, GCP or DigitalOcean.
  • go-rocket-update - A simple way to make self updating Go applications - Supports Github and Gitlab.
  • go-selfupdate - Enable your Go applications to self update.
  • gobrew - gobrew lets you easily switch between multiple versions of go.
  • gobrew - Go version manager. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn’t require shell rehash.
  • godbg - Web-based gdb front-end application.
  • Gogs - A Self Hosted Git Service in the Go Programming Language.
  • gonative - 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.
  • govvv - “go build” wrapper to easily add version information into Go binaries.
  • gox - Dead simple, no frills Go cross compile tool.
  • goxc - build tool for Go, with a focus on cross-compiling and packaging.
  • grapes - Lightweight tool designed to distribute commands over ssh with ease.
  • GVM - GVM provides an interface to manage Go versions.
  • helm - The Kubernetes Package Manager.
  • Hey - Hey is a tiny program that sends some load to a web application.
  • httpref - httpref is a handy CLI reference for HTTP methods, status codes, headers, and TCP and UDP ports.
  • jcli - Jenkins CLI allows you manage your Jenkins as an easy way.
  • k6 - A modern load testing tool, using Go and JavaScript - https://k6.io
  • kala - Simplistic, modern, and performant job scheduler.
  • kcli - Command line tool for inspecting kafka topics/partitions/messages.
  • kin-openapi - OpenAPI 3.0 implementation for Go (parsing, converting, validation, and more).
  • kubernetes - Container Cluster Manager from Google.
  • KubeVela - KubeVela is a modern application delivery platform that makes deploying and operating applications across today’s hybrid, multi-cloud environments easier, faster and more reliable.
  • ko - Command line tool for building and deploying Go applications on Kubernetes.
  • kool - Command line tool for managing Docker environments as an easy way.
  • kwatch - Monitor & detect crashes in your Kubernetes(K8s) cluster instantly.
  • lstags - Tool and API to sync Docker images across different registries.
  • lwc - A live-updating version of the UNIX wc command.
  • manssh - manssh is a command line tool for managing your ssh alias config easily.
  • mantil - 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.
  • minikube - Run Kubernetes locally.
  • mizu - API traffic viewer for Kubernetes enabling you to view all API communication between microservices, multiprotocol support: HTTP1.1, HTTP/2, AMQP, Kafka, Redis.
  • Moby - Collaborative project for the container ecosystem to assemble container-based systems.
  • Mora - REST server for accessing MongoDB documents and meta data.
  • ostent - collects and displays system metrics and optionally relays to Graphite and/or InfluxDB.
  • Packer - Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
  • Pewpew - Flexible HTTP command line stress tester.
  • plow - A high-performance HTTP benchmarking tool with real-time web UI and terminal displaying.
  • Pomerium - Pomerium is an identity-aware access proxy.
  • Rodent - Rodent helps you manage Go versions, projects and track dependencies.
  • rook - Storage Orchestration for Kubernetes.
  • s3-proxy - S3 Proxy with GET, PUT and DELETE methods and authentication (OpenID Connect and Basic Auth).
  • s3gof3r - Small utility/library optimized for high speed transfer of large objects into and out of Amazon S3.
  • s5cmd - Blazing fast S3 and local filesystem execution tool.
  • Scaleway-cli - Manage BareMetal Servers from Command Line (as easily as with Docker).
  • sg - 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.
  • skm - SKM is a simple and powerful SSH Keys Manager, it helps you to manage your multiple SSH keys easily!
  • StatusOK - Monitor your Website and REST APIs.Get Notified through Slack, E-mail when your server is down or response time is more than expected.
  • terraform-provider-openapi - 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.
  • trubka - 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.
  • uTask - Automation engine that models and executes business processes declared in yaml.
  • Vegeta - HTTP load testing tool and library. It’s over 9000!
  • wait-for - Wait for something to happen (from the command line) before continuing. Easy orchestration of Docker services and other things.
  • webhook - Tool which allows user to create HTTP endpoints (hooks) that execute commands on the server.
  • Wide - Web-based IDE for Teams using Golang.
  • winrm-cli - Cli tool to remotely execute commands on Windows machines.
  • script - Making it easy to write shell-like scripts in Go for DevOps and system administration tasks.
  • goproxy - global proxy for Go modules. https://goproxy.io

Other Software

  • Better Go Playground - Go playground with syntax highlight, code completion and other features.
  • blocky - Fast and lightweight DNS proxy as ad-blocker for local network with many features.
  • borg - Terminal based search engine for bash snippets.
  • boxed - Dropbox based blog engine.
  • Cherry - Tiny webchat server in Go.
  • chihuahua - The smallest watchdog on earth. Tiny, monitoring-plugins compatible monitoring with a status page.
  • Circuit - 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.
  • Comcast - Simulate bad network connections.
  • confd - Manage local application configuration files using templates and data from etcd or consul.
  • croc - Easily and securely send files or folders from one computer to another.
  • DDNS - Personal DDNS client with Digital Ocean Networking DNS as backend.
  • Docker - Open platform for distributed applications for developers and sysadmins.
  • Documize - Modern wiki software that integrates data from SaaS tools.
  • dp - Through SDK for data exchange with blockchain, developers can get easy access to DAPP development.
  • drive - Google Drive client for the commandline.
  • Duplicacy - A cross-platform network and cloud backup tool based on the idea of lock-free deduplication.
  • expvarmon - TermUI based Go apps monitor using expvars variables (/debug/vars). Quickest way to monitor your Go app.
  • Gebug - A tool that makes debugging of Dockerized Go applications super easy by enabling Debugger and Hot-Reload features, seamlessly.
  • gfile - Securely transfer files between two computers, without any third party, over WebRTC.
  • Go Package Store - App that displays updates for the Go packages in your GOPATH.
  • go-peerflix - Video streaming torrent client.
  • GoBoy - Nintendo Game Boy Color emulator written in Go.
  • gocc - Gocc is a compiler kit for Go written in Go.
  • GoDNS - A dynamic DNS client tool, supports DNSPod & HE.net, written in Go.
  • GoDocTooltip - Chrome extension for Go Doc sites, which shows function description as tooltip at function list.
  • GoLand - Full featured cross-platform Go IDE.
  • Gor - Http traffic replication tool, for replaying traffic from production to stage/dev environments in real-time.
  • Guora - A self-hosted Quora like web application written in Go.
  • hoofli - Generate PlantUML diagrams from Chrome or Firefox network inspections.
  • httpstat - It’s like curl -v, with colours.
  • hugo - Fast and Modern Static Website Engine.
  • ide - Browser accessible IDE. Designed for Go with Go.
  • ipe - Open source Pusher server implementation compatible with Pusher client libraries written in GO.
  • joincap - Command-line utility for merging multiple pcap files together.
  • Juju - Cloud-agnostic service deployment and orchestration - supports EC2, Azure, Openstack, MAAS and more.
  • Leaps - Pair programming service using Operational Transforms.
  • lgo - 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.
  • LiteIDE - LiteIDE is a simple, open source, cross-platform Go IDE.
  • mockingjay - 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.
  • myLG - Command Line Network Diagnostic tool written in Go.
  • naclpipe - Simple NaCL EC25519 based crypto pipe tool written in Go.
  • Neo-cowsay - cowsay is reborn. for a New Era.
  • nes - Nintendo Entertainment System (NES) emulator written in Go.
  • Orbit - A simple tool for running commands and generating files from templates.
  • peg - Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator.
  • Plik - Plik is a temporary file upload system (Wetransfer like) in Go.
  • portal - Portal is a quick and easy command-line file transfer utility from any computer to another.
  • protoncheck - ProtonMail module for waybar/polybar/yabar/i3blocks.
  • restic - De-duplicating backup program.
  • rkt - App Container runtime that integrates with init systems, is compatible with other container formats like Docker, and supports alternative execution engines like KVM.
  • scc - Sloc Cloc and Code, a very fast accurate code counter with complexity calculations and COCOMO estimates.
  • Seaweed File System - Fast, Simple and Scalable Distributed File System with O(1) disk seek.
  • shell2http - Executing shell commands via http server (for prototyping or remote control).
  • snap - Powerful telemetry framework.
  • Snitch - Simple way to notify your team and many tools when someone has deployed any application via Tsuru.
  • Stack Up - Stack Up, a super simple deployment tool - just Unix - think of it like ‘make’ for a network of servers.
  • stew - An independent package manager for compiled binaries.
  • syncthing - Open, decentralized file synchronization tool and protocol.
  • tcpdog - eBPF based TCP observability.
  • tcpprobe - TCP tool for network performance and path monitoring, including socket statistics.
  • term-quiz - Quizzes for your terminal.
  • termshark - A terminal user-interface for tshark, inspired by Wireshark.
  • toxiproxy - Proxy to simulate network and system conditions for automated tests.
  • tsuru - Extensible and open source Platform as a Service software.
  • vaku - CLI & API for folder-based functions in Vault like copy, move, and search.
  • vFlow - High-performance, scalable and reliable IPFIX, sFlow and Netflow collector.
  • wellington - Sass project management tool, extends the language with sprite functions (like Compass).
  • woke - Detect non-inclusive language in your source code.
  • zs - an extremely minimal static site generator.

Resources

Where to discover new Go libraries.

Benchmarks

  • 1m-go-tcp-server - benchmarks for implementation of servers which support 1 million connections.
  • autobench - Framework to compare the performance between different Go versions.
  • go-benchmark-app - Powerful HTTP-benchmark tool mixed with Аb, Wrk, Siege tools. Gathering statistics and various parameters for benchmarks and comparison results.
  • go-benchmarks - Few miscellaneous Go microbenchmarks. Compare some language features to alternative approaches.
  • go-http-routing-benchmark - Go HTTP request router benchmark and comparison.
  • go-json-benchmark - Go JSON benchmark.
  • go-ml-benchmarks - benchmarks for machine learning inference in Go.
  • go-web-framework-benchmark - Go web framework benchmark.
  • go_serialization_benchmarks - Benchmarks of Go serialization methods.
  • gocostmodel - Benchmarks of common basic operations for the Go language.
  • golang-micro-benchmarks - Tiny collection of Go micro benchmarks. The intent is to compare some language features to others.
  • golang-sql-benchmark - Collection of benchmarks for popular Go database/SQL utilities.
  • gospeed - Go micro-benchmarks for calculating the speed of language constructs.
  • kvbench - Key/Value database benchmark.
  • skynet - Skynet 1M threads microbenchmark.
  • speedtest-resize - Compare various Image resize algorithms for the Go language.

Conferences

E-Books

Gophers

Meetups

Add the group of your city/country here (send PR)

Style Guides

Social Media

Twitter

Reddit

Websites

Tutorials

Guided Learning

Конвейеры
0 успешных
0 с ошибкой