awesome-go

command module
v0.0.0-...-4d0d637 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2024 License: MIT Imports: 12 Imported by: 0

README

Awesome Go

awesome-go

Build Status Awesome Slack Widget Netlify Status Track Awesome List Last Commit

We use the Golang Bridge community Slack for instant communication, follow the form here to join.

Sponsorships:

Special thanks to

Awesome Go has no monthly fee, but we have employees who work hard to keep it running. With money raised, we can repay the effort of each person involved! You can see how we calculate our billing and distribution as it is open to the entire community. Want to be a supporter of the project click here.

A curated list of awesome Go frameworks, libraries, and software. Inspired by awesome-python.

Contributing:

Please take a quick gander at the contribution guidelines first. Thanks to all contributors; you rock!

If you see a package or project here that is no longer maintained or is not a good fit, please submit a pull request to improve this file. Thank you!

Contents

⬆ back to top

Actor Model

Libraries for building actor-based programs.

  • ProtoActor - Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin. Stars:5.0K.
  • Ergo - An actor-based Framework with network transparency for creating event-driven architecture in Golang. Inspired by Erlang. Stars:2.8K.
  • Hollywood - Blazingly fast and light-weight Actor engine written in Golang. Stars:1.1K.
  • Goakt - Fast and Distributed Actor framework using protocol buffers as message for Golang. Stars:90.

Artificial Intelligence

Libraries for building programs that leverage AI.

  • Ollama - Run large language models locally. Stars:87.3K.
  • LocalAI - Open Source OpenAI alternative, self-host AI models. Stars:23.0K.
  • langchaingo - LangChainGo is a framework for developing applications powered by language models. Stars:4.1K.
  • OllamaFarm - Manage, load-balance, and failover packs of Ollamas Stars:12.
  • fun - The simplest but powerful way to use large language models (LLMs) in Go.

⬆ back to top

Audio and Music

Libraries for manipulating audio.

  • Oto - A low-level library to play sound on multiple platforms. Stars:1.5K.
  • PortAudio - Go bindings for the PortAudio audio I/O library. Stars:695.
  • GoAudio - Native Go Audio Processing Library. Stars:340.
  • id3v2 - ID3 decoding and encoding library for Go. Stars:333.
  • flac - Native Go FLAC encoder/decoder with support for FLAC streams. Stars:311.
  • malgo - Mini audio library. Stars:284.
  • minimp3 - Lightweight MP3 decoder library. Stars:124.
  • gaad - Native Go AAC bitstream parser. Stars:122.
  • gosamplerate - libsamplerate bindings for go. Stars:34.

⬆ back to top

Authentication and OAuth

Libraries for implementing authentication schemes.

  • casbin - Authorization library that supports access control models like ACL, RBAC, and ABAC. Stars:17.4K.
  • jwt-go - A full featured implementation of JSON Web Tokens (JWT). This library supports the parsing and verification as well as the generation and signing of JWTs. Stars:6.9K.
  • goth - provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box. Stars:5.4K.
  • oauth2 - Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine, and App Engine support. Stars:5.3K.
  • keto - Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular permission language. Supports ACL, RBAC, and other access models. Stars:4.8K.
  • authboss - Modular authentication system for the web. It tries to remove as much boilerplate and "hard things" as possible so that each time you start a new web project in Go, you can plug it in, configure it, and start building your app without having to build an authentication system each time. Stars:3.8K.
  • openfga - Implementation of fine-grained authorization based on the "Zanzibar: Google's Consistent, Global Authorization System" paper. Backed by CNCF. Stars:2.7K.
  • scs - Session Manager for HTTP servers. Stars:2.1K.
  • loginsrv - JWT login microservice with pluggable backends such as OAuth2 (Github), htpasswd, osiam. Stars:1.9K.
  • osin - Golang OAuth2 server library. Stars:1.9K.
  • jwx - Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies Stars:1.9K.
  • gologin - chainable handlers for login with OAuth1 and OAuth2 authentication providers. Stars:1.8K.
  • gorbac - provides a lightweight role-based access control (RBAC) implementation in Golang. Stars:1.6K.
  • oidc - Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation Stars:1.3K.
  • paseto - Golang implementation of Platform-Agnostic Security Tokens (PASETO). Stars:847.
  • jwt - Safe, simple, and fast JSON Web Tokens for Go. Stars:663.
  • 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. Stars:538.
  • permissions2 - Library for keeping track of users, login states, and permissions. Uses secure cookies and bcrypt. Stars:511.
  • jwt - Lightweight JSON Web Token (JWT) library. Stars:352.
  • go-jose - Fairly complete implementation of the JOSE working group's JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs. Stars:308.
  • jeff - Simple, flexible, secure, and idiomatic web session management with pluggable backends. Stars:265.
  • jwt-auth - JWT middleware for Golang http servers with many configuration options. Stars:231.
  • otpgen - Library to generate TOTP/HOTP codes. Stars:136.
  • sessionup - Simple, yet effective HTTP session management and identification package. Stars:124.
  • sjwt - Simple jwt generator and parser. Stars:119.
  • session - Go session management for web servers (including support for Google App Engine - GAE). Stars:117.
  • branca - branca token specification implementation for Golang 1.15+. Stars:83.
  • sessions - Dead simple, highly performant, highly customizable sessions service for go http servers. Stars:78.
  • securecookie - Efficient secure cookie encoding/decoding. Stars:78.
  • otpgo - Time-Based One-Time Password (TOTP) and HMAC-Based One-Time Password (HOTP) library for Go. Stars:68.
  • scope - Easily Manage OAuth2 Scopes In Go. Stars:38.
  • cookiestxt - provides a parser of cookies.txt file format. Stars:16.
  • gosession - This is quick session for net/http in GoLang. This package is perhaps the best implementation of the session mechanism, or at least it tries to become one.

⬆ back to top

Blockchain

Tools for building blockchains.

  • go-ethereum - Official Go implementation of the Ethereum protocol. Stars:47.0K.
  • kubo - A blockchain framework implemented in Go. It provides content-addressable storage which can be used for decentralized storage in DApps. It is based on the IPFS protocol. Stars:16.0K.
  • lnd - A complete implementation of a Lighting Network node. Stars:7.6K.
  • cosmos-sdk - A Framework for Building Public Blockchains in the Cosmos Ecosystem. Stars:6.2K.
  • 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. Stars:5.7K.
  • solana-go - Go library to interface with Solana JSON RPC and WebSocket interfaces. Stars:802.
  • cometbft - A distributed, Byzantine fault-tolerant, deterministic state machine replication engine. It is a fork of Tendermint Core and implements the Tendermint consensus algorithm. Stars:612.
  • gossamer - A Go implementation of the Polkadot Host. Stars:425.
  • gosemble - A Go-based framework for building Polkadot/Substrate-compatible runtimes. Stars:9.

⬆ back to top

Bot Building

Libraries for building and working with bots.

  • telegram-bot-api - Simple and clean Telegram bot client. Stars:5.7K.
  • telebot - Telegram bot framework is written in Go. Stars:3.9K.
  • olivia - A chatbot built with an artificial neural network. Stars:3.7K.
  • wayback - A bot for Telegram, Mastodon, Slack, and other messaging platforms archives webpages. Stars:1.7K.
  • 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. Stars:1.1K.
  • Golang CryptoTrading Bot - A golang implementation of a console-based trading bot for cryptocurrency exchanges. Stars:1.1K.
  • go-chat-bot - IRC, Slack & Telegram bot written in Go. Stars:825.
  • slacker - Easy to use framework to create Slack bots. Stars:809.
  • bot - Zero-dependencies Telegram Bot library with additional UI components Stars:622.
  • telego - Telegram Bot API library for Golang with full one-to-one API implementation. Stars:506.
  • echotron - An elegant and concurrent library for Telegram Bots in Go. Stars:359.
  • tbot - Telegram bot server with API similar to net/http. Stars:353.
  • go-twitch-irc - Library to write bots for twitch.tv chat Stars:352.
  • go-sarah - Framework to build a bot for desired chat services including LINE, Slack, Gitter, and more. Stars:261.
  • Tenyks - Service oriented IRC bot using Redis and JSON for messaging. Stars:178.
  • slack-bot - Ready to use Slack Bot for lazy developers: Custom commands, Jenkins, Jira, Bitbucket, Github... Stars:176.
  • larry - Larry 🐦 is a really simple Twitter bot generator that tweets random repositories from Github built in Go. Stars:160.
  • hanu - Framework for writing Slack bots. Stars:155.
  • go-tgbot - Pure Golang Telegram Bot API wrapper, generated from swagger file, session-based router, and middleware. Stars:121.
  • go-tg - Generated from official docs Go client library for accessing Telegram Bot API, with batteries for building complex bots included. Stars:93.
  • ephemeral-roles - A Discord bot for managing ephemeral roles based upon voice channel member presence. Stars:90.
  • margelet - Framework for building Telegram bots. Stars:85.
  • slackscot - Another framework for building Slack bots. Stars:56.
  • govkbot - Simple Go VK bot library. Stars:50.
  • teleterm - Telegram Bot Exec Terminal Command. Stars:36.
  • micha - Go Library for Telegram bot api. Stars:30.
  • go-joe - A general-purpose bot library inspired by Hubot but written in Go.

⬆ back to top

Build Automation

Libraries and tools help with build automation.

  • air - Air - Live reload for Go apps. Stars:17.2K.
  • Task - simple "Make" alternative. Stars:10.9K.
  • realize - Go build a system with file watchers and live to reload. Run, build and watch file changes with custom paths. Stars:4.5K.
  • mage - Mage is a make/rake-like build tool using Go. Stars:4.1K.
  • mmake - Modern Make. Stars:1.7K.
  • xc - Task runner with README.md defined tasks, executable markdown. Stars:1.1K.
  • goyek - Create build pipelines in Go. Stars:553.
  • taskctl - Concurrent task runner. Stars:291.
  • 1build - Command line tool to frictionlessly manage project-specific commands. Stars:226.
  • gaper - Builds and restarts a Go project when it crashes or some watched file changes. Stars:80.
  • anko - Simple application watcher for multiple programming languages. Stars:36.
  • gob - Gradle/Maven like build tool for Go projects. Stars:8.
  • gilbert - Build system and task runner for Go projects.

⬆ back to top

Command Line

Advanced Console UIs

Libraries for building Console Applications and Console User Interfaces.

  • bubbletea - Go framework to build terminal apps, based on The Elm Architecture. Stars:26.4K.
  • termui - Go terminal dashboard based on termbox-go and inspired by blessed-contrib. Stars:13.1K.
  • gocui - Minimalist Go library aimed at creating Console User Interfaces. Stars:9.8K.
  • lipgloss - Declaratively define styles for color, format and layout in the terminal. Stars:7.8K.
  • bubbles - TUI components for bubbletea. Stars:5.3K.
  • go-prompt - Library for building a powerful interactive prompt, inspired by python-prompt-toolkit. Stars:5.3K.
  • pterm - A library to beautify console output on every platform with many combinable components. Stars:4.7K.
  • termbox-go - Termbox is a library for creating cross-platform text-based interfaces. Stars:4.7K.
  • progressbar - Basic thread-safe progress bar that works in every OS. Stars:4.0K.
  • termdash - Go terminal dashboard based on termbox-go and inspired by termui. Stars:2.7K.
  • asciigraph - Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies. Stars:2.6K.
  • spinner - Go package to easily provide a terminal spinner with options. Stars:2.3K.
  • mpb - Multi progress bar for terminal applications. Stars:2.3K.
  • uiprogress - Flexible library to render progress bars in terminal applications. Stars:2.1K.
  • termenv - Advanced ANSI style & color support for your terminal applications. Stars:1.7K.
  • uilive - Library for updating terminal output in real time. Stars:1.7K.
  • gookit/color - Terminal color rendering tool library, support 16 colors, 256 colors, RGB color rendering output, compatible with Windows. Stars:1.5K.
  • aurora - ANSI terminal colors that support fmt.Printf/Sprintf. Stars:1.4K.
  • go-isatty - isatty for golang. Stars:822.
  • go-colorable - Colorable writer for windows. Stars:756.
  • uitable - Library to improve readability in terminal apps using tabular data. Stars:735.
  • gommon/color - Style terminal text. Stars:536.
  • box-cli-maker - Make Highly Customized Boxes for your CLI. Stars:524.
  • simpletable - Simple tables in a terminal with Go. Stars:521.
  • chalk - Intuitive package for prettifying terminal/console output. Stars:447.
  • yacspin - Yet Another CLi Spinner package, for working with terminal spinners. Stars:436.
  • bubble-table - An interactive table component for bubbletea. Stars:433.
  • tabby - A tiny library for super simple Golang tables. Stars:354.
  • go-colortext - Go library for color output in terminals. Stars:215.
  • cfmt - Contextual fmt inspired by bootstrap color classes. Stars:103.
  • tabular - Print ASCII tables from command line utilities without the need to pass large sets of data to the API. Stars:76.
  • cfmt - Simple and convenient formatted stylized output fully compatible with fmt library. Stars:66.
  • table - Small library for terminal color based tables. Stars:50.
  • marker - Easiest way to match and mark strings for colorful terminal outputs. Stars:47.
  • ctc - The non-invasive cross-platform terminal color library does not need to modify the Print method. Stars:46.
  • colourize - Go library for ANSI colour text in terminals. Stars:26.
  • go-ataman - Go library for rendering ANSI colored text templates in terminals. Stars:16.
  • go-palette - Go library that provides elegant and convenient style definitions using ANSI colors. Fully compatible & wraps the fmt library for nice terminal layouts. Stars:16.
  • crab-config-files-templating - Dynamic configuration file templating tool for kubernetes manifest or general configuration files. Stars:7.

⬆ back to top

Standard CLI

Libraries for building standard or basic Command Line applications.

  • cobra - Commander for modern Go CLI interactions. Stars:37.4K.
  • urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli). Stars:22.1K.
  • elvish - An expressive programming language and a versatile interactive shell. Stars:5.6K.
  • survey - Build interactive and accessible prompts with full support for windows and posix terminals. Stars:4.1K.
  • kingpin - Command line and flag parser supporting sub commands (superseded by kong; see below). Stars:3.5K.
  • Dnote - A simple command line notebook with multi-device sync. Stars:2.7K.
  • go-flags - go command line option parser. Stars:2.5K.
  • pflag - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags. Stars:2.4K.
  • go-arg - Struct-based argument parsing in Go. Stars:2.0K.
  • mitchellh/cli - Go library for implementing command-line interfaces. Stars:1.7K.
  • ops - Unikernel Builder/Orchestrator. Stars:1.3K.
  • liner - Go readline-like library for command-line interfaces. Stars:1.0K.
  • complete - Write bash completions in Go + Go command bash completion. Stars:926.
  • mow.cli - Go library for building CLI applications with sophisticated flag and argument parsing and validation. Stars:871.
  • flaggy - A robust and idiomatic flags package with excellent subcommand support. Stars:855.
  • carapace-bin - Multi-shell multi-command argument completer. Stars:829.
  • mkideal/cli - Feature-rich and easy to use command-line package based on golang struct tags. Stars:729.
  • argparse - Command line argument parser inspired by Python's argparse module. Stars:604.
  • carapace - Command argument completion generator for spf13/cobra. Stars:307.
  • climax - Alternative CLI with "human face", in spirit of Go command. Stars:216.
  • wmenu - Easy to use menu structure for cli applications that prompt users to make choices. Stars:216.
  • hiboot cli - cli application framework with auto configuration and dependency injection. Stars:180.
  • clîr - A Simple and Clear CLI library. Dependency free. Stars:176.
  • commandeer - Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags. Stars:173.
  • sflags - Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin, and other libraries. Stars:150.
  • job - JOB, make your short-term command as a long-term job. Stars:145.
  • cmdr - A POSIX/GNU style, getopt-like command-line UI Go library. Stars:133.
  • flag - Simple but powerful command line option parsing library for Go supporting subcommand. Stars:132.
  • teris-io/cli - Simple and complete API for building command line interfaces in Go. Stars:129.
  • ukautz/clif - Small command line interface framework. Stars:129.
  • acmd - Simple, useful, and opinionated CLI package in Go. Stars:115.
  • env - Tag-based environment configuration for structs. Stars:113.
  • version - Collects and displays CLI version information in multiple formats along with upgrade notice. Stars:95.
  • readline Shell library with modern and easy to use UI features. Stars:83.
  • wlog - Simple logging interface that supports cross-platform color and concurrency. Stars:66.
  • gocmd - Go library for building command line applications. Stars:66.
  • strumt - Library to create prompt chain. Stars:60.
  • command-chain - A go library for configure and run command chains - such as pipelining in unix shells. Stars:59.
  • go-getoptions - Go option parser inspired by the flexibility of Perl’s GetOpt::Long. Stars:55.
  • flagvar - A collection of flag argument types for Go's standard flag package. Stars:43.
  • argv - Go library to split command line string as arguments array using the bash syntax. Stars:41.
  • cmd - Extends the standard flag package to support sub commands and more in idiomatic way. Stars:41.
  • go-commander - Go library to simplify CLI workflow. Stars:35.
  • go-andotp - A CLI program to encrypt/decrypt andOTP files. Can be used as a library as well. Stars:30.
  • mcli - A minimal but very powerful cli library for Go. Stars:29.
  • sand - Simple API for creating interpreters and so much more. Stars:25.
  • ts - Timestamp convert & compare tool. Stars:20.
  • carapace-spec - Define simple completions using a spec file. Stars:17.
  • subcmd - Another approach to parsing and running subcommands. Works alongside the standard flag package. Stars:8.

⬆ back to top

Configuration

Libraries for configuration parsing.

  • viper - Go configuration with fangs. Stars:26.7K.
  • godotenv - Go port of Ruby's dotenv library (Loads environment variables from .env). Stars:8.1K.
  • sonic - A blazingly fast JSON serializing & deserializing library. Stars:6.7K.
  • kelseyhightower/envconfig - Go library for managing configuration data from environment variables. Stars:5.0K.
  • env - Parse environment variables to Go structs (with defaults). Stars:4.7K.
  • ini - Go package to read and write INI files. Stars:3.4K.
  • koanf - Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line. Stars:2.6K.
  • kong - Command-line parser with support for arbitrarily complex command-line structures and additional sources of configuration such as YAML, JSON, TOML, etc (successor to kingpin). Stars:2.0K.
  • cleanenv - Minimalistic configuration reader (from files, ENV, and wherever you want). Stars:1.6K.
  • xdg - Go implementation of the XDG Base Directory Specification and XDG user directories. Stars:656.
  • konfig - Composable, observable and performant config handling for Go for the distributed processing era. Stars:649.
  • aconfig - Simple, useful and opinionated config loader. Stars:535.
  • gookit/config - application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge. Stars:534.
  • confita - Load configuration in cascade from multiple backends into a struct. Stars:492.
  • fig - Tiny library for reading configuration from a file and from environment variables (with validation & defaults). Stars:368.
  • GoLobby/Config - GoLobby Config is a lightweight yet powerful configuration manager for the Go programming language. Stars:363.
  • config - Cloud native application configuration. Bind ENV to structs in only two lines. Stars:336.
  • hjson - Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments. Stars:328.
  • store - Lightweight configuration manager for Go. Stars:274.
  • envconfig - Read your configuration from environment variables. Stars:241.
  • konf - The simplest API for reading/watching config from file, env, flag and clouds (e.g. AWS, Azure, GCP). Stars:222.
  • joshbetz/config - Small configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP. Stars:216.
  • harvester - Harvester, an easy to use static and dynamic configuration package supporting seeding, env vars and Consul integration. Stars:130.
  • onion - Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP. Stars:116.
  • configuration - Library for initializing configuration structs from env variables, files, flags and 'default' tag. Stars:108.
  • envh - Helpers to manage environment variables. Stars:99.
  • configuro - opinionated configuration loading & validation framework from ENV and Files focused towards 12-Factor compliant applications. Stars:93.
  • xdg - Cross platform package that follows the XDG Standard. Stars:79.
  • 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. Stars:77.
  • uConfig - Lightweight, zero-dependency, and extendable configuration management. Stars:70.
  • gofigure - Go application configuration made easy. Stars:69.
  • env - A lightweight package for loading environment variables into structs. Stars:61.
  • go-aws-ssm - Go package that fetches parameters from AWS System Manager - Parameter Store. Stars:58.
  • configure - Provides configuration through multiple sources, including JSON, flags and environment variables. Stars:56.
  • gone/jconf - Modular JSON configuration. Keep your config structs along with the code they configure and delegate parsing to submodules without sacrificing full config serialization. Stars:48.
  • config - configure your app using file, environment variables, or flags in two lines of code Stars:48.
  • go-up - A simple configuration library with recursive placeholders resolution and no magic. Stars:43.
  • go-cfg - The library provides a unified way to read configuration data into a structure from various sources, such as env, flags, and configuration files (.json, .yaml, .toml, .env). Stars:40.
  • genv - Read environment variables easily with dotenv support. Stars:38.
  • ingo - Flags persisted in an ini-like config file. Stars:37.
  • mini - Golang package for parsing ini-style configuration files. Stars:35.
  • confiq - Structured data format to config struct decoder library for Go - supporting multiple data formats Stars:34.
  • 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. Stars:32.
  • go-ssm-config - Go utility for loading configuration parameters from AWS SSM (Parameter Store). Stars:21.
  • nasermirzaei89/env - Simple useful package for read environment variables. Stars:18.
  • bcl - BCL is a configuration language similar to HCL. Stars:17.
  • go-array - A Go package that read or set data from map, slice or json. Stars:17.
  • yamagiconf - The "safe subset" of YAML for Go configs. Stars:15.
  • ini - INI Parser & Write Library, Unmarshal to Struct, Marshal to Json, Write File, watch file. Stars:15.
  • go-ini - A Go package that marshals and unmarshals INI-files. Stars:14.
  • 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. Stars:10.
  • gonfig - Tag-based configuration parser which loads values from different providers into typesafe struct. Stars:9.
  • typenv - Minimalistic, zero dependency, typed environment variables library. Stars:9.
  • piper - Viper wrapper with config inheritance and key generation. Stars:8.
  • swap - Instantiate/configure structs recursively, based on build environment. (YAML, TOML, JSON and env). Stars:8.
  • nfigure - Per-library struct-tag based configuration from command lines (Posix & Go-style); environment, JSON, YAML Stars:7.
  • GoCfg - Config manager with Struct Tags based contracts, custom value providers, parsers, and documentation generation. Customizable yet simple. Stars:6.
  • env - An environment utility package with support for unmarshaling into structs Stars:4.
  • goConfig - Parses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file. Stars:3.

⬆ back to top

Continuous Integration

Tools for help with continuous integration.

  • drone - Drone is a Continuous Integration platform built on Docker, written in Go. Stars:32.1K.
  • CDS - Enterprise-Grade CI/CD and DevOps Automation Open Source Platform. Stars:4.5K.
  • woodpecker - Woodpecker is a community fork of the Drone CI system. Stars:4.0K.
  • goveralls - Go integration for Coveralls.io continuous code coverage tracking system. Stars:788.
  • gotestfmt - go test output for humans. Stars:502.
  • overalls - Multi-Package go project coverprofile for tools like goveralls. Stars:114.
  • go-test-coverage - Tool and GitHub action which reports issues when test coverage is below set threshold. Stars:79.
  • gomason - Test, Build, Sign, and Publish your go binaries from a clean workspace. Stars:65.
  • roveralls - Recursive coverage testing tool. Stars:20.
  • go-fuzz-action - Use Go 1.18's built-in fuzz testing in GitHub Actions. Stars:15.
  • dot - A minimal, local first continuous integration system that uses Docker to run jobs concurrently in stages. Stars:15.
  • go-semver-release - Automate the semantic versioning of Git repositories. Stars:8.
  • go-beautiful-html-coverage - A GitHub Action to track code coverage in your pull requests, with a beautiful HTML preview, for free. Stars:8.
  • Bencher - A suite of continuous benchmarking tools designed to catch performance regressions in CI.

⬆ back to top

CSS Preprocessors

Libraries for preprocessing CSS files.

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

⬆ back to top

Data Integration Frameworks

Frameworks for performing ELT / ETL

  • Benthos - A message streaming bridge between a range of protocols. Stars:8.1K.
  • 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. Stars:915.
  • CloudQuery - A high-performance ELT data integration framework with pluggable architecture.

⬆ back to top

Data Structures and Algorithms

Bit-packing and Compression
  • roaring - Go package implementing compressed bitsets. Stars:2.5K.
  • binpacker - Binary packer and unpacker helps user build custom binary stream. Stars:220.
  • bit - Golang set data structure with bonus bit-twiddling functions. Stars:157.
  • crunch - Go package implementing buffers for handling various datatypes easily. Stars:96.
  • bingo - Fast, zero-allocation, lexicographical-order-preserving packing of native types to bytes. Stars:39.
  • go-ef - A Go implementation of the Elias-Fano encoding. Stars:31.
Bit Sets
  • bitset - Go package implementing bitsets. Stars:1.3K.
  • bitmap - Dense, zero-allocation, SIMD-enabled bitmap/bitset in Go. Stars:298.
Bloom and Cuckoo Filters
  • bloom - Go package implementing Bloom filters. Stars:2.4K.
  • boomfilters - Probabilistic data structures for processing continuous, unbounded streams. Stars:1.6K.
  • cuckoofilter - Cuckoo filter: a good alternative to a counting bloom filter implemented in Go. Stars:1.1K.
  • 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 are available. Stars:292.
  • bloom - Bloom filters implemented in Go. Stars:147.
  • ring - Go implementation of a high performance, thread safe bloom filter. Stars:138.
  • bloom - Golang Bloom filter implementation. Stars:86.
  • bloomfilter - Yet another Bloomfilter implementation in Go, compatible with Java's Guava library. Stars:17.
Data Structure and Algorithm Collections
  • gods - Go Data Structures. Containers, Sets, Lists, Stacks, Maps, BidiMaps, Trees, HashSet etc. Stars:16.0K.
  • go-datastructures - Collection of useful, performant, and thread-safe data structures. Stars:7.6K.
  • gostl - Data structure and algorithm library for go, designed to provide functions similar to C++ STL. Stars:1.0K.
  • algorithms - Algorithms and data structures.CLRS study. Stars:799.
Iterators
  • iter - Go implementation of C++ STL iterators and algorithms. Stars:184.
  • goterator - Iterator implementation to provide map and reduce functionalities. Stars:16.
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. Stars:91.
  • dict - Python-like dictionaries (dict) for Go. Stars:45.
  • goradd/maps - Go 1.18+ generic map interface for maps; safe maps; ordered maps; ordered, safe maps; etc. Stars:38.
Miscellaneous Data Structures and Algorithms
  • gota - Implementation of dataframes, series, and data wrangling methods for Go. Stars:3.0K.
  • hyperloglog - HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction. Stars:931.
  • go-geoindex - In-memory geo index. Stars:355.
  • hilbert - Go package for mapping values to and from space-filling curves, such as Hilbert and Peano curves. Stars:278.
  • go-rquad - Region quadtrees with efficient point location and neighbour finding. Stars:133.
  • conjungo - A small, powerful and flexible merge library. Stars:126.
  • go-rampart - Determine how intervals relate to each other. Stars:100.
  • gogu - A comprehensive, reusable and efficient concurrent-safe generics utility functions and data structures library. Stars:97.
  • go-tuple - Generic tuple implementation for Go 1.18+. Stars:80.
  • go-generics - Generic slice, map, set, iterator, and goroutine utilities. Stars:69.
  • hide - ID type with marshalling to/from hash to prevent sending IDs to clients. Stars:68.
  • count-min-log - Go implementation Count-Min-Log sketch: Approximately counting with approximate counters (Like Count-Min sketch but using less memory). Stars:66.
  • fsm - Finite-State Machine package. Stars:63.
  • concurrent-writer - Highly concurrent drop-in replacement for bufio.Writer. Stars:54.
  • genfuncs - Go 1.18+ generics package inspired by Kotlin's Sequence and Map. Stars:50.
  • go18ds - Go Data Structures using Go 1.18 generics. Stars:46.
  • quadtree - Generic, zero-alloc, 100%-test covered quadtree. Stars:34.
  • slices - Pure, generic functions for slices. Stars:20.
  • gofal - fractional api for Go. Stars:18.
  • slices - Functions that operate on slices; like package strings but adapted to work with slices. Stars:17.
  • plinko - A finite state machine and workflow orchestrator that compiles for fast execution, easy debugging, auto-generated documentation. Includes advanced features such as side-effect hooks.
Nullable Types
  • nan - Zero allocation Nullable structures in one library with handy conversion functions, marshallers and unmarshallers. Stars:85.
  • typ - Null Types, Safe primitive type conversion and fetching value from complex structures. Stars:46.
  • null - Nullable Go types that can be marshalled/unmarshalled to/from JSON. Stars:36.
Queues
  • deque - Fast ring-buffer deque (double-ended queue). Stars:562.
  • goconcurrentqueue - Concurrent FIFO queue. Stars:382.
  • queue - Multiple thread-safe, generic queue implementations for Go. Stars:263.
  • deque - A highly optimized double-ended queue. Stars:180.
  • memlog - An easy to use, lightweight, thread-safe and append-only in-memory data structure inspired by Apache Kafka. Stars:116.
Sets
  • golang-set - Thread-Safe and Non-Thread-Safe high-performance sets for Go. Stars:4.1K.
  • goset - A useful Set collection implementation for Go. Stars:52.
  • set - Simple set data structure implementation in Go using LinkedHashMap. Stars:26.
  • dsu - Disjoint Set data structure implementation in Go. Stars:14.
Text Analysis
  • bleve - Modern text indexing library for go. Stars:10.0K.
  • trie - Trie implementation in Go. Stars:747.
  • go-edlib - Go string comparison and edit distance algorithms library (Levenshtein, LCS, Hamming, Damerau levenshtein, Jaro-Winkler, etc.) compatible with Unicode. Stars:469.
  • go-adaptive-radix-tree - Go implementation of Adaptive Radix Tree. Stars:351.
  • levenshtein - Implementation to calculate levenshtein distance in Go. Stars:338.
  • levenshtein - Levenshtein distance and similarity metrics with customizable edit costs and Winkler-like bonus for common prefix. Stars:85.
  • ptrie - An implementation of prefix tree. Stars:39.
  • mspm - Multi-String Pattern Matching Algorithm for information retrieval. Stars:25.
  • parsefields - Tools for parse JSON-like logs for collecting unique fields and events. Stars:8.
Trees
  • skiplist - Very fast Go Skiplist implementation. Stars:276.
  • skiplist - Skiplist implementation in Go. Stars:84.
  • treemap - Generic key-sorted map using a red-black tree under the hood. Stars:59.
  • treap - Persistent, fast ordered map using tree heaps. Stars:27.
  • merkle - Space-efficient computation of Merkle root hashes and inclusion proofs. Stars:17.
  • hashsplit - Split byte streams into chunks, and arrange chunks into trees, with boundaries determined by content, not position.
Pipes
  • pipeline - An implementation of pipelines with fan-in and fan-out. Stars:57.
  • ordered-concurrently - Go module that processes work concurrently and returns output in a channel in the order of input. Stars:37.
  • parapipe - FIFO Pipeline which parallels execution on each stage while maintaining the order of messages and results. Stars:31.

⬆ back to top

Database

Caches

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

  • groupcache - Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases. Stars:12.9K.
  • BigCache - Efficient key/value cache for gigabytes of data. Stars:7.4K.
  • GCache - Cache library with support for expirable Cache, LFU, LRU and ARC. Stars:2.6K.
  • gocache - A complete Go cache library with multiple stores (memory, memcache, redis, ...), chainable, loadable, metrics cache and more. Stars:2.4K.
  • cache2go - In-memory key:value cache which supports automatic invalidation based on timeouts. Stars:2.1K.
  • fastcache - fast thread-safe inmemory cache for big number of entries. Minimizes GC overhead. Stars:2.1K.
  • otter - A high performance lockless cache for Go. Many times faster than Ristretto and friends. Stars:1.6K.
  • ttlcache - An in-memory cache with item expiration and generics. Stars:913.
  • cachego - Golang Cache component for multiple drivers. Stars:365.
  • EchoVault - Embeddable Distributed in-memory data store compatible with Redis clients. Stars:333.
  • sturdyc - A caching library with advanced concurrency features designed to make I/O heavy applications robust and highly performant. Stars:271.
  • theine - High performance, near optimal in-memory cache with proactive TTL expiration and generics. Stars:251.
  • cache - In-memory key:value store with expiration time, 0 dependencies, <100 LoC, 100% coverage. Stars:182.
  • bcache - Eventually consistent distributed in-memory cache Go library. Stars:151.
  • remember-go - A universal interface for caching slow database queries (backed by redis, memcached, ristretto, or in-memory). Stars:139.
  • go-cache - A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern. Stars:138.
  • go-freelru A GC-less, fast and generic LRU hashmap library with optional locking, sharding, eviction and expiration. Stars:133.
  • imcache - A generic in-memory cache Go library. It supports expiration, sliding expiration, max entries limit, eviction callbacks and sharding. Stars:120.
  • go-mcache - Fast in-memory key:value store/cache library. Pointer caches. Stars:96.
  • timedmap - Map with expiring key-value pairs. Stars:70.
  • couchcache - RESTful caching micro-service backed by Couchbase server. Stars:63.
  • clusteredBigCache - BigCache with clustering support and individual item expiration. Stars:44.
  • 2q - 2Q in-memory cache implementation. Stars:39.
  • icache - A High Performance, Generic, thread-safe, zero-dependency cache package. Stars:16.
  • gdcache - A pure non-intrusive cache library implemented by golang, you can use it to implement your own distributed cache. Stars:13.
  • nscache - A Go caching framework that supports multiple data source drivers. Stars:10.
  • coherence-go-client - Full implementation of Oracle Coherence cache API for Go applications using gRPC as network transport. Stars:9.
  • ttlcache - In-memory key value storage with TTL for each record. Stars:9.
  • gocache - A data race free Go ache library with high performance and auto pruge functionality Stars:7.
Databases Implemented in Go
  • prometheus - Monitoring system and time series database. Stars:54.6K.
  • tidb - TiDB is a distributed SQL database. Inspired by the design of Google F1. Stars:36.8K.
  • cockroach - Scalable, Geo-Replicated, Transactional Datastore. Stars:29.8K.
  • Milvus - Milvus is a vector database for embedding management, analytics and search. Stars:29.1K.
  • influxdb - Scalable datastore for metrics, events, and real-time analytics. Stars:28.5K.
  • dgraph - Scalable, Distributed, Low Latency, High Throughput Graph Database. Stars:20.3K.
  • dolt - Dolt – It's Git for Data. Stars:17.7K.
  • rqlite - The lightweight, distributed, relational database built on SQLite. Stars:15.5K.
  • badger - Fast key-value store in Go. Stars:13.7K.
  • VictoriaMetrics - fast, resource-effective and scalable open source time series database. May be used as long-term remote storage for Prometheus. Supports PromQL. Stars:11.8K.
  • immudb - immudb is a lightweight, high-speed immutable database for systems and applications written in Go. Stars:8.5K.
  • bbolt - An embedded key/value database for Go. Stars:8.1K.
  • goleveldb - Implementation of the LevelDB key/value database in Go. Stars:6.1K.
  • pebble - RocksDB/LevelDB inspired key-value database in Go. Stars:4.7K.
  • rosedb - An embedded k-v database based on LSM+WAL, supports string, list, hash, set, zset. Stars:4.5K.
  • buntdb - Fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support. Stars:4.5K.
  • ledisdb - Ledisdb is a high performance NoSQL like Redis based on LevelDB. Stars:4.1K.
  • godis - A Golang implemented high-performance Redis server and cluster. Stars:3.5K.
  • 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. Stars:3.4K.
  • LinDB - LinDB is a scalable, high performance, high availability distributed time series database. Stars:3.0K.
  • tiedot - Your NoSQL database powered by Golang. Stars:2.7K.
  • lotusdb - Fast k/v database compatible with lsm and b+tree. Stars:2.0K.
  • CovenantSQL - CovenantSQL is a SQL database on blockchain. Stars:1.5K.
  • column - High-performance, columnar, embeddable in-memory store with bitmap indexing and transactions. Stars:1.4K.
  • diskv - Home-grown disk-backed key-value store. Stars:1.4K.
  • pogreb - Embedded key-value store for read-heavy workloads. Stars:1.3K.
  • Databunker - Personally identifiable information (PII) storage service built to comply with GDPR and CCPA. Stars:1.2K.
  • objectbox-go - High-performance embedded Object Database (NoSQL) with Go API. Stars:1.1K.
  • eliasdb - Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language. Stars:995.
  • moss - Moss is a simple LSM key-value storage engine written in 100% Go. Stars:951.
  • clover - A lightweight document-oriented NoSQL database written in pure Golang. Stars:660.
  • levigo - Levigo is a Go wrapper for LevelDB. Stars:414.
  • pudge - Fast and simple key/value store written using Go's standard library. Stars:367.
  • Vasto - A distributed high-performance key-value store. On Disk. Eventual consistent. HA. Able to grow or shrink without service interruption. Stars:259.
  • dtf - A distributed transaction manager. Support XA, TCC, SAGA, Reliable Messages. Stars:212.
  • piladb - Lightweight RESTful database engine based on stack data structures. Stars:205.
  • libradb - LibraDB is a simple database with less than 1000 lines of code for learning. Stars:167.
  • unitdb - Fast timeseries database for IoT, realtime messaging applications. Access unitdb with pubsub over tcp or websocket using github.com/unit-io/unitd application. Stars:118.
  • hare - A simple database management system that stores each table as a text file of line-delimited JSON. Stars:91.
  • Coffer - Simple ACID key-value database that supports transactions. Stars:38.
  • rotom - A tiny Redis server built with Golang, compatible with RESP protocols. Stars:34.
  • tempdb - Key-value store for temporary items. Stars:19.
  • regatta - Fast, simple, geo-distributed KV store built for cloud native era.
  • 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).
Database Schema Migration
  • migrate - Database migrations. CLI and Golang library. Stars:14.9K.
  • bytebase - Safe database schema change and version control for DevOps teams. Stars:11.0K.
  • goose - Database migration tool. You can manage your database's evolution by creating incremental SQL or Go scripts. Stars:6.5K.
  • atlas - A Database Toolkit. A CLI designed to help companies better work with their data. Stars:5.6K.
  • dbmate - A lightweight, framework-agnostic database migration tool. Stars:5.2K.
  • sql-migrate - Database migration tool. Allows embedding migrations into the application using go-bindata. Stars:3.2K.
  • soda - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite. Stars:1.4K.
  • skeema - Pure-SQL schema management system for MySQL, with support for sharding and external online schema change tools. Stars:1.3K.
  • gormigrate - Database schema migration helper for Gorm ORM. Stars:1.0K.
  • goavro - A Go package that encodes and decodes Avro data. Stars:971.
  • migrator - Dead simple Go database migration library. Stars:168.
  • darwin - Database schema evolution library for Go. Stars:145.
  • sqlize - Database migration generator. Allows generate sql migration from model and existing sql by differ them. Stars:94.
  • go-pg-migrations - A Go package to help write migrations with go-pg/pg. Stars:84.
  • avro - Discover SQL schemas and convert them to AVRO schemas. Query SQL records into AVRO bytes. Stars:45.
  • schema - Library to embed schema migrations for database/sql-compatible databases inside your Go binaries. Stars:31.
  • go-fixtures - Django style fixtures for Golang's excellent built-in database/sql library. Stars:29.
  • migrator - MySQL database migrator designed to run migrations to your features and manage database schema update with intuitive go code. Stars:25.
  • libschema - Define your migrations separately in each library. Migrations for open source libraries. MySQL & PostgreSQL. Stars:14.
  • gorm-seeder - Simple database seeder for Gorm ORM. Stars:13.
  • go-pg-migrate - CLI-friendly package for go-pg migrations management. Stars:10.
  • godfish - Database migration manager, works with native query language. Support for cassandra, mysql, postgres, sqlite3. Stars:7.
Database Tools
  • vitess - vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services. Stars:18.4K.
  • pgweb - Web-based PostgreSQL database browser. Stars:8.5K.
  • go-mysql - Go toolset to handle MySQL protocol and replication. Stars:4.6K.
  • pREST - Simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new. Stars:4.2K.
  • chproxy - HTTP proxy for ClickHouse database. Stars:1.3K.
  • pg_timetable - Advanced scheduling for PostgreSQL. Stars:1.1K.
  • clickhouse-bulk - Collects small inserts and sends big requests to ClickHouse servers. Stars:474.
  • rdb - Redis RDB file parser for secondary development and memory analysis. Stars:377.
  • wescale - WeScale is a database proxy designed to enhance the scalability, performance, security, and resilience of your applications. Stars:197.
  • octillery - Go package for sharding databases ( Supports every ORM or raw SQL ). Stars:191.
  • dbbench - Database benchmarking tool with support for several databases and scripts. Stars:98.
  • onedump - Database backup from different drivers to different destinations with one command and configuration. Stars:79.
  • prep - Use prepared SQL statements without changing your code. Stars:32.
  • gorm-multitenancy - Multi-tenancy support for GORM managed databases. Stars:31.
  • dg - A fast data generator that produces CSV files from generated relational data. Stars:28.
  • rwdb - rwdb provides read replica capability for multiple database servers setup. Stars:19.
  • dynago - Simplify working with AWS DynamoDB. Stars:12.
  • hasql - Library for accessing multi-host SQL database installations.
SQL Query Builders

Libraries for building and using SQL.

  • sqlc - Generate type-safe code from SQL. Stars:12.0K.
  • Squirrel - Go library that helps you build SQL queries. Stars:6.8K.
  • xo - Generate idiomatic Go code for databases based on existing schema definitions or custom queries supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server. Stars:3.7K.
  • jet - Framework for writing type-safe SQL queries in Go, with ability to easily convert database query result into desired arbitrary object structure. Stars:2.3K.
  • goqu - Idiomatic SQL builder and query library. Stars:2.3K.
  • gendry - Non-invasive SQL builder and powerful data binder. Stars:1.6K.
  • Dotsql - Go library that helps you keep sql files in one place and use them with ease. Stars:735.
  • ozzo-dbx - Powerful data retrieval methods as well as DB-agnostic query building capabilities. Stars:634.
  • dbq - Zero boilerplate database operations for Go. Stars:402.
  • sqlingo - A lightweight DSL to build SQL in Go. Stars:398.
  • sqrl - SQL query builder, fork of Squirrel with improved performance. Stars:275.
  • sq - Type-safe SQL builder and struct mapper for Go. Stars:196.
  • buildsqlx - Go database query builder library for PostgreSQL. Stars:165.
  • bqb - Lightweight and easy to learn query builder. Stars:144.
  • sqlf - Fast SQL query builder. Stars:141.
  • igor - Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax. Stars:125.
  • builq - Easily build SQL queries in Go. Stars:89.
  • godbal - Database Abstraction Layer (dbal) for go. Support SQL builder and get result easily. Stars:59.
  • qry - Tool that generates constants from files with raw SQL queries. Stars:35.
  • gosql - SQL Query builder with better null values support. Stars:30.
  • Hotcoal - Secure your handcrafted SQL against injection. Stars:19.
  • ormlite - Lightweight package containing some ORM-like features and helpers for sqlite databases. Stars:13.
  • sg - A SQL Gen for generating standard SQLs(supports: CRUD) written in Go. Stars:6.
  • Squalus - Thin layer over the Go SQL package that makes it easier to perform queries.

⬆ back to top

Database Drivers

Interfaces to Multiple Backends
  • cayley - Graph database with support for multiple backends. Stars:14.8K.
  • 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). Stars:721.
  • go-transaction-manager - Transaction manager with multiple adapters (sql, sqlx, gorm, mongo, ...) controls transaction boundaries. Stars:218.
  • dsc - Datastore connectivity for SQL, NoSQL, structured files. Stars:33.
  • dynamo - A simple key-value abstraction to store algebraic and linked-data data types at AWS storage services: AWS DynamoDB and AWS S3. Stars:18.
Relational Database Drivers
  • go-sql-driver/mysql - MySQL driver for Go. Stars:14.4K.
  • pgx - PostgreSQL driver supporting features beyond those exposed by database/sql. Stars:10.3K.
  • pq - Pure Go Postgres driver for database/sql. Stars:9.0K.
  • go-sqlite3 - SQLite3 driver for go that uses database/sql. Stars:7.8K.
  • go-mssqldb - Microsoft MSSQL driver for Go. Stars:1.8K.
  • sqlhooks - Attach hooks to any database/sql driver. Stars:647.
  • go-oci8 - Oracle driver for go that uses database/sql. Stars:630.
  • godror - Oracle driver for Go, using the ODPI-C driver. Stars:521.
  • Sqinn-Go - SQLite with pure Go. Stars:417.
  • KSQL - A Simple and Powerful Golang SQL Library Stars:298.
  • surrealdb.go - SurrealDB Driver for Go. Stars:230.
  • firebirdsql - Firebird RDBMS SQL driver for Go. Stars:225.
  • go-adodb - Microsoft ActiveX Object DataBase driver for go that uses database/sql. Stars:141.
  • ydb-go-sdk - native and database/sql driver YDB (Yandex Database) Stars:134.
  • avatica - Apache Avatica/Phoenix SQL driver for database/sql. Stars:116.
  • gofreetds - Microsoft MSSQL driver. Go wrapper over FreeTDS. Stars:112.
  • bgc - Datastore Connectivity for BigQuery for go. Stars:21.
  • pig - Simple pgx wrapper to execute and scan query results easily. Stars:16.
NoSQL Database Drivers
  • redis - Redis client for Golang. Stars:19.8K.
  • redigo - Redigo is a Go client for the Redis database. Stars:9.7K.
  • mongo-go-driver - Official MongoDB driver for the Go language. Stars:8.1K.
  • mgo - (unmaintained) MongoDB driver for the Go language that implements a rich and well tested selection of features under a very simple API following standard Go idioms. Stars:2.0K.
  • gomemcache - memcache client library for the Go programming language. Stars:1.7K.
  • gorethink - Go language driver for RethinkDB. Stars:1.6K.
  • qmgo - The MongoDB driver for Go. It‘s based on official MongoDB driver but easier to use like Mgo. Stars:1.3K.
  • mgm - MongoDB model-based ODM for Go (based on official MongoDB driver). Stars:744.
  • redeo - Redis-protocol compatible TCP servers/services. Stars:438.
  • aerospike-client-go - Aerospike client in Go language. Stars:430.
  • neoism - Neo4j client for Golang. Stars:390.
  • gocb - Official Couchbase Go SDK. Stars:363.
  • go-rejson - Golang client for redislabs' ReJSON module using Redigo golang client. Store and manipulate structs as JSON objects in redis with ease. Stars:342.
  • go-couchbase - Couchbase client in Go. Stars:321.
  • Kivik - Kivik provides a common Go and GopherJS client library for CouchDB, PouchDB, and similar databases. Stars:310.
  • godis - redis client implement by golang, inspired by jedis. Stars:111.
  • go-mongox - A Go Mongo library based on the official driver, featuring streamlined document operations, generic binding of structs to collections, built-in CRUD, aggregation, automated field updates, struct validation, hooks, and plugin-based programming. Stars:110.
  • Neo4j-GO - Neo4j REST Client in golang. Stars:78.
  • arangolite - Lightweight golang driver for ArangoDB. Stars:73.
  • go-pilosa - Go client library for Pilosa. Stars:58.
  • forestdb - Go bindings for ForestDB. Stars:37.
  • goriak - Go language driver for Riak KV. Stars:30.
  • neo4j - Neo4j Rest API Bindings for Golang. Stars:28.
  • gocosmos - REST client and standard database/sql driver for Azure Cosmos DB. Stars:22.
  • gomemcached - A binary Memcached client for Go with support for sharding using consistent hashing, along with SASL. Stars:19.
  • xredis - Typesafe, customizable, clean & easy to use Redis client. Stars:19.
  • godscache - A wrapper for the Google Cloud Platform Go Datastore package that adds caching using memcached. Stars:11.
  • asc - Datastore Connectivity for Aerospike for go. Stars:10.
  • gocql - Go language driver for Apache Cassandra.
  • rueidis - Fast Redis RESP3 client with auto pipelining and server-assisted client side caching.
Search and Analytic Databases
  • elastic - Elasticsearch client for Go. Stars:7.4K.
  • go-elasticsearch - Official Elasticsearch client for Go. Stars:5.6K.
  • clickhouse-go - ClickHouse SQL client for Go with a database/sql compatibility. Stars:2.8K.
  • elasticsql - Convert sql to elasticsearch dsl in Go. Stars:1.2K.
  • elastigo - Elasticsearch client library. Stars:943.
  • skizze - probabilistic data-structures service and storage. Stars:88.
  • goes - Library to interact with Elasticsearch. Stars:31.

⬆ back to top

Date and Time

Libraries for working with dates and times.

  • carbon - A simple, semantic and developer-friendly golang package for datetime. Stars:4.7K.
  • now - Now is a time toolkit for golang. Stars:4.4K.
  • dateparse - Parse date's without knowing format in advance. Stars:2.0K.
  • carbon - Simple Time extension with a lot of util methods, ported from PHP Carbon library. Stars:774.
  • durafmt - Time duration formatting library for Go. Stars:494.
  • go-persian-calendar - The implementation of the Persian (Solar Hijri) Calendar in Go (golang). Stars:204.
  • gostradamus - A Go package for working with dates. Stars:202.
  • timeutil - Useful extensions (Timedelta, Strftime, ...) to the golang's time package. Stars:192.
  • go-sunrise - Calculate the sunrise and sunset times for a given location. Stars:143.
  • iso8601 - Efficiently parse ISO8601 date-times without regex. Stars:142.
  • date - Augments Time for working with dates, date ranges, time spans, periods, and time-of-day. Stars:130.
  • go-str2duration - Convert string to duration. Support time.Duration returned string and more. Stars:101.
  • timespan - For interacting with intervals of time, defined as a start time and a duration. Stars:83.
  • feiertage - Set of functions to calculate public holidays in Germany, incl. specialization on the states of Germany (Bundesländer). Things like Easter, Pentecost, Thanksgiving... Stars:48.
  • kair - Date and Time - Golang Formatting Library. Stars:24.
  • 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. Stars:20.
  • cronrange - Parses Cron-style time range expressions, checks if the given time is within any ranges. Stars:18.
  • approx - A Duration extension supporting parsing/printing durations in days, weeks and years. Stars:12.
  • strftime - C99-compatible strftime formatter. Stars:12.
  • tuesday - Ruby-compatible Strftime function. Stars:12.
  • go-week - An efficient package to work with ISO8601 week dates. Stars:9.
  • go-datebin - A simple datetime parse pkg. Stars:4.

⬆ back to top

Distributed Systems

Packages that help with building Distributed Systems.

  • 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. Stars:28.7K.
  • go-kit - Microservice toolkit with support for service discovery, load balancing, pluggable transports, request tracking, etc. Stars:26.5K.
  • Kratos - A modular-designed and easy-to-use microservices framework in Go. Stars:23.1K.
  • go-micro - A distributed systems development framework. Stars:21.8K.
  • grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC. Stars:20.7K.
  • NATS - Lightweight, high performance messaging system for microservices, IoT, and cloud native systems. Stars:15.4K.
  • micro - A distributed systems runtime for the cloud and beyond. Stars:12.1K.
  • raft - Golang implementation of the Raft consensus protocol, by HashiCorp. Stars:8.1K.
  • rpcx - Distributed pluggable RPC service framework like alibaba Dubbo. Stars:8.1K.
  • 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. Stars:6.9K.
  • lura - Ultra performant API Gateway framework with middlewares. Stars:6.3K.
  • torrent - BitTorrent client package. Stars:5.5K.
  • dragonboat - A feature complete and high performance multi-group Raft library in Go. Stars:5.0K.
  • evans - Evans: more expressive universal gRPC client. Stars:4.2K.
  • emitter-io - High performance, distributed, secure and low latency publish-subscribe platform built with MQTT, Websockets and love. Stars:3.8K.
  • 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. Stars:3.4K.
  • glow - Easy-to-Use scalable distributed big data processing, Map-Reduce, DAG execution, all in pure Go. Stars:3.2K.
  • liftbridge - Lightweight, fault-tolerant message streams for NATS. Stars:2.6K.
  • 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. Stars:2.2K.
  • 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. Stars:1.4K.
  • redis-lock - Simplified distributed locking implementation using Redis. Stars:1.4K.
  • hprose - Very newbility RPC Library, support 25+ languages now. Stars:1.3K.
  • sponge - A distributed development framework that integrates automatic code generation, gin and grpc frameworks, base development frameworks. Stars:1.2K.
  • mochi mqtt - Fully spec compliant, embeddable high-performance MQTT v5/v3 broker for IoT, smarthome, and pubsub. Stars:1.2K.
  • rain - BitTorrent client and library. Stars:953.
  • arpc - More effective network communication, support two-way-calling, notify, broadcast. Stars:940.
  • ringpop-go - Scalable, fault-tolerant application-layer sharding for Go applications. Stars:824.
  • trpc-go - The Go language implementation of tRPC, which is a pluggable, high-performance RPC framework. Stars:795.
  • go-health - Library for enabling asynchronous dependency health checks in your service. Stars:747.
  • gorpc - Simple, fast and scalable RPC library for high load. Stars:695.
  • consistent - Consistent hashing with bounded loads. Stars:681.
  • raft - Go implementation of the Raft consensus protocol, by CoreOS. Stars:620.
  • go-sundheit - A library built to provide support for defining async service health checks for golang services. Stars:532.
  • digota - grpc ecommerce microservice. Stars:510.
  • Temporal - Durable execution system for making code fault-tolerant and simple. Stars:499.
  • go-jump - Port of Google's "Jump" Consistent Hash function. Stars:382.
  • sleuth - Library for master-less p2p auto-discovery and RPC between HTTP services (using ZeroMQ). Stars:373.
  • Tarmac - Framework for writing functions, microservices, or monoliths with WebAssembly Stars:326.
  • jsonrpc - JSON-RPC 2.0 HTTP client implementation. Stars:323.
  • dht - BitTorrent Kademlia DHT implementation. Stars:307.
  • jsonrpc - The jsonrpc package helps implement of JSON-RPC 2.0. Stars:189.
  • outboxer - Outboxer is a go library that implements the outbox pattern. Stars:155.
  • doublejump - A revamped Google's jump consistent hash. Stars:101.
  • Semaphore - A straightforward (micro) service orchestrator. Stars:92.
  • dot - distributed sync using operational transformation/OT. Stars:87.
  • celeriac - Library for adding support for interacting and monitoring Celery workers, tasks and events in Go. Stars:72.
  • go-mysql-lock - MySQL based distributed lock. Stars:61.
  • capillaries - distributed batch data processing framework. Stars:60.
  • flowgraph - flow-based programming package. Stars:59.
  • drmaa - Job submission library for cluster schedulers based on the DRMAA standard. Stars:48.
  • go-pdu - A decentralized identity-based social network. Stars:47.
  • consistenthash - Consistent hashing with configurable replicas. Stars:27.
  • gmsec - A Go distributed systems development framework. Stars:25.
  • dynatomic - A library for using DynamoDB as an atomic counter. Stars:17.
  • failured - adaptive accrual failure detector for distributed systems. Stars:12.
  • bedrock - Provides a minimal, modular and composable foundation for quickly developing services and more use case specific frameworks in Go. Stars:4.
  • resgate - Realtime API Gateway for building REST, real time, and RPC APIs, where all clients are synchronized seamlessly.
  • pjrpc - Golang JSON-RPC Server-Client with Protobuf spec.
  • pglock - PostgreSQL-backed distributed locking implementation.
  • dynamolock - DynamoDB-backed distributed locking implementation.

⬆ back to top

Dynamic DNS

Tools for updating dynamic DNS records.

  • GoDNS - A dynamic DNS client tool, supports DNSPod & HE.net, written in Go. Stars:1.5K.
  • DDNS - Personal DDNS client with Digital Ocean Networking DNS as backend. Stars:250.
  • 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.

⬆ back to top

Email

Libraries and tools that implement email creation and sending.

  • MailHog - Email and SMTP testing with web and API interface. Stars:13.8K.
  • Mailpit - Email and SMTP testing tool for developers. Stars:5.3K.
  • Maddy - All-in-one (SMTP, IMAP, DKIM, DMARC, MTA-STS, DANE) email server Stars:5.0K.
  • hermes - Golang package that generates clean, responsive HTML e-mails. Stars:2.8K.
  • email - A robust and flexible email library for Go. Stars:2.6K.
  • go-imap - IMAP library for clients and servers. Stars:2.1K.
  • email-verifier - A Go library for email verification without sending any emails. Stars:1.2K.
  • SendGrid - SendGrid's Go library for sending email. Stars:974.
  • mailgun-go - Go library for sending mail with the Mailgun API. Stars:692.
  • go-simple-mail - Very simple package to send emails with SMTP Keep Alive and two timeouts: Connect and Send. Stars:636.
  • go-mail - A simple Go library for sending mails in Go. Stars:551.
  • go-message - Streaming library for the Internet Message Format and mail messages. Stars:377.
  • douceur - CSS inliner for your HTML emails. Stars:244.
  • Hectane - Lightweight SMTP client providing an HTTP API. Stars:224.
  • mailchain - Send encrypted emails to blockchain addresses written in Go. Stars:143.
  • go-premailer - Inline styling for HTML mail in Go. Stars:137.
  • smtpmock - Lightweight configurable multithreaded fake SMTP server. Mimic any SMTP behaviour for your test environment. Stars:123.
  • truemail-go - Configurable Golang email validator/verifier. Verify email via Regex, DNS, SMTP and even more. Stars:100.
  • go-dkim - DKIM library, to sign & verify email. Stars:96.
  • smtp - SMTP server protocol state machine. Stars:74.
  • go-email-normalizer - Golang library for providing a canonical representation of email address. Stars:64.
  • go-email-validator - Modular email validator for syntax, disposable, smtp, etc... checking. Stars:52.
  • 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. Stars:19.
  • chasquid - SMTP server written in Go.

⬆ back to top

Embeddable Scripting Languages

Embedding other languages inside your go code.

  • gopher-lua - Lua 5.1 VM and compiler written in Go. Stars:6.2K.
  • expr - Expression evaluation engine for Go: fast, non-Turing complete, dynamic typing, static typing. Stars:6.1K.
  • goja - ECMAScript 5.1(+) implementation in Go. Stars:5.3K.
  • tengo - Bytecode compiled script language for Go. Stars:3.5K.
  • go-lua - Port of the Lua 5.2 VM to pure Go. Stars:3.1K.
  • starlark-go - Go implementation of Starlark: Python-like language with deterministic evaluation and hermetic execution. Stars:2.3K.
  • cel-go - Fast, portable, non-Turing complete expression evaluation with gradual typing. Stars:2.2K.
  • metacall - Cross-platform Polyglot Runtime which supports NodeJS, JavaScript, TypeScript, Python, Ruby, C#, WebAssembly, Java, Cobol and more. Stars:1.5K.
  • go-python - naive go bindings to the CPython C-API. Stars:1.5K.
  • anko - Scriptable interpreter written in Go. Stars:1.5K.
  • Wa/凹语言 - The Wa Programming Language embedded in Go. Stars:1.0K.
  • go-php - PHP bindings for Go. Stars:924.
  • go-duktape - Duktape JavaScript engine bindings for Go. Stars:777.
  • gval - A highly customizable expression language written in Go. Stars:723.
  • golua - Go bindings for Lua C API. Stars:637.
  • prolog - Embeddable Prolog. Stars:564.
  • gisp - Simple LISP in Go. Stars:512.
  • gentee - Embeddable scripting programming language. Stars:133.
  • binder - Go to Lua binding library, based on gopher-lua. Stars:74.
  • purl - Perl 5.18.2 embedded in Go. Stars:41.
  • ecal - A simple embeddable scripting language which supports concurrent event processing. Stars:41.
  • ngaro - Embeddable Ngaro VM implementation enabling scripting in Retro. Stars:28.
  • starlet - Go wrapper for starlark-go that simplifies script execution, offers data conversion, and useful Starlark libraries and extensions. Stars:16.
  • goal - An embeddable scripting array language.

⬆ back to top

Error Handling

Libraries for handling errors.

  • go-multierror - Go (golang) package for representing a list of errors as a single error. Stars:2.3K.
  • errors - Go error library with error portability over the network. Stars:2.1K.
  • eris - A better way to handle, trace, and log errors in Go. Compatible with the standard error library and github.com/pkg/errors. Stars:1.5K.
  • errorx - A feature rich error package with stack traces, composition of errors and more. Stars:1.1K.
  • tracerr - Golang errors with stack trace and source fragments. Stars:970.
  • errlog - Hackable package that determines responsible source code for an error (and some other fast-debugging features). Pluggable to any logger in-place. Stars:459.
  • oops - Error handling with context, stack trace and source fragments. Stars:345.
  • emperror - Error handling tools and best practices for Go libraries and applications. Stars:337.
  • errors - Drop-in replacement for the standard library errors package and github.com/pkg/errors. Provides various error handling primitives. Stars:192.
  • Fault - An ergonomic mechanism for wrapping errors in order to facilitate structured metadata and context for error values. Stars:158.
  • errors - Drop-in replacement for builtin Go errors. This is a minimal error handling package with custom error types, user friendly messages, Unwrap & Is. With very easy to use and straightforward helper functions. Stars:62.
  • exception - A simple utility package for exception handling with try-catch in Golang. Stars:30.
  • Falcon - A Simple Yet Highly Powerful Package For Error Handling. Stars:11.
  • errors - The most simple error wrapper with awesome performance and minimal memory overhead. Stars:7.
  • errors - Simple golang error handling with classification primitives. Stars:6.
  • errors - Providing errors with a stack trace and optional structured details. Compatible with github.com/pkg/errors API but does not use it internally.

⬆ back to top

File Handling

Libraries for handling files and file systems.

  • pdfcpu - PDF processor. Stars:6.6K.
  • afero - FileSystem Abstraction System for Go. Stars:5.9K.
  • gdu - Disk usage analyzer with console interface. Stars:3.8K.
  • notify - File system event notification library with simple API, similar to os/signal. Stars:900.
  • copy - Copy directory recursively. Stars:711.
  • gofs - A cross-platform real-time file synchronization tool out of the box. Stars:456.
  • afs - Abstract File Storage (mem, scp, zip, tar, cloud: s3, gs) for Go. Stars:301.
  • vfs - A pluggable, extensible, and opinionated set of filesystem functionality for Go across a number of filesystem types such as os, S3, and GCS. Stars:294.
  • iso9660 - A package for reading and creating ISO9660 disk images Stars:256.
  • bigfile - A file transfer system, support to manage files with http api, rpc call and ftp client. Stars:251.
  • 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, ...). Stars:243.
  • go-csv-tag - Load csv file using tag. Stars:119.
  • parquet - Read and write parquet files. Stars:104.
  • checksum - Compute message digest, like MD5, SHA256, SHA1, CRC or BLAKE2s, for large files. Stars:102.
  • skywalker - Package to allow one to concurrently go through a filesystem with ease. Stars:99.
  • opc - Load Open Packaging Conventions (OPC) files for Go. Stars:75.
  • baraka - A library to process http file uploads easily. Stars:54.
  • go-gtfs - Load gtfs files in go. Stars:44.
  • flop - File operations library which aims to mirror feature parity with GNU cp. Stars:33.
  • gut/yos - Simple and reliable package for file operations like copy/move/diff/list on files, directories and symbolic links. Stars:27.
  • higgs - A tiny cross-platform Go library to hide/unhide files and directories. Stars:23.
  • todotxt - Go library for Gina Trapani's todo.txt files, supports parsing and manipulating of task lists in the todo.txt format. Stars:23.
  • go-decent-copy - Copy files for humans. Stars:22.
  • pathtype - Treat paths as their own type instead of using strings. Stars:13.
  • stl - Modules to read and write STL (stereolithography) files. Concurrent algorithm for reading.

⬆ back to top

Financial

Packages for accounting and finance.

  • decimal - Arbitrary-precision fixed-point decimal numbers. Stars:6.2K.
  • ticker - Terminal stock watcher and stock position tracker. Stars:4.9K.
  • go-money - Implementation of Fowler's Money pattern. Stars:1.6K.
  • bbgo - A crypto trading bot framework written in Go. Including common crypto exchange API, standard indicators, back-testing and many built-in strategies. Stars:1.2K.
  • accounting - money and currency formatting for golang. Stars:876.
  • techan - Technical analysis library with advanced market analysis and trading strategies. Stars:821.
  • currency - Handles currency amounts, provides currency information and formatting. Stars:529.
  • ach - A reader, writer, and validator for Automated Clearing House (ACH) files. Stars:451.
  • orderbook - Matching Engine for Limit Order Book in Golang. Stars:420.
  • go-finance - Library of financial functions for time value of money (annuities), cash flow, interest rate conversions, bonds and depreciation calculations. Stars:173.
  • sleet - One unified interface for multiple Payment Service Providers (PsP) to process online payment. Stars:140.
  • ofxgo - Query OFX servers and/or parse the responses (with example command-line client). Stars:138.
  • transaction - Embedded transactional database of accounts, running in multithreaded mode. Stars:133.
  • vat - VAT number validation & EU VAT rates. Stars:112.
  • 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. Stars:90.
  • payme - QR code generator (ASCII & PNG) for SEPA payments. Stars:85.
  • decimal - Immutable decimal numbers with panic-free arithmetic. Stars:60.
  • currency - High performant & accurate currency computation package. Stars:60.
  • fpdecimal - Fast and precise serialization and arithmetic for small fixed-point decimals Stars:30.
  • fpmoney - Fast and simple ISO4217 fixed-point decimal money. Stars:27.
  • go-finance - Module to fetch exchange rates, check VAT numbers via VIES and check IBAN bank account numbers. Stars:27.
  • money - Immutable monetary amounts and exchange rates with panic-free arithmetic. Stars:19.
  • go-nowpayments - Library for the crypto NOWPayments API. Stars:3.
  • swift - Offline validity check of IBAN (International Bank Account Number) and retrieval of BIC (for some countries).

⬆ back to top

Forms

Libraries for working with forms.

  • nosurf - CSRF protection middleware for Go. Stars:1.6K.
  • gorilla/csrf - CSRF protection for Go web applications & services. Stars:1.0K.
  • binding - Binds form and JSON data from net/http Request to struct. Stars:795.
  • form - Decodes url.Values into Go value(s) and Encodes Go value(s) into url.Values. Dual Array and Full map support. Stars:750.
  • conform - Keeps user input in check. Trims, sanitizes & scrubs data based on struct tags. Stars:316.
  • httpin - Decode an HTTP request into a custom struct, including querystring, forms, HTTP headers, etc. Stars:297.
  • formam - decode form's values into a struct. Stars:189.
  • forms - Framework-agnostic library for parsing and validating form/JSON data which supports multipart forms and files. Stars:137.
  • qs - Go module for encoding structs into URL query parameters. Stars:75.
  • bind - Bind form data to any Go values. Stars:30.
  • queryparam - Decode url.Values into usable struct values of standard or custom types. Stars:19.
  • checker - Checker helps validating user input through rules defined in struct tags or directly through functions. Stars:9.
  • gbind - Bind data to any Go value. Can use built-in and custom expression binding capabilities; supports data validation Stars:8.

⬆ back to top

Functional

Packages to support functional programming in Go.

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

⬆ back to top

Game Development

Awesome game development libraries.

  • Ebitengine - dead simple 2D game engine in Go. Stars:10.7K.
  • Leaf - Lightweight game server framework. Stars:5.3K.
  • Pixel - Hand-crafted 2D game library in Go. Stars:4.4K.
  • nano - Lightweight, facility, high performance golang based game server framework. Stars:2.8K.
  • g3n - Go 3D Game Engine. Stars:2.7K.
  • goworld - Scalable game server engine, featuring space-entity framework and hot-swapping. Stars:2.6K.
  • Pitaya - Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK. Stars:2.3K.
  • go-sdl2 - Go bindings for the Simple DirectMedia Layer. Stars:2.2K.
  • engo - Engo is an open-source 2D game engine written in Go. It follows the Entity-Component-System paradigm. Stars:1.7K.
  • Oak - Pure Go game engine. Stars:1.5K.
  • raylib-go - Go bindings for raylib, a simple and easy-to-use library to learn videogames programming. Stars:1.5K.
  • termloop - Terminal-based game engine for Go, built on top of Termbox. Stars:1.4K.
  • gonet - Game server skeleton implemented with golang. Stars:1.3K.
  • Azul3D - 3D game engine written in Go. Stars:612.
  • go-astar - Go implementation of the A* path finding algorithm. Stars:592.
  • Harfang3D - 3D engine for the Go language, works on Windows and Linux (Harfang on Go.dev). Stars:556.
  • go3d - Performance oriented 2D/3D math package for Go. Stars:309.
  • tile - Data-oriented and cache-friendly 2D Grid library (TileMap), includes pathfinding, observers and import/export. Stars:151.
  • ecs - Build your own Game-Engine based on the Entity Component System concept in Golang. Stars:111.
  • prototype - Cross-platform (Windows/Linux/Mac) library for creating desktop games using a minimal API. Stars:87.
  • fantasyname - Fantasy names generator. Stars:33.
  • grid - Generic 2D grid with ray-casting, shadow-casting and path finding. Stars:16.

⬆ back to top

Generators

Tools that generate Go code.

  • oapi-codegen - This package contains a set of utilities for generating Go boilerplate code for services based on OpenAPI 3.0 API definitions. Stars:5.9K.
  • go-linq - .NET LINQ-like query methods for Go. Stars:3.5K.
  • jennifer - Generate arbitrary Go code without templates. Stars:3.3K.
  • goderive - Derives functions from input types. Stars:1.2K.
  • GoWrap - Generate decorators for Go interfaces using simple templates. Stars:1.0K.
  • go-enum - Code generation for enums from code comments. Stars:713.
  • goverter - Generate converters by defining an interface. Stars:491.
  • interfaces - Command line tool for generating interface definitions. Stars:421.
  • copygen - Generate type-to-type and type-based code without reflection. Stars:346.
  • gotype - Golang source code parsing, usage like reflect package. Stars:61.
  • generis - Code generation tool providing generics, free-form macros, conditional compilation and HTML templating. Stars:43.
  • convergen - Feature rich type-to-type copy code generator. Stars:35.
  • typeregistry - A library to create type dynamically. Stars:23.

⬆ back to top

Geographic

Geographic tools and servers

  • Tile38 - Geolocation DB with spatial index and realtime geofencing. Stars:9.0K.
  • S2 geometry - S2 geometry library in Go. Stars:1.7K.
  • mbtileserver - A simple Go-based server for map tiles stored in mbtiles format. Stars:636.
  • geoos - A library provides spatial data and geometric algorithms. Stars:610.
  • osm - Library for reading, writing and working with OpenStreetMap data and APIs. Stars:362.
  • H3 - Go bindings for H3, a hierarchical hexagonal geospatial indexing system. Stars:299.
  • simplefeatures - simplesfeatures is a 2D geometry library that provides Go types that model geometries, as well as algorithms that operate on them. Stars:126.
  • godal - Go wrapper for GDAL. Stars:124.
  • WGS84 - Library for Coordinate Conversion and Transformation (ETRS89, OSGB36, NAD83, RGF93, Web Mercator, UTM). Stars:120.
  • geoserver - geoserver Is a Go Package For Manipulating a GeoServer Instance via the GeoServer REST API. Stars:87.
  • gismanager - Publish Your GIS Data(Vector Data) to PostGIS and Geoserver. Stars:53.
  • pbf - OpenStreetMap PBF golang encoder/decoder. Stars:48.
  • S2 geojson - Convert geojson to s2 cells & demonstrating some S2 geometry features on map. Stars:28.
  • 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. Stars:7.
  • H3 GeoJSON - Conversion utilities between H3 indexes and GeoJSON. Stars:3.
  • H3GeoDist - Distribution of Uber H3geo cells by virtual nodes. Stars:2.

⬆ back to top

Go Compilers

Tools for compiling Go to other languages.

  • gopherjs - Compiler from Go to JavaScript. Stars:12.6K.
  • tardisgo - Golang to Haxe to CPP/CSharp/Java/JavaScript transpiler. Stars:432.
  • c4go - Transpile C code to Go code. Stars:363.
  • c2go - Convert C code to Go code. Stars:307.
  • esp32 - Transpile Go into Arduino code. Stars:81.
  • f4go - Transpile FORTRAN 77 code to Go code. Stars:43.

⬆ back to top

Goroutines

Tools for managing and working with Goroutines.

  • ants - A high-performance and low-cost goroutine pool in Go. Stars:12.7K.
  • conc - conc is your toolbelt for structured concurrency in go, making common tasks easier and safer. Stars:8.9K.
  • tunny - Goroutine pool for golang. Stars:3.9K.
  • goworker - goworker is a Go-based background worker. Stars:2.8K.
  • pond - Minimalistic and High-performance goroutine worker pool written in Go. Stars:1.4K.
  • workerpool - Goroutine pool that limits the concurrency of task execution, not the number of tasks queued. Stars:1.3K.
  • grpool - Lightweight Goroutine pool. Stars:743.
  • pool - Limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation. Stars:724.
  • gowp - gowp is concurrency limiting goroutine pool. Stars:493.
  • rill - Go concurrency with channel transformations. No boilerplate, type safety, batching and error handling. Stars:487.
  • flowmatic - Structured concurrency made easy. Stars:355.
  • go-floc - Orchestrate goroutines with ease. Stars:269.
  • go-flow - Control goroutines execution order. Stars:220.
  • 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. Stars:216.
  • async - An alternative sync library for Go (Future, Promise, Locks). Stars:213.
  • artifex - Simple in-memory job queue for Golang using worker-based dispatching. Stars:199.
  • semaphore - Fast resizable semaphore implementation based on CAS (faster than channel-based semaphore implementations). Stars:171.
  • go-workers - Easily and safely run workers for large data processing pipelines. Stars:164.
  • neilotoole/errgroup - Drop-in alternative to sync/errgroup, limited to a pool of N worker goroutines. Stars:159.
  • cyclicbarrier - CyclicBarrier for golang. Stars:140.
  • go-actor - A tiny library for writing concurrent programs using actor model. Stars:137.
  • async - A safe way to execute functions asynchronously, recovering them in case of panic. Stars:135.
  • gollback - asynchronous simple function utilities, for managing execution of closures and callbacks. Stars:121.
  • threadpool - Golang threadpool implementation. Stars:102.
  • Hunch - Hunch provides functions like: All, First, Retry, Waterfall etc., that makes asynchronous flow control more intuitive. Stars:102.
  • semaphore - Semaphore pattern implementation with timeout of lock/unlock operations based on channel and context. Stars:101.
  • worker-pool - goworker is a Go simple async worker pool. Stars:92.
  • gpool - manages a resizeable pool of context-aware goroutines to bound concurrency. Stars:90.
  • goccm - Go Concurrency Manager package limits the number of goroutines that allowed to run concurrently. Stars:70.
  • 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. Stars:69.
  • nursery - Structured concurrency in Go. Stars:64.
  • routine - go routine control with context, support: Main, Go, Pool and some useful Executors. Stars:61.
  • gohive - A highly performant and easy to use Goroutine pool for Go. Stars:52.
  • kyoo - Provides an unlimited job queue and concurrent worker pools. Stars:50.
  • go-waitgroup - Like sync.WaitGroup with error handling and concurrency control. Stars:48.
  • parallel-fn - Run functions in parallel. Stars:36.
  • go-trylock - TryLock support on read-write lock for Golang. Stars:35.
  • channelify - Transform your function to return channels for easy and powerful parallel processing. Stars:31.
  • stl - Software transactional locks based on Software Transactional Memory (STM) concurrency control mechanism. Stars:30.
  • 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. Stars:22.
  • breaker - Flexible mechanism to make execution flow interruptible. Stars:18.
  • concurrency-limiter - Concurrency limiter with support for timeouts, dynamic priority and context cancellation of goroutines. Stars:17.
  • 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. Stars:16.
  • go-tools/multithreading - Manage a pool of goroutines using this lightweight library with a simple API. Stars:15.
  • go-workerpool - Inspired from Java Thread Pool, Go WorkerPool aims to control heavy Go Routines. Stars:12.
  • hands - A process controller used to control the execution and return strategies of multiple goroutines. Stars:10.
  • async-job - AsyncJob is an asynchronous queue job manager with light code, clear and speed. Stars:10.
  • go-accumulator - Solution for accumulation of events and their subsequent processing. Stars:7.
  • async - An asynchronous task package with async/await style for Go. Stars:3.
  • oversight - Oversight is a complete implementation of the Erlang supervision trees.

⬆ back to top

GUI

Libraries for building GUI Applications.

Toolkits

  • fyne - Cross platform native GUIs designed for Go based on Material Design. Supports: Linux, macOS, Windows, BSD, iOS and Android. Stars:24.4K.
  • webview - Cross-platform webview window with simple two-way JavaScript bindings (Windows / macOS / Linux). Stars:12.5K.
  • qt - Qt binding for Go (support for Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi). Stars:10.4K.
  • ui - Platform-native GUI library for Go. Cross platform. Stars:8.3K.
  • app - Package to create apps with GO, HTML and CSS. Supports: MacOS, Windows in progress. Stars:7.9K.
  • walk - Windows application library kit for Go. Stars:6.8K.
  • DarwinKit - Build native macOS applications using Go. Stars:4.9K.
  • go-sciter - Go bindings for Sciter: the Embeddable HTML/CSS/script engine for modern desktop UI development. Cross platform. Stars:2.6K.
  • gotk3 - Go bindings for GTK3. Stars:2.1K.
  • Cogent Core - A framework for building 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the web. Stars:1.7K.
  • Spot - Reactive, cross-platform desktop GUI toolkit. Stars:1.1K.
  • gowd - Rapid and simple desktop UI development with GO, HTML, CSS and NW.js. Cross platform. Stars:426.
  • energy - Cross-platform based on LCL(Native System UI Control Library) and CEF(Chromium Embedded Framework) (Windows/ macOS / Linux) Stars:358.
  • unison - A unified graphical user experience toolkit for Go desktop applications. macOS, Windows, and Linux are supported. Stars:183.
  • goradd/html5tag - Library for outputting HTML5 tags. Stars:10.
  • Goey - Cross platform UI toolkit aggregator for Windows / Linux / Mac. GTK, Cocoa, Windows API
  • Wails - Mac, Windows, Linux desktop apps with HTML UI using built-in OS HTML renderer.
  • go-gtk - Go bindings for GTK.
  • 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.

Interaction

  • robotgo - Go Native cross-platform GUI system automation. Control the mouse, keyboard and other. Stars:9.5K.
  • systray - Cross platform Go library to place an icon and menu in the notification area. Stars:3.2K.
  • zenity - Cross-platform Go library and CLI to create simple dialogs that interact graphically with the user. Stars:698.
  • gosx-notifier - OSX Desktop Notifications library for Go. Stars:586.
  • trayhost - Cross-platform Go library to place an icon in the host operating system's taskbar. Stars:252.
  • mac-sleep-notifier - OSX Sleep/Wake notifications in golang. Stars:32.
  • mac-activity-tracker - OSX library to notify about any (pluggable) activity on your machine. Stars:28.
  • AppIndicator Go - Go bindings for libappindicator3 C library. Stars:5.

⬆ back to top

Hardware

Libraries, tools, and tutorials for interacting with hardware.

  • arduino-cli - Official Arduino CLI and library. Can run standalone, or be incorporated into larger Go projects. Stars:4.3K.
  • go-rpio - GPIO for Go, doesn't require cgo. Stars:2.2K.
  • ghw - Golang hardware discovery/inspection library. Stars:1.6K.
  • emgo - Go-like language for programming embedded systems (e.g. STM32 MCU). Stars:1.1K.
  • sysinfo - A pure Go library providing Linux OS / kernel / hardware system information. Stars:516.
  • goroslib - Robot Operating System (ROS) library for Go. Stars:319.
  • go-osc - Open Sound Control (OSC) bindings for Go. Stars:198.
  • joystick - a polled API to read the state of an attached joystick. Stars:59.

⬆ back to top

Images

Libraries for manipulating images.

  • gocv - Go package for computer vision using OpenCV 3.3+. Stars:6.5K.
  • imaginary - Fast and simple HTTP microservice for image resizing. Stars:5.5K.
  • imaging - Simple Go image processing package. Stars:5.2K.
  • gg - 2D rendering in pure Go. Stars:4.4K.
  • bild - Collection of image processing algorithms in pure Go. Stars:4.0K.
  • imagor - Fast, secure image processing server and Go library, using libvips. Stars:3.3K.
  • ln - 3D line art rendering in Go. Stars:3.3K.
  • gowitness - Screenshoting webpages using go and headless chrome on command line. Stars:2.9K.
  • bimg - Small package for fast and efficient image processing using libvips. Stars:2.6K.
  • svgo - Go Language Library for SVG generation. Stars:2.1K.
  • picfit - An image resizing server written in Go. Stars:2.1K.
  • pt - Path tracing engine written in Go. Stars:2.1K.
  • smartcrop - Finds good crops for arbitrary images and crop sizes. Stars:1.8K.
  • imagick - Go binding to ImageMagick's MagickWand C API. Stars:1.7K.
  • gift - Package of image processing filters. Stars:1.7K.
  • canvas - Vector graphics to PDF, SVG or rasterized image. Stars:1.5K.
  • geopattern - Create beautiful generative image patterns from a string. Stars:1.3K.
  • govips - A lightning fast image processing and resizing library for Go. Stars:1.2K.
  • stegify - Go tool for LSB steganography, capable of hiding any file within an image. Stars:1.2K.
  • image2ascii - Convert image to ASCII. Stars:856.
  • goimagehash - Go Perceptual image hashing package. Stars:732.
  • govatar - Library and CMD tool for generating funny avatars. Stars:584.
  • draft - Generate High Level Microservice Architecture diagrams for GraphViz using simple YAML syntax. Stars:577.
  • mort - Storage and image processing server written in Go. Stars:506.
  • go-nude - Nudity detection with Go. Stars:410.
  • steganography - Pure Go Library for LSB steganography. Stars:309.
  • gltf - Efficient and robust glTF 2.0 reader, writer and validator. Stars:241.
  • mergi - Tool & Go library for image manipulation (Merge, Crop, Resize, Watermark, Animate). Stars:230.
  • darkroom - An image proxy with changeable storage backends and image processing engines with focus on speed and resiliency. Stars:224.
  • transformimgs - Transformimgs resizes and optimises images for Web using next-generation formats. Stars:217.
  • rez - Image resizing in pure Go and SIMD. Stars:213.
  • go-webp - Library for encode and decode webp pictures, using libwebp. Stars:213.
  • img - Selection of image manipulation tools. Stars:153.
  • go-cairo - Go binding for the cairo graphics library. Stars:142.
  • cameron - An avatar generator for Go. Stars:119.
  • color-extractor - Dominant color extractor with no external dependencies. Stars:91.
  • gridder - A Grid based 2D Graphics library. Stars:76.
  • webp-server - Simple and minimal image server capable of storing, resizing, converting and caching images. Stars:73.
  • go-gd - Go binding for GD library. Stars:58.
  • goimghdr - The imghdr module determines the type of image contained in a file for Go. Stars:40.
  • tga - Package tga is a TARGA image format decoder/encoder. Stars:33.
  • go-webcolors - Port of webcolors library from Python to Go. Stars:27.
  • mpo - Decoder and conversion tool for MPO 3D Photos. Stars:17.
  • scout - Scout is a standalone open source software solution for DIY video security. Stars:15.

⬆ back to top

IoT (Internet of Things)

Libraries for programming devices of the IoT.

  • gobot - Gobot is a framework for robotics, physical computing, and the Internet of Things. Stars:8.9K.
  • flogo - Project Flogo is an Open Source Framework for IoT Edge Apps & Integration. Stars:2.4K.
  • ekuiper - Lightweight data stream processing engine for IoT edge. Stars:1.4K.
  • shifu - Kubernetes native IoT development framework. Stars:1.3K.
  • gatt - Gatt is a Go package for building Bluetooth Low Energy peripherals. Stars:1.1K.
  • connectordb - Open-Source Platform for Quantified Self & IoT. Stars:400.
  • devices - Suite of libraries for IoT devices, experimental for x/exp/io. Stars:263.
  • huego - An extensive Philips Hue client library for Go. Stars:249.
  • sensorbee - Lightweight stream processing engine for IoT. Stars:230.
  • smart-home - Software package for IoT automation. Stars:79.
  • iot - IoT is a simple framework for implementing a Google IoT Core device. Stars:66.
  • eywa - Project Eywa is essentially a connection manager that keeps track of connected devices. Stars:62.
  • mainflux - Industrial IoT Messaging and Device Management Server. Stars:39.
  • periph - Peripherals I/O to interface with low-level board facilities.

⬆ back to top

Job Scheduler

Libraries for scheduling jobs.

  • gocron - Easy and fluent Go job scheduling. This is an actively maintained fork of jasonlvhit/gocron. Stars:5.4K.
  • go-quartz - Simple, zero-dependency scheduling library for Go. Stars:1.8K.
  • Dagu - No-code workflow executor. it executes DAGs defined in a simple YAML format. Stars:1.4K.
  • JobRunner - Smart and featureful cron job scheduler with job queuing and live monitoring built in. Stars:1.0K.
  • gron - Define time-based tasks using a simple Go API and Gron’s scheduler will run them accordingly. Stars:1.0K.
  • jobs - Persistent and flexible background jobs library. Stars:499.
  • scheduler - Cronjobs scheduling made easy. Stars:446.
  • gronx - Cron expression parser, task runner and daemon consuming crontab like task list. Stars:395.
  • Cadence-client - A framework for authoring workflows and activities running on top of the Cadence orchestration engine made by Uber. Stars:345.
  • goflow - A simple but powerful DAG scheduler and dashboard. Stars:337.
  • tasks - An easy to use in-process scheduler for recurring tasks in Go. Stars:287.
  • 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. Stars:228.
  • clockwerk - Go package to schedule periodic jobs using a simple, fluent syntax. Stars:144.
  • cheek - A simple crontab like scheduler that aims to offer a KISS approach to job scheduling. Stars:142.
  • leprechaun - Job scheduler that supports webhooks, crons and classic scheduling. Stars:103.
  • cdule - Job scheduler library with database support Stars:48.
  • sched - A job scheduler with the ability to fast-forward time. Stars:28.
  • go-dag - A framework developed in Go that manages the execution of workflows described by directed acyclic graphs. Stars:17.
  • cronticker - A ticker implementation to support cron schedules. Stars:16.

⬆ back to top

JSON

Libraries for working with JSON.

  • GJSON - Get a JSON value with one line of code. Stars:14.1K.
  • gabs - For parsing, creating and editing unknown or dynamic JSON in Go. Stars:3.4K.
  • gojson - Automatically generate Go (golang) struct definitions from example JSON. Stars:2.7K.
  • fastjson - Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection. Stars:2.2K.
  • OjG - Optimized JSON for Go is a high performance parser with a variety of additional JSON tools including JSONPath. Stars:831.
  • jsondiff - JSON diff library for Go based on RFC6902 (JSON Patch). Stars:510.
  • marshmallow - Performant JSON unmarshalling for flexible use cases. Stars:372.
  • kazaam - API for arbitrary transformation of JSON documents. Stars:275.
  • ajson - Abstract JSON for golang with JSONPath support. Stars:227.
  • gojq - JSON query in Golang. Stars:190.
  • jsonvalue - A fast and convenient library for unstructured JSON data, replacing encoding/json. Stars:185.
  • jettison - Fast and flexible JSON encoder for Go. Stars:172.
  • json2go - Advanced JSON to Go struct conversion. Provides package that can parse multiple JSON documents and create struct to fit them all. Stars:130.
  • gjo - Small utility to create JSON objects. Stars:125.
  • jsongo - Fluent API to make it easier to create Json objects. Stars:109.
  • JayDiff - JSON diff utility written in Go. Stars:106.
  • jscan - High performance zero-allocation JSON iterator. Stars:88.
  • ujson - Fast and minimal JSON parser and transformer that works on unstructured JSON. Stars:76.
  • jsonf - Console tool for highlighted formatting and struct query fetching JSON. Stars:65.
  • go-respond - Go package for handling common HTTP JSON responses. Stars:53.
  • mp - Simple cli email parser. It currently takes stdin and outputs JSON. Stars:47.
  • jsoncolor - Drop-in replacement for encoding/json that outputs colorized JSON. Stars:44.
  • 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. Stars:44.
  • vjson - Go package for validating JSON objects with declaring a JSON schema with fluent API. Stars:40.
  • gojmapr - Get simple struct from complex json by json path. Stars:22.
  • mapslice-json - Go MapSlice for ordered marshal/ unmarshal of maps in JSON. Stars:19.
  • dynjson - Client-customizable JSON formats for dynamic APIs. Stars:16.
  • go-jsonerror - Go-JsonError is meant to allow us to easily create json response errors that follow the JsonApi spec. Stars:15.
  • jsonhal - Simple Go package to make custom structs marshal into HAL compatible JSON responses. Stars:14.
  • epoch - Contains primitives for marshaling/unmarshalling Unix timestamp/epoch to/from build-in time.Time type in JSON. Stars:14.
  • jsonapi-errors - Go bindings based on the JSON API errors reference. Stars:14.
  • jsonic - Utilities to handle and query JSON without defining structs in a type safe manner. Stars:11.
  • jzon - JSON library with standard compatible API/behavior. Stars:11.
  • ej - Write and read JSON from different sources succinctly. Stars:10.
  • htmljson - Rich rendering of JSON as HTML in Go. Stars:7.
  • omg.jsonparser - Simple JSON parser with validation by condition via golang struct fields tags. Stars:6.
  • jsonhandlers - JSON library to expose simple handlers that lets you easily read and write json from various sources. Stars:2.
  • JSON-to-Proto - Convert JSON to Protobuf online.
  • JSON-to-Go - Convert JSON to Go struct.

⬆ back to top

Logging

Libraries for generating and working with log files.

  • logrus - Structured logger for Go. Stars:24.5K.
  • zap - Fast, structured, leveled logging in Go. Stars:21.6K.
  • zerolog - Zero-allocation JSON logger. Stars:10.3K.
  • spew - Implements a deep pretty printer for Go data structures to aid in debugging. Stars:6.0K.
  • lumberjack - Simple rolling logger, implements io.WriteCloser. Stars:4.8K.
  • glog - Leveled execution logs for Go. Stars:3.5K.
  • tail - Go package striving to emulate the features of the BSD tail program. Stars:2.7K.
  • pp - Colored pretty printer for Go language. Stars:1.8K.
  • seelog - Logging functionality with flexible dispatching, filtering, and formatting. Stars:1.6K.
  • log - Structured logging package for Go. Stars:1.4K.
  • log15 - Simple, powerful logging for Go. Stars:1.1K.
  • tint - A slog.Handler that writes tinted logs. Stars:704.
  • phuslu/log - High performance structured logging. Stars:653.
  • 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. Stars:414.
  • httpretty - Pretty-prints your regular HTTP requests on your terminal for debugging (similar to http.DumpRequest). Stars:390.
  • slog - Lightweight, configurable, extensible logger for Go. Stars:380.
  • logutils - Utilities for slightly better logging in Go (Golang) extending the standard logger. Stars:368.
  • logxi - 12-factor app logger that is fast and makes you happy. Stars:358.
  • sqldb-logger - A logger for Go SQL database driver without modify existing *sql.DB stdlib usage. Stars:350.
  • slog-multi - Chain of slog.Handler (pipeline, fanout...). Stars:333.
  • rollingwriter - RollingWriter is an auto-rotate io.Writer implementation with multi policies to provide log file rotation. Stars:295.
  • log - Simple, configurable and scalable Structured Logging for Go. Stars:292.
  • go-logger - Simple logger of Go Programs, with level handlers. Stars:287.
  • 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). Stars:201.
  • glg - glg is simple and fast leveled logging library for Go. Stars:189.
  • logger - Minimalistic logging library for Go. Stars:158.
  • xlog - Structured logger for net/context aware HTTP handlers with flexible dispatching. Stars:138.
  • ozzo-log - High performance logging supporting log severity, categorization, and filtering. Can send filtered log messages to various targets (e.g. console, network, mail). Stars:122.
  • slog-formatter - Common formatters for slog and helpers to build your own. Stars:104.
  • log-voyage - Full-featured logging saas written in golang. Stars:94.
  • go-cronowriter - Simple writer that rotate log files automatically based on current date and time, like cronolog. Stars:56.
  • gone/log - Fast, extendable, full-featured, std-lib source compatible log library. Stars:48.
  • stdlog - Stdlog is an object-oriented library providing leveled logging. It is very useful for cron jobs. Stars:47.
  • 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. Stars:44.
  • logex - Golang log lib, supports tracking and level, wrap by standard log lib. Stars:43.
  • go-log - Log4j implementation in Go. Stars:43.
  • journald - Go implementation of systemd Journal's native API for logging. Stars:38.
  • mlog - Simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output. Stars:34.
  • go-log - Log lib supports level and multi handlers. Stars:34.
  • distillog - distilled levelled logging (think of it as stdlib + log levels). Stars:31.
  • logrusly - logrus plug-in to send errors to a Loggly. Stars:28.
  • zkits-logger - A powerful zero-dependency JSON logger. Stars:26.
  • log - Structured log interface for Go cleanly separates logging facade from its implementation. Stars:26.
  • zax - Integrate Context with Zap logger, which leads to more flexibility in Go logging. Stars:21.
  • gomol - Multiple-output, structured logging for Go with extensible logging outputs. Stars:19.
  • xylog - Leveled and structured logging, dynamic fields, high performance, zone management, simple configuration, and readable syntax. Stars:16.
  • log - Simple leveled logging wrapper around standard log package. Stars:16.
  • logrusiowriter - io.Writer implementation using logrus logger. Stars:16.
  • glo - PHP Monolog inspired logging facility with identical severity levels. Stars:15.
  • go-log - Simple and configurable Logging in Go, with level, formatters and writers. Stars:14.
  • kemba - A tiny debug logging tool inspired by debug, great for CLI tools and applications. Stars:13.
  • logdump - Package for multi-level logging. Stars:11.
  • logo - Golang logger to different configurable writers. Stars:11.
  • 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). Stars:10.
  • go-log - A logging library with stack traces, object dumping and optional timestamps. Stars:10.
  • xlog - Plugin architecture and flexible log system for Go, with level ctrl, multiple log target and custom log format. Stars:8.
  • structy/log - A simple to use log system, minimalist but with features for debugging and differentiation of messages. Stars:5.
  • zl - High Developer Experience, zap based logger. It offers rich functionality but is easy to configure. Stars:5.
  • 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. Stars:3.
  • log - A simple logging framework out of the box. Stars:3.
  • yell - Yet another minimalistic logging library. Stars:1.
  • slogor - A colorful slog handler.

⬆ back to top

Machine Learning

Libraries for Machine Learning.

  • GoLearn - General Machine Learning library for Go. Stars:9.3K.
  • gorse - An offline recommender system backend based on collaborative filtering written in Go. Stars:8.4K.
  • gorgonia - graph-based computational library like Theano for Go that provides primitives for building various machine learning and neural network algorithms. Stars:5.5K.
  • 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. Stars:2.8K.
  • gosseract - Go package for OCR (Optical Character Recognition), by using Tesseract C++ library. Stars:2.6K.
  • 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. Stars:2.4K.
  • goml - On-line Machine Learning in Go. Stars:1.6K.
  • eaopt - An evolutionary optimization library. Stars:881.
  • bayesian - Naive Bayesian Classification for Golang. Stars:800.
  • CloudForest - Fast, flexible, multi-threaded ensembles of decision trees for machine learning in pure Go. Stars:737.
  • ocrserver - A simple OCR API server, seriously easy to be deployed by Docker and Heroku. Stars:684.
  • onnx-go - Go Interface to Open Neural Network Exchange (ONNX). Stars:666.
  • gobrain - Neural Networks written in go. Stars:558.
  • go-deep - A feature-rich neural network library in Go. Stars:531.
  • regommend - Recommendation & collaborative filtering engine. Stars:311.
  • Goptuna - Bayesian optimization framework for black-box functions written in Go. Everything will be optimized. Stars:256.
  • hugot - Huggingface transformer pipelines for golang with onnxruntime. Stars:247.
  • goga - Genetic algorithm library for Go. Stars:217.
  • goRecommend - Recommendation Algorithms library written in Go. Stars:204.
  • go-galib - Genetic Algorithms library written in Go / golang. Stars:199.
  • shield - Bayesian text classifier with flexible tokenizers and storage backends for Go. Stars:156.
  • go-featureprocessing - Fast and convenient feature processing for low latency machine learning in Go. Stars:117.
  • go-fann - Go bindings for Fast Artificial Neural Networks(FANN) library. Stars:116.
  • goscore - Go Scoring API for PMML. Stars:97.
  • GoMind - A simplistic Neural Network Library in Go. Stars:83.
  • gonet - Neural Network for Go. Stars:82.
  • fonet - A Deep Neural Network library written in Go. Stars:82.
  • libsvm - libsvm golang version derived work based on LIBSVM 3.14. Stars:73.
  • neat - Plug-and-play, parallel Go framework for NeuroEvolution of Augmenting Topologies (NEAT). Stars:71.
  • neural-go - Multilayer perceptron network implemented in Go, with training via backpropagation. Stars:68.
  • go-pr - Pattern recognition package in Go lang. Stars:65.
  • Varis - Golang Neural Network. Stars:54.
  • randomforest - Easy to use Random Forest library for Go. Stars:45.
  • golinear - liblinear bindings for Go. Stars:45.
  • go-cluster - Go implementation of the k-modes and k-prototypes clustering algorithms. Stars:42.
  • godist - Various probability distributions, and associated methods. Stars:38.
  • ddt - Dynamic decision tree, create trees defining customizable rules. Stars:35.
  • evoli - Genetic Algorithm and Particle Swarm Optimization library. Stars:31.
  • probab - Probability distribution functions. Bayesian inference. Written in pure Go. Stars:20.

⬆ back to top

Messaging

Libraries that implement messaging systems.

  • sarama - Go library for Apache Kafka. Stars:11.4K.
  • Asynq - A simple, reliable, and efficient distributed task queue for Go built on top of Redis. Stars:9.3K.
  • Centrifugo - Real-time messaging (Websockets or SockJS) server in Go. Stars:8.3K.
  • gorush - Push notification server using APNs2 and google GCM. Stars:7.9K.
  • machinery - Asynchronous task queue/job queue based on distributed message passing. Stars:7.5K.
  • Watermill - Working efficiently with message streams. Building event driven applications, enabling event sourcing, RPC over messages, sagas. Can use conventional pub/sub implementations like Kafka or RabbitMQ, but also HTTP or MySQL binlog. Stars:7.2K.
  • go-socket.io - socket.io library for golang, a realtime application framework. Stars:5.7K.
  • NATS Go Client - Lightweight and high performance publish-subscribe and distributed queueing messaging system - this is the Go library. Stars:5.4K.
  • Confluent Kafka Golang Client - confluent-kafka-go is Confluent's Golang client for Apache Kafka and the Confluent Platform. Stars:4.6K.
  • Mercure - Server and library to dispatch server-sent updates using the Mercure protocol (built on top of Server-Sent Events). Stars:3.9K.
  • melody - Minimalist framework for dealing with websocket sessions, includes broadcasting and automatic ping/pong handling. Stars:3.7K.
  • APNs2 - HTTP/2 Apple Push Notification provider for Go — Send push notifications to iOS, tvOS, Safari and OSX apps. Stars:3.0K.
  • go-nsq - the official Go package for NSQ. Stars:2.6K.
  • gopush-cluster - gopush-cluster is a go push server cluster. Stars:2.1K.
  • EventBus - The lightweight event bus with async compatibility. Stars:1.7K.
  • Beaver - A real time messaging server to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps. Stars:1.5K.
  • Uniqush-Push - Redis backed unified push service for server-side notifications to mobile devices. Stars:1.5K.
  • amqp - Go RabbitMQ Client Library. Stars:1.4K.
  • Chanify - A push notification server send message to your iOS devices. Stars:1.3K.
  • zmq4 - Go interface to ZeroMQ version 4. Also available for version 3 and version 2. Stars:1.2K.
  • dbus - Native Go bindings for D-Bus. Stars:971.
  • Gollum - A n:m multiplexer that gathers messages from different sources and broadcasts them to a set of destinations. Stars:938.
  • mangos - Pure go implementation of the Nanomsg ("Scalability Protocols") with transport interoperability. Stars:667.
  • golongpoll - HTTP longpoll server library that makes web pub-sub simple. Stars:655.
  • emitter - Emits events using Go way, with wildcard, predicates, cancellation possibilities and many other good wins. Stars:503.
  • pubsub - Simple pubsub package for go. Stars:424.
  • Glue - Robust Go and Javascript Socket Library (Alternative to Socket.io). Stars:415.
  • Quamina - Fast pattern-matching for filtering messages and events. Stars:379.
  • Bus - Minimalist message bus implementation for internal communication. Stars:334.
  • messagebus - messagebus is a Go simple async message bus, perfect for using as event bus when doing event sourcing, CQRS, DDD. Stars:271.
  • rabtap - RabbitMQ swiss army knife cli app. Stars:257.
  • Go-MediatR - A library for handling mediator patterns and simplified CQRS patterns within an event-driven architecture, inspired by csharp MediatR library. Stars:199.
  • 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. Stars:158.
  • hub - A Message/Event Hub for Go applications, using publish/subscribe pattern with support for alias like rabbitMQ exchanges. Stars:146.
  • redisqueue - redisqueue provides a producer and consumer of a queue that uses Redis streams. Stars:129.
  • oplog - Generic oplog/replication system for REST APIs. Stars:111.
  • rabbitroutine - Lightweight library that handles RabbitMQ auto-reconnect and publishing retries. The library takes into account the need to re-declare entities in RabbitMQ after reconnection. Stars:109.
  • Ratus - Ratus is a RESTful asynchronous task queue server. Stars:106.
  • rabbus - A tiny wrapper over amqp exchanges and queues. Stars:97.
  • go-mq - RabbitMQ client with declarative configuration. Stars:91.
  • drone-line - Sending Line notifications using a binary, docker or Drone CI. Stars:80.
  • nsq-event-bus - A tiny wrapper around NSQ topic and channel. Stars:79.
  • go-notify - Native implementation of the freedesktop notification spec. Stars:69.
  • RapidMQ - RapidMQ is a lightweight and reliable library for managing of the local messages queue. Stars:68.
  • Commander - A high-level event driven consumer/producer supporting various "dialects" such as Apache Kafka. Stars:65.
  • go-res - Package for building REST/real-time services where clients are synchronized seamlessly, using NATS and Resgate. Stars:62.
  • event - Implementation of the pattern observer. Stars:58.
  • hare - A user friendly library for sending messages and listening to TCP sockets. Stars:52.
  • ami - Go client to reliable queues based on Redis Cluster Streams. Stars:28.
  • gosd - A library for scheduling when to dispatch a message to a channel. Stars:24.
  • go-vitotrol - Client library to Viessmann Vitotrol web service. Stars:23.
  • 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. Stars:22.
  • jazz - A simple RabbitMQ abstraction layer for queue administration and publishing and consuming of messages. Stars:18.
  • gaurun-client - Gaurun Client written in Go. Stars:11.
  • go-eventbus - Simple Event Bus package for Go. Stars:4.

⬆ back to top

Microsoft Office

  • unioffice - Pure go library for creating and processing Office Word (.docx), Excel (.xlsx) and Powerpoint (.pptx) documents. Stars:4.3K.
Microsoft Excel

Libraries for working with Microsoft Excel.

  • excelize - Golang library for reading and writing Microsoft Excel™ (XLSX) files. Stars:17.9K.
  • xlsx - Library to simplify reading the XML format used by recent version of Microsoft Excel in Go programs. Stars:5.8K.
  • go-excel - A simple and light reader to read a relate-db-like excel as a table. Stars:191.
  • xlsx - Fast and safe way to read/update your existing Microsoft Excel files in Go programs. Stars:173.
  • exl - Excel binding to struct written in Go.(Only supports Go1.18+) Stars:29.
  • goxlsxwriter - Golang bindings for libxlsxwriter for writing XLSX (Microsoft Excel) files. Stars:21.

⬆ back to top

Miscellaneous

Dependency Injection

Libraries for working with dependency injection.

  • google/wire - Automated Initialization in Go. Stars:12.8K.
  • fx - A dependency injection based application framework for Go (built on top of dig). Stars:5.6K.
  • dig - A reflection based dependency injection toolkit for Go. Stars:3.8K.
  • do - A dependency injection framework based on Generics. Stars:1.8K.
  • GoLobby/Container - GoLobby Container is a lightweight yet powerful IoC dependency injection container for the Go programming language. Stars:553.
  • goioc/di - Spring-inspired Dependency Injection Container. Stars:351.
  • di - A dependency injection container for go programming language. Stars:232.
  • dingo - A dependency injection toolkit for Go, based on Guice. Stars:179.
  • kod - A generics based dependency injection framework for Go. Stars:128.
  • alice - Additive dependency injection container for Golang. Stars:50.
  • wire - Strict Runtime Dependency Injection for Golang. Stars:37.
  • gontainer - A dependency injection service container for Go projects. Stars:36.
  • linker - A reflection based dependency injection and inversion of control library with components lifecycle support. Stars:35.
  • nject - A type safe, reflective framework for libraries, tests, http endpoints, and service startup. Stars:29.
  • gocontainer - Simple Dependency Injection Container. Stars:19.
  • gontainer/gontainer - A YAML-based Dependency Injection container for GO. It supports dependencies' scopes, and auto-detection of circular dependencies. Gontainer is concurrent-safe. Stars:15.
  • kinit - Customizable dependency injection container with the global mode, cascade initialization and panic-safe finalization. Stars:10.
  • HnH/di - DI container library that is focused on clean API and flexibility. Stars:8.
  • ore - Lightweight, generic & simple dependency injection (DI) container. Stars:7.
  • boot-go - Component-based development with dependency injection using reflections for Go developers.
  • cosban/di - A code generation based dependency injection wiring tool.

⬆ back to top

Project Layout

Unofficial set of patterns for structuring projects.

  • golang-standards/project-layout - Set of common historical and emerging project layout patterns in the Go ecosystem. Note: despite the org-name they do not represent official golang standards, see this issue for more information. Nonetheless, some may find the layout useful. Stars:48.1K.
  • ardanlabs/service - A starter kit for building production grade scalable web service applications. Stars:3.5K.
  • go-blueprint - Allows users to spin up a quick Go project using a popular framework. Stars:3.5K.
  • nunu - Nunu is a scaffolding tool for building Go applications. Stars:1.9K.
  • modern-go-application - Go application boilerplate and example applying modern practices. Stars:1.8K.
  • pagoda - Rapid, easy full-stack web development starter kit built in Go. Stars:1.5K.
  • cookiecutter-golang - A Go application boilerplate template for quick starting projects following production best practices. Stars:686.
  • go-starter - An opinionated production-ready RESTful JSON backend template, highly integrated with VSCode DevContainers. Stars:486.
  • golang-templates/seed - Go application GitHub repository template. Stars:460.
  • go-todo-backend - Go Todo Backend example using modular project layout for product microservice. Stars:316.
  • scaffold - Scaffold generates a starter Go project layout. Lets you focus on business logic implemented. Stars:149.
  • go-sample - A sample layout for Go application projects with the real code. Stars:130.
  • gobase - A simple skeleton for golang application with basic setup for real golang application. Stars:60.
  • go-module - Template for a typical module written on Go. Stars:30.
  • wangyoucao577/go-project-layout - Set of practices and discussions on how to structure Go project layout. Stars:26.
  • insidieux/inizio - Golang project layout generator with plugins. Stars:18.

⬆ back to top

Strings

Libraries for working with strings.

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

⬆ back to top

Uncategorized

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

  • gopsutil - Cross-platform library for retrieving process and system utilization(CPU, Memory, Disks, etc). Stars:10.4K.
  • gatus - Automated service health dashboard. Stars:6.0K.
  • gofakeit - Random data generator written in go. Stars:4.4K.
  • archiver - Library and command for making and extracting .zip and .tar.gz archives. Stars:4.3K.
  • go-resiliency - Resiliency patterns for golang. Stars:2.2K.
  • base64Captcha - Base64captch supports digit, number, alphabet, arithmetic, audio and digit-alphabet captcha. Stars:2.1K.
  • gosms - Your own local SMS gateway in Go that can be used to send SMS. Stars:1.4K.
  • go-commons-pool - Generic object pool for Golang. Stars:1.2K.
  • llvm - Library for interacting with LLVM IR in pure Go. Stars:1.2K.
  • shoutrrr - Notification library providing easy access to various messaging services like slack, mattermost, gotify and smtp among others. Stars:947.
  • shortid - Distributed generation of super short, unique, non-sequential, URL friendly IDs. Stars:933.
  • stateless - A fluent library for creating state machines. Stars:920.
  • health - A simple and flexible health check library for Go. Stars:774.
  • xz - Pure golang package for reading and writing xz-compressed files. Stars:470.
  • health - Easy to use, extensible health check library. Stars:452.
  • banner - Add beautiful banners into your Go applications. Stars:447.
  • gountries - Package that exposes country and subdivision data. Stars:407.
  • conv - Package conv provides fast and intuitive conversions across Go types. Stars:385.
  • lk - A simple licensing library for golang. Stars:365.
  • ffmt - Beautify data display for Humans. Stars:305.
  • go-unarr - Decompression library for RAR, TAR, ZIP and 7z archives. Stars:281.
  • healthcheck - An opinionated and concurrent health-check HTTP handler for RESTful services. Stars:267.
  • antch - A fast, powerful and extensible web crawling & scraping framework. Stars:258.
  • battery - Cross-platform, normalized battery information library. Stars:245.
  • bitio - Highly optimized bit-level Reader and Writer for Go. Stars:239.
  • gtree - Provide CLI, Package and Web for tree output and directories creation from Markdown or programmatically. Stars:214.
  • stats - Monitors Go MemStats + System stats such as Memory, Swap and CPU and sends via UDP anywhere you want for logging etc... Stars:170.
  • turtle - Emojis for Go. Stars:158.
  • captcha - Package captcha provides an easy to use, unopinionated API for captcha generation. Stars:153.
  • gommit - Analyze git commit messages to ensure they follow defined patterns. Stars:111.
  • indigo - Distributed unique ID generator of using Sonyflake and encoded by Base58. Stars:109.
  • gotoprom - Type-safe metrics builder wrapper library for the official Prometheus client. Stars:109.
  • faker - Random fake data and struct generator for Go. Stars:91.
  • persian - Some utilities for Persian language in go. Stars:85.
  • morse - Library to convert to and from morse code. Stars:81.
  • pdfgen - HTTP service to generate PDF from Json requests. Stars:70.
  • xkg - X Keyboard Grabber. Stars:56.
  • url-shortener - A modern, powerful, and robust URL shortener microservice with mysql support. Stars:48.
  • datacounter - Go counters for readers/writer/http.ResponseWriter. Stars:48.
  • browscap_go - GoLang Library for Browser Capabilities Project. Stars:48.
  • sandid - Every grain of sand on earth has its own ID. Stars:47.
  • xdg - FreeDesktop.org (xdg) Specs implemented in Go. Stars:41.
  • autoflags - Go package to automatically define command line flags from struct fields. Stars:39.
  • gosh - Provide Go Statistics Handler, Struct, Measure Method. Stars:36.
  • numa - NUMA is a utility library, which is written in go. It help us to write some NUMA-AWARED code. Stars:28.
  • metrics - Library for metrics instrumentation and Prometheus exposition. Stars:27.
  • shellwords - A Golang library to manipulate strings according to the word parsing rules of the UNIX Bourne shell. Stars:24.
  • avgRating - Calculate average score and rating based on Wilson Score Equation. Stars:16.
  • anagent - Minimalistic, pluggable Golang evloop/timer handler with dependency-injection. Stars:15.
  • varint - A faster varying length integer encoder/decoder than the one provided in the standard library. Stars:14.
  • hostutils - A golang library for packing and unpacking FQDNs list. Stars:12.
  • go-commandbus - A slight and pluggable command-bus for Go. Stars:12.
  • faker - Fake data generator. Stars:10.
  • openapi - OpenAPI 3.x parser. Stars:10.
  • goenum - A common enumeration struct based on generics and reflection that allows you to quickly define enumerations and use a set of useful default methods. Stars:9.
  • basexx - Convert to, from, and between digit strings in various number bases. Stars:5.
  • VarHandler - Generate boilerplate http input and output handling. Stars:5.
  • common - A library for server framework. Stars:4.
  • sitemap-format - A simple sitemap generator, with a little syntactic sugar. Stars:4.
  • go-openapi - Collection of packages to parse and utilize open-api schemas.

⬆ back to top

Natural Language Processing

Libraries for working with human languages.

See also Text Processing and Text Analysis.

Language Detection
  • lingua-go - An accurate natural language detection library, suitable for long and short text alike. Supports detecting multiple languages in mixed-language text. Stars:1.1K.
  • whatlanggo - Natural language detection package for Go. Supports 84 languages and 24 scripts (writing systems e.g. Latin, Cyrillic, etc). Stars:637.
  • getlang - Fast natural language detection package. Stars:170.
  • guesslanguage - Functions to determine the natural language of a unicode text. Stars:58.
  • detectlanguage - Language Detection API Go Client. Supports batch requests, short phrase or single word language detection. Stars:25.
Morphological Analyzers
  • spaGO - Self-contained Machine Learning and Natural Language Processing library in Go. Stars:1.7K.
  • kagome - JP morphological analyzer written in pure Go. Stars:813.
  • nlp - Go Natural Language Processing library supporting LSA (Latent Semantic Analysis). Stars:444.
  • nlp - Extract values from strings and fill your structs with nlp. Stars:389.
  • RAKE.go - Go port of the Rapid Automatic Keyword Extraction Algorithm (RAKE). Stars:114.
  • go-stem - Implementation of the porter stemming algorithm. Stars:78.
  • go2vec - Reader and utility functions for word2vec embeddings. Stars:56.
  • porter2 - Really fast Porter 2 stemmer. Stars:46.
  • govader - Go implementation of VADER Sentiment Analysis. Stars:39.
  • snowball - Snowball stemmer port (cgo wrapper) for Go. Provides word stem extraction functionality Snowball native. Stars:38.
  • paicehusk - Golang implementation of the Paice/Husk Stemming Algorithm. Stars:29.
  • golibstemmer - Go bindings for the snowball libstemmer library including porter 2. Stars:20.
  • libtextcat - Cgo binding for libtextcat C library. Guaranteed compatibility with version 2.2. Stars:13.
  • porter - This is a fairly straightforward port of Martin Porter's C implementation of the Porter stemming algorithm. Stars:12.
  • gosentiwordnet - Sentiment analyzer using sentiwordnet lexicon in Go. Stars:10.
  • govader-backend - Microservice implementation of GoVader. Stars:6.
  • spelling-corrector - A spelling corrector for the Spanish language or create your own. Stars:2.
Slugifiers
  • slug - URL-friendly slugify with multiple languages support. Stars:1.1K.
  • go-slugify - Make pretty slug with multiple languages support. Stars:93.
  • Slugify - Go slugify application that handles string. Stars:33.
Tokenizers
  • prose - Library for text processing that supports tokenization, part-of-speech tagging, named-entity extraction, and more. English only. Stars:3.0K.
  • gse - Go efficient text segmentation; support english, chinese, japanese and other. Stars:2.5K.
  • gojieba - This is a Go implementation of jieba which a Chinese word splitting algorithm. Stars:2.4K.
  • sentences - Sentence tokenizer: converts text into a list of sentences. Stars:435.
  • segment - Go library for performing Unicode Text Segmentation as described in Unicode Standard Annex #29 Stars:88.
  • textcat - Go package for n-gram based text categorization, with support for utf-8 and raw text. Stars:72.
  • MMSEGO - This is a GO implementation of MMSEG which a Chinese word splitting algorithm. Stars:63.
  • stemmer - Stemmer packages for Go programming language. Includes English and German stemmers. Stars:52.
  • gotokenizer - A tokenizer based on the dictionary and Bigram language models for Golang. (Now only support chinese segmentation) Stars:20.
  • shamoji - The shamoji is word filtering package written in Go. Stars:13.
Translation
  • go-i18n - Package and an accompanying tool to work with localized text. Stars:2.9K.
  • go-pinyin - CN Hanzi to Hanyu Pinyin converter. Stars:1.6K.
  • gotext - GNU gettext utilities for Go. Stars:432.
  • spreak - Flexible translation and humanization library for Go, based on the concepts behind gettext. Stars:54.
  • iuliia-go - Transliterate Cyrillic → Latin in every possible way. Stars:48.
  • ctxi18n - Context aware i18n with a short and consise API, pluralization, interpolation, and fs.FS support. YAML locale definitions are based on Rails i18n. Stars:32.
  • go-mystem - CGo bindings to Yandex.Mystem - russian morphology analyzer. Stars:32.
  • 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. Stars:19.
  • go-words - A words table and text resource library for Golang projects. Stars:6.
Transliteration
  • go-unidecode - ASCII transliterations of Unicode text. Stars:126.
  • gounidecode - Unicode transliterator (also known as unidecode) for Go. Stars:80.
  • transliterator - Provides one-way string transliteration with supporting of language-specific transliteration rules. Stars:42.
  • enca - Minimal cgo bindings for libenca, which detects character encodings. Stars:16.

⬆ back to top

Networking

Libraries for working with various layers of the network.

  • fasthttp - Package fasthttp is a fast HTTP implementation for Go, up to 10 times faster than net/http. Stars:21.6K.
  • kcptun - Extremely simple & fast udp tunnel based on KCP protocol. Stars:13.9K.
  • webrtc - A pure Go implementation of the WebRTC API. Stars:13.3K.
  • quic-go - An implementation of the QUIC protocol in pure Go. Stars:9.9K.
  • gnet - gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go. Stars:9.4K.
  • dns - Go library for working with DNS. Stars:7.9K.
  • gopacket - Go library for packet processing with libpcap bindings. Stars:6.3K.
  • kcp-go - KCP - Fast and Reliable ARQ Protocol. Stars:4.0K.
  • HTTPLab - HTTPLabs let you inspect HTTP requests and forge responses. Stars:4.0K.
  • netpoll - A high-performance non-blocking I/O networking framework, which focused on RPC scenarios, developed by ByteDance. Stars:4.0K.
  • ssh - Higher-level API for building SSH servers (wraps crypto/ssh). Stars:3.6K.
  • gobgp - BGP implemented in the Go Programming Language. Stars:3.6K.
  • 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. Stars:3.3K.
  • tun2socks - A pure go implementation of tun2socks powered by gVisor TCP/IP stack. Stars:3.0K.
  • 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. Stars:2.1K.
  • water - Simple TUN/TAP library. Stars:1.9K.
  • gev - gev is a lightweight, fast non-blocking TCP network library based on Reactor mode. Stars:1.7K.
  • go-getter - Go library for downloading files or directories from various sources using a URL. Stars:1.6K.
  • sftp - Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt. Stars:1.5K.
  • grab - Go package for managing file downloads. Stars:1.4K.
  • NFF-Go - Framework for rapid development of performant network functions for cloud and bare-metal (former YANFF). Stars:1.4K.
  • gws - High-Performance WebSocket Server & Client With AsyncIO Supporting . Stars:1.3K.
  • ftp - Package ftp implements a FTP client as described in RFC 959. Stars:1.3K.
  • mdns - Simple mDNS (Multicast DNS) client/server library in Golang. Stars:1.2K.
  • gosnmp - Native Go library for performing SNMP actions. Stars:1.1K.
  • gmqtt - Gmqtt is a flexible, high-performance MQTT broker library that fully implements the MQTT protocol V3.1.1. Stars:981.
  • vssh - Go library for building network and server automation over SSH protocol. Stars:955.
  • sdns - A high-performance, recursive DNS resolver server with DNSSEC support, focused on preserving privacy. Stars:947.
  • cidranger - Fast IP to CIDR lookup for Go. Stars:897.
  • 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. Stars:804.
  • lhttp - Powerful websocket framework, build your IM server more easily. Stars:691.
  • go-stun - Go implementation of the STUN client (RFC 3489 and RFC 5389). Stars:658.
  • peerdiscovery - Pure Go library for cross-platform local peer discovery using UDP multicast. Stars:636.
  • gaio - High performance async-io networking for Golang in proactor mode. Stars:585.
  • gotcp - Go package for quickly writing tcp applications. Stars:511.
  • stun - Go implementation of RFC 5389 STUN protocol. Stars:493.
  • gopcap - Go wrapper for libpcap. Stars:487.
  • tcp_server - Go library for building tcp servers faster. Stars:426.
  • raw - Package raw enables reading and writing data at the device driver level for a network interface. Stars:424.
  • winrm - Go WinRM client to remotely execute commands on Windows machines. Stars:421.
  • ftpserverlib - Fully featured FTP server library. Stars:415.
  • arp - Package arp implements the ARP protocol, as described in RFC 826. Stars:359.
  • dnsmonster - Passive DNS Capture/Monitoring Framework. Stars:313.
  • ethernet - Package ethernet implements marshaling and unmarshalling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags. Stars:274.
  • gNxI - A collection of tools for Network Management that use the gNMI and gNOI protocols. Stars:256.
  • buffstreams - Streaming protocolbuffer data over TCP made easy. Stars:253.
  • jazigo - Jazigo is a tool written in Go for retrieving configuration for multiple network devices. Stars:212.
  • tcpack - tcpack is an application protocol based on TCP to Pack and Unpack bytes stream in go program. Stars:174.
  • utp - Go uTP micro transport protocol implementation. Stars:173.
  • canopus - CoAP Client/Server implementation (RFC 7252). Stars:154.
  • event - Simple I/O event notification library written in Golang. Stars:154.
  • xtcp - TCP Server Framework with simultaneous full duplex communication, graceful shutdown, and custom protocol. Stars:151.
  • sslb - It's a Super Simples Load Balancer, just a little project to achieve some kind of performance. Stars:148.
  • iplib - Library for working with IP addresses (net.IP, net.IPNet), inspired by python ipaddress and ruby ipaddr Stars:139.
  • gldap - gldap provides an ldap server implementation and you provide handlers for its ldap operations. Stars:108.
  • go-powerdns - PowerDNS API bindings for Golang. Stars:86.
  • natiu-mqtt - A dead-simple, non-allocating, low level implementation of MQTT well suited for embedded systems. Stars:83.
  • ether - Cross-platform Go package for sending and receiving ethernet frames. Stars:80.
  • packet - Send packets over TCP and UDP. It can buffer messages and hot-swap connections if needed. Stars:79.
  • fullproxy - A fully featured scriptable and daemon configurable proxy and pivoting toolkit with SOCKS5, HTTP, raw ports and reverse proxy protocols. Stars:77.
  • dhcp6 - Package dhcp6 implements a DHCPv6 server, as described in RFC 3315. Stars:77.
  • portproxy - Simple TCP proxy which adds CORS support to API's which don't support it. Stars:57.
  • fwdctl - A simple and intuitive CLI to manage IPTables forwards in your Linux server. Stars:56.
  • linkio - Network link speed simulation for Reader/Writer interfaces. Stars:53.
  • webhooked - A webhook receiver on steroids: handle, secure, format and store a Webhook payload has never been easier. Stars:36.
  • publicip - Package publicip returns your public facing IPv4 address (internet egress). Stars:28.
  • graval - Experimental FTP server framework. Stars:28.
  • httpproxy - HTTP proxy handler and dialer. Stars:27.
  • goshark - Package goshark use tshark to decode IP packet and create data struct to analyse packet. Stars:19.
  • gnet - gnet is a high-performance networking framework,especially for game servers. Stars:17.
  • 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. Stars:15.
  • tspool - A TCP Library use worker pool to improve performance and protect your server. Stars:14.
  • go-sse - Go client and server implementation of HTML server-sent events. Stars:11.
  • go-multiproxy - Library for making HTTP requests through a pool of proxies offering fault tolerance, load balancing, automatic retries, cookie management, and more, via http.Get/Post replacement or http.Client RoundTripper drop-in Stars:6.
  • mqttPaho - The Paho Go Client provides an MQTT client library for connection to MQTT brokers via TCP, TLS or WebSockets.
  • net - This repository holds supplementary Go networking libraries.

⬆ back to top

HTTP Clients

Libraries for making HTTP requests.

  • resty - Simple HTTP and REST client for Go inspired by Ruby rest-client. Stars:9.9K.
  • req - Simple Go HTTP client with Black Magic (Less code and More efficiency). Stars:4.2K.
  • heimdall - An enhanced http client with retry and hystrix capabilities. Stars:2.6K.
  • grequests - A Go "clone" of the great and famous Requests library. Stars:2.1K.
  • go-retryablehttp - Retryable HTTP client in Go. Stars:2.0K.
  • sling - Sling is a Go HTTP client library for creating and sending API requests. Stars:1.7K.
  • 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. Stars:1.5K.
  • gentleman - Full-featured plugin-driven HTTP client library. Stars:1.1K.
  • pester - Go HTTP client calls with retries, backoff, and concurrency. Stars:644.
  • go-cleanhttp - Get easily stdlib HTTP client, which does not share any state with other clients. Stars:366.
  • request - HTTP client for golang. If you have experience about axios or requests, you will love it. No 3rd dependency. Stars:287.
  • go-otelroundtripper - Go http.RoundTripper that emits open telemetry metrics for HTTP requests. Stars:79.
  • go-http-client - Make http calls simply and easily. Stars:76.
  • go-zoox/fetch - A Powerful, Lightweight, Easy Http Client, inspired by Web Fetch API. Stars:71.
  • fast-shot - Hit your API targets with rapid-fire precision using Go's fastest and simple HTTP Client. Stars:51.
  • rq - A nicer interface for golang stdlib HTTP client. Stars:51.
  • httpretry - Enriches the default go HTTP client with retry functionality. Stars:44.
  • go-req - Declarative golang HTTP client. Stars:22.

⬆ back to top

OpenGL

Libraries for using OpenGL in Go.

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

⬆ back to top

ORM

Libraries that implement Object-Relational Mapping or datamapping techniques.

  • GORM - The fantastic ORM library for Golang, aims to be developer friendly. Stars:36.4K.
  • ent - An entity framework for Go. Simple, yet powerful ORM for modeling and querying data. Stars:15.4K.
  • SQLBoiler - ORM generator. Generate a featureful and blazing-fast ORM tailored to your database schema. Stars:6.6K.
  • gorp - Go Relational Persistence, ORM-ish library for Go. Stars:3.7K.
  • bun - SQL-first Golang ORM. Successor of go-pg. Stars:3.6K.
  • upper.io/db - Single interface for interacting with different data sources through the use of adapters that wrap mature database drivers. Stars:3.5K.
  • gormt - Mysql database to golang gorm struct. Stars:2.3K.
  • Prisma - Prisma Client Go, Typesafe database access for Go. Stars:2.1K.
  • reform - Better ORM for Go, based on non-empty interfaces and code generation. Stars:1.4K.
  • pop/soda - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite. Stars:1.4K.
  • go-sqlbuilder - A flexible and powerful SQL string builder library plus a zero-config ORM. Stars:1.4K.
  • rel - Modern Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API. Stars:753.
  • bob - SQL query builder and ORM/Factory generator for Go. Successor of SQLBoiler. Stars:745.
  • Zoom - Blazing-fast datastore and querying engine built on Redis. Stars:308.
  • go-sql - A easy ORM for mysql. Stars:178.
  • grimoire - Grimoire is a database access layer and validation for golang. (Support: MySQL, PostgreSQL and SQLite3). Stars:163.
  • golobby/orm - Simple, fast, type-safe, generic orm for developer happiness. Stars:158.
  • go-store - Simple and fast Redis backed key-value store library for Go. Stars:112.
  • go-firestorm - A simple ORM for Google/Firebase Cloud Firestore. Stars:51.
  • cacheme - Schema based, typed Redis caching/memoize framework for Go. Stars:23.
  • CQL - Built on top of GORM, adds compile-time verified queries based on auto-generated code. Stars:16.
  • lore - Simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go. Stars:14.
  • marlow - Generated ORM from project structs for compile time safety assurances. Stars:13.
  • go-dbw - A simple package that encapsulates database operations. Stars:13.
  • XORM - Simple and powerful ORM for Go. (Support: MySQL, MyMysql, PostgreSQL, Tidb, SQLite3, MsSql and Oracle).

⬆ back to top

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. Stars:12.9K.
  • 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. Stars:8.2K.
  • godep - dependency tool for go, godep helps build packages reproducibly by fixing their dependencies. Stars:5.5K.
  • govendor - Go Package Manager. Go vendor tool that works with the standard vendor file. Stars:4.9K.
  • gopm - Go Package Manager. Stars:2.5K.
  • gom - Go Manager - bundle for go. Stars:1.4K.
  • gpm - Barebones dependency manager for Go. Stars:1.2K.
  • goop - Simple dependency manager for Go (golang), inspired by Bundler. Stars:779.
  • modgv - Converts 'go mod graph' output into Graphviz's DOT language. Stars:483.
  • gup - Update binaries installed by "go install". Stars:311.
  • nut - Vendor Go dependencies. Stars:232.
  • johnny-deps - Minimal dependency version using Git. Stars:214.
  • mvn-golang - plugin that provides way for auto-loading of Golang SDK, dependency management and start build environment in Maven project infrastructure. Stars:162.
  • VenGO - create and manage exportable isolated go virtual environments. Stars:124.
  • gop - Build and manage your Go applications out of GOPATH. Stars:49.

⬆ back to top

Performance

  • jaeger - A distributed tracing system. Stars:20.1K.
  • pixie - No instrumentation tracing for Golang applications via eBPF. Stars:5.5K.
  • statsviz - Live visualization of your Go application runtime statistics. Stars:3.2K.
  • profile - Simple profiling support package for Go. Stars:2.0K.
  • go-instrument - Automatically add spans to all methods and functions. Stars:192.
  • tracer - Simple, lightweight tracing. Stars:85.

⬆ back to top

Query Language

  • graphql-go - Implementation of GraphQL for Go. Stars:9.9K.
  • gqlgen - go generate based graphql server library. Stars:9.8K.
  • 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. Stars:7.0K.
  • graphql - GraphQL server with a focus on ease of use. Stars:4.6K.
  • gojsonq - A simple Go package to Query over JSON Data. Stars:2.2K.
  • rql - Resource Query Language for REST API. Stars:338.
  • jsonql - JSON query expression library in Golang. Stars:275.
  • jsonslice - Jsonpath queries with advanced filters. Stars:85.
  • rqp - Query Parser for REST API. Filtering, validations, both AND, OR operations are supported directly in the query. Stars:74.
  • goven - A drop-in query language for any database schema. Stars:60.
  • graphql - graphql parser + utilities. Stars:57.
  • api-fu - Comprehensive GraphQL implementation. Stars:55.
  • mql - Model Query Language (mql) is a query language for your database models. Stars:42.
  • straf - Easily Convert Golang structs to GraphQL objects. Stars:38.
  • jsonpath - A query library for retrieving part of JSON based on JSONPath syntax. Stars:25.
  • gws - Apollos' "GraphQL over Websocket" client and server implementation. Stars:6.
  • grapher - A GraphQL field builder utilizing Go generics with extra utilities and features. Stars:3.

⬆ back to top

Resource Embedding

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

⬆ back to top

Science and Data Analysis

Libraries for scientific computing and data analyzing.

  • gonum - Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more. Stars:7.5K.
  • stats - Statistics package with common functions missing from the Golang standard library. Stars:2.9K.
  • gonum/plot - gonum/plot provides an API for building and drawing plots in Go. Stars:2.7K.
  • gosl - Go scientific library for linear algebra, FFT, geometry, NURBS, numerical methods, probabilities, optimisation, differential equations, and more. Stars:1.8K.
  • streamtools - general purpose, graphical tool for dealing with streams of data. Stars:1.3K.
  • dataframe-go - Dataframes for machine-learning and statistics (similar to pandas). Stars:1.2K.
  • orb - 2D geometry types with clipping, GeoJSON and Mapbox Vector Tile support. Stars:883.
  • go-dsp - Digital Signal Processing for Go. Stars:853.
  • chart - Simple Chart Plotting library for Go. Supports many graphs types. Stars:772.
  • goraph - Pure Go graph theory library(data structure, algorithm visualization). Stars:735.
  • graph - Library of basic graph algorithms. Stars:700.
  • ewma - Exponentially-weighted moving averages. Stars:433.
  • calendarheatmap - Calendar heatmap in plain Go inspired by Github contribution activity. Stars:395.
  • TextRank - TextRank implementation in Golang with extendable features (summarization, weighting, phrase extraction) and multithreading (goroutine) support. Stars:202.
  • gohistogram - Approximate histograms for data streams. Stars:174.
  • sparse - Go Sparse matrix formats for linear algebra supporting scientific and machine learning applications, compatible with gonum matrix libraries. Stars:158.
  • go-estimate - State estimation and filtering algorithms in Go. Stars:112.
  • pagerank - Weighted PageRank algorithm implemented in Go. Stars:83.
  • jsonl-graph - Tool to manipulate JSONL graphs with graphviz support. Stars:72.
  • gograph - A golang generic graph library that provides mathematical graph-theory and algorithms. Stars:59.
  • geom - 2D geometry for golang. Stars:55.
  • evaler - Simple floating point arithmetic expression evaluator. Stars:51.
  • decimal - Package decimal implements arbitrary-precision decimal floating-point arithmetic. Stars:40.
  • triangolatte - 2D triangulation library. Allows translating lines and polygons (both based on points) to the language of GPUs. Stars:36.
  • goent - GO Implementation of Entropy Measures. Stars:34.
  • piecewiselinear - Tiny linear interpolation library. Stars:26.
  • godesim - Extended/multivariable ODE solver framework for event-based simulations with simple API. Stars:23.
  • ode - Ordinary differential equation (ODE) solver which supports extended states and channel-based iteration stop conditions. Stars:22.
  • PiHex - Implementation of the "Bailey-Borwein-Plouffe" algorithm for the hexadecimal number Pi. Stars:20.
  • 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. Stars:20.
  • assocentity - Package assocentity returns the average distance from words to a given entity. Stars:14.
  • rootfinding - root-finding algorithms library for finding roots of quadratic functions. Stars:11.
  • go-gt - Graph theory algorithms written in "Go" language. Stars:11.
  • bradleyterry - Provides a Bradley-Terry Model for pairwise comparisons. Stars:10.

⬆ back to top

Security

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

  • age - A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability. Stars:16.7K.
  • lego - Pure Go ACME client library and CLI tool (for use with Let's Encrypt). Stars:7.7K.
  • CertMagic - Mature, robust, and powerful ACME client integration for fully-managed TLS certificate issuance and renewal. Stars:5.0K.
  • Cameradar - Tool and library to remotely hack RTSP streams from surveillance cameras. Stars:4.0K.
  • memguard - A pure Go library for handling sensitive values in memory. Stars:2.5K.
  • secure - HTTP middleware for Go that facilitates some quick security wins. Stars:2.2K.
  • Coraza - Enterprise-ready, modsecurity and OWASP CRS compatible WAF library. Stars:2.1K.
  • acmetool - ACME (Let's Encrypt) client tool with automatic renewal. Stars:2.0K.
  • 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. Stars:1.8K.
  • acra - Network encryption proxy to protect database-based applications from data leaks: strong selective encryption, SQL injections prevention, intrusion detection system. Stars:1.3K.
  • dongle - A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption. Stars:874.
  • beelzebub - A secure low code honeypot framework, leveraging AI for System Virtualization. Stars:642.
  • nacl - Go implementation of the NaCL set of API's. Stars:545.
  • go-password-validator - Password validator based on raw cryptographic entropy values. Stars:490.
  • booster - Fast initramfs generator with full-disk encryption support. Stars:489.
  • ssh-vault - encrypt/decrypt using ssh keys. Stars:438.
  • optimus-go - ID hashing and Obfuscation using Knuth's Algorithm. Stars:360.
  • go-yara - Go Bindings for YARA, the "pattern matching swiss knife for malware researchers (and everyone else)". Stars:354.
  • firewalld-rest - A rest application to dynamically update firewalld rules on a linux server. Stars:338.
  • 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. Stars:332.
  • BadActor - In-memory, application-driven jailer built in the spirit of fail2ban. Stars:322.
  • passlib - Futureproof password hashing library. Stars:289.
  • go-peer - A software library for creating secure and anonymous decentralized systems. Stars:248.
  • simple-scrypt - Scrypt package with a simple, obvious API and automatic cost calibration built-in. Stars:197.
  • argon2pw - Argon2 password hash generation with constant-time password comparison. Stars:89.
  • luks.go - Pure Golang library to manage LUKS partitions. Stars:85.
  • goSecretBoxPassword - A probably paranoid package for securely hashing and encrypting passwords. Stars:60.
  • go-generate-password - Password generator that can be used on the cli or as a library. Stars:52.
  • passwap - Provides a unified implementation between different password hashing algorithms Stars:50.
  • certificates - An opinionated tool for generating tls certificates. Stars:38.
  • go-htpasswd - Apache htpasswd Parser for Go. Stars:37.
  • secureio - An keyexchanging+authenticating+encrypting wrapper and multiplexer for io.ReadWriteCloser based on XChaCha20-poly1305, ECDH and ED25519. Stars:33.
  • secret - Prevent your secrets from leaking into logs, std* etc. Stars:28.
  • sslmgr - SSL certificates made easy with a high level wrapper around acme/autocert. Stars:26.
  • argon2-hashing - light wrapper around Go's argon2 package that closely mirrors with Go's standard library Bcrypt and simple-scrypt package. Stars:20.
  • goArgonPass - Argon2 password hash and verification designed to be compatible with existing Python and PHP implementations. Stars:18.
  • multikey - An n-out-of-N keys encryption/decryption framework based on Shamir's Secret Sharing algorithm. Stars:5.
  • Interpol - Rule-based data generator for fuzzing and penetration testing. Stars:4.
  • encid - Encode and decode encrypted integer IDs. Stars:2.
  • autocert - Auto provision Let's Encrypt certificates and start a TLS server.
  • acopw-go - Small cryptographically secure password generator package for Go.

⬆ back to top

Serialization

Libraries and tools for binary serialization.

  • jsoniter - High-performance 100% compatible drop-in replacement of "encoding/json". Stars:13.3K.
  • goprotobuf - Go support, in the form of a library and protocol compiler plugin, for Google's protocol buffers. Stars:9.7K.
  • mapstructure - Go library for decoding generic map values into native Go structures. Stars:7.9K.
  • gogoprotobuf - Protocol Buffers for Go with Gadgets. Stars:5.7K.
  • go-codec - High Performance, feature-Rich, idiomatic encode, decode and rpc library for msgpack, cbor and json, with runtime-based OR code-generation support. Stars:1.8K.
  • csvutil - High Performance, idiomatic CSV record encoding and decoding to native Go structures. Stars:917.
  • colfer - Code generation for the Colfer binary format. Stars:741.
  • cbor - Small, safe, and easy CBOR encoding and decoding library. Stars:706.
  • go-capnproto - Cap'n Proto library and parser for go. Stars:288.
  • php_session_decoder - GoLang library for working with PHP session format and PHP Serialize/Unserialize functions. Stars:164.
  • structomap - Library to easily and dynamically generate maps from static structures. Stars:143.
  • binstruct - Golang binary decoder for mapping data into the structure. Stars:95.
  • bambam - generator for Cap'n Proto schemas from go. Stars:65.
  • asn1 - Asn.1 BER and DER encoding library for golang. Stars:55.
  • bel - Generate TypeScript interfaces from Go structs/interfaces. Useful for JSON RPC. Stars:38.
  • fwencoder - Fixed width file parser (encoding and decoding library) for Go. Stars:27.
  • elastic - Convert slices, maps or any other unknown value across different types at run-time, no matter what. Stars:23.
  • pletter - A standard way to wrap a proto message for message brokers. Stars:19.
  • gotiny - Efficient Go serialization library, gotiny is almost as fast as serialization libraries that generate code. Stars:18.
  • go-csvlib - High level and rich functionalities CSV serialization/deserialization library. Stars:12.
  • fixedwidth - Fixed-width text formatting (UTF-8 supported). Stars:9.
  • unitpacking - Library to pack unit vectors into as fewest bytes as possible. Stars:6.
  • go-lctree - Provides a CLI and primitives to serialize and deserialize LeetCode binary trees. Stars:4.

⬆ back to top

Server Applications

  • Caddy - Caddy is an alternative, HTTP/2 web server that's easy to configure and use. Stars:56.7K.
  • etcd - Highly-available key value store for shared configuration and service discovery. Stars:47.2K.
  • minio - Minio is a distributed object storage server. Stars:46.4K.
  • pocketbase - PocketBase is a realtime backend in 1 file consisting of embedded database (SQLite) with realtime subscriptions, built-in auth management and much more. Stars:38.5K.
  • 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. Stars:8.9K.
  • RoadRunner - High-performance PHP application server, load-balancer and process manager. Stars:7.8K.
  • Easegress - A cloud native high availability/performance traffic orchestration system with observability and extensibility. Stars:5.8K.
  • flipt - A self contained feature flag solution written in Go and Vue.js Stars:3.5K.
  • devd - Local webserver for developers. Stars:3.4K.
  • Wish - Make SSH apps, just like that! Stars:3.4K.
  • Fider - Fider is an open platform to collect and organize customer feedback. Stars:2.8K.
  • algernon - HTTP/2 web server with built-in support for Lua, Markdown, GCSS and Amber. Stars:2.7K.
  • Flagr - Flagr is an open-source feature flagging and A/B testing service. Stars:2.4K.
  • Trickster - HTTP reverse proxy cache and time series accelerator. Stars:2.0K.
  • discovery - A registry for resilient mid-tier load balancing and failover. Stars:1.8K.
  • jackal - An XMPP server written in Go. Stars:1.4K.
  • go-feature-flag - A simple, complete and lightweight self-hosted feature flag solution 100% Open Source. Stars:1.2K.
  • Euterpe - Self-hosted music streaming server with built-in web UI and REST API. Stars:529.
  • dummy - Run mock server based off an API contract with one command. Stars:178.
  • dudeldu - A simple SHOUTcast server. Stars:144.
  • go-proxy-cache - Simple Reverse Proxy with Caching, written in Go, using Redis. Stars:124.
  • cortex-tenant - Prometheus remote write proxy that adds add Cortex tenant ID header based on metric labels. Stars:106.
  • lets-proxy2 - Reverse proxy for handle https with issue certificates in fly from lets-encrypt. Stars:96.
  • psql-streamer - Stream database events from PostgreSQL to Kafka. Stars:59.
  • nginx-prometheus - Nginx log parser and exporter to Prometheus. Stars:41.
  • simple-jwt-provider - Simple and lightweight provider which exhibits JWTs, supports login, password-reset (via mail) and user management. Stars:39.
  • protoxy - A proxy server that converts JSON request bodies to Protocol Buffers. Stars:35.
  • 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. Stars:12.
  • gondola - A YAML based golang reverse proxy. Stars:7.
  • riemann-relay - Relay to load-balance Riemann events and/or convert them to Carbon. Stars:2.
  • nsq - A realtime distributed messaging platform.
  • consul - Consul is a tool for service discovery, monitoring and configuration.

⬆ back to top

Stream Processing

Libraries and tools for stream processing and reactive programming.

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

⬆ back to top

Template Engines

Libraries and tools for templating and lexing.

  • templ - A HTML templating language that has great developer tooling. Stars:7.8K.
  • quicktemplate - Fast, powerful, yet easy to use template engine. Converts templates into Go code and then compiles it. Stars:3.1K.
  • pongo2 - Django-like template-engine for Go. Stars:2.8K.
  • maroto - A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple. Stars:1.5K.
  • jet - Jet template engine. Stars:1.2K.
  • Razor - Razor view engine for Golang. Stars:856.
  • fasttemplate - Simple and fast template engine. Substitutes template placeholders up to 10x faster than text/template. Stars:824.
  • raymond - Complete handlebars implementation in Go. Stars:601.
  • ego - Lightweight templating language that lets you write templates in Go. Templates are translated into Go and compiled. Stars:578.
  • goview - Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application. Stars:417.
  • liquid - Go implementation of Shopify Liquid templates. Stars:283.
  • Soy - Closure templates (aka Soy templates) for Go, following the official spec. Stars:172.
  • sprout - Useful template functions for Go templates. Stars:81.
  • gospin - Article spinning and spintax/spinning syntax engine, useful for A/B, testing pieces of text/articles and creating more natural conversations. Stars:57.
  • extemplate - Tiny wrapper around html/template to allow for easy file-based template inheritance. Stars:56.
  • got - A Go code generator inspired by Hero and Fasttemplate. Has include files, custom tag definitions, injected Go code, language translation, and more. Stars:30.
  • tbd - A really simple way to create text templates with placeholders - exposes extra builtin Git repo metadata. Stars:25.
  • gomponents - HTML 5 components in pure Go, that look something like this: func(name string) g.Node { return Div(Class("headline"), g.Textf("Hi %v!", name)) }.

⬆ back to top

Testing

Libraries for testing codebases and generating test data.

Testing Frameworks
  • Testify - Sacred extension to the standard go testing package. Stars:22.9K.
  • GoConvey - BDD-style framework with web UI and live reload. Stars:8.2K.
  • go-cmp - Package for comparing Go values in tests. Stars:4.1K.
  • testcontainers-go - A Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done. Stars:3.4K.
  • httpexpect - Concise, declarative, and easy to use end-to-end HTTP and REST API testing. Stars:2.5K.
  • godog - Cucumber BDD framework for Go. Stars:2.3K.
  • is - Professional lightweight testing mini-framework for Go. Stars:1.8K.
  • gnomock - integration testing with real dependencies (database, cache, even Kubernetes or AWS) running in Docker, without mocks. Stars:1.4K.
  • go-vcr - Record and replay your HTTP interactions for fast, deterministic and accurate tests. Stars:1.2K.
  • testfixtures - A helper for Rails' like test fixtures to test database applications. Stars:1.1K.
  • goblin - Mocha like testing framework of Go. Stars:883.
  • embedded-postgres - Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test. Stars:813.
  • goc - Goc is a comprehensive coverage testing system for The Go Programming Language. Stars:798.
  • baloo - Expressive and versatile end-to-end HTTP API testing made easy. Stars:776.
  • go-mutesting - Mutation testing for Go source code. Stars:636.
  • gotest.tools - A collection of packages to augment the go testing package and support common patterns. Stars:508.
  • gofight - API Handler Testing for Golang Router framework. Stars:441.
  • go-testdeep - Extremely flexible golang deep comparison, extends the go testing package. Stars:430.
  • testza - Full-featured test framework with nice colorized output. Stars:418.
  • cupaloy - Simple snapshot testing addon for your test framework. Stars:297.
  • frisby - REST API testing framework. Stars:278.
  • got - An enjoyable golang test framework. Stars:264.
  • endly - Declarative end to end functional testing. Stars:262.
  • go-hit - Hit is an http integration test framework written in golang. Stars:253.
  • go-carpet - Tool for viewing test coverage in terminal. Stars:245.
  • commander - Tool for testing cli applications on windows, linux and osx. Stars:225.
  • charlatan - Tool to generate fake interface implementations for tests. Stars:202.
  • dbcleaner - Clean database for testing purpose, inspired by database_cleaner in Ruby. Stars:161.
  • arch-go - Architecture testing tool for Go projects. Stars:155.
  • jsonassert - Package for verifying that your JSON payloads are serialized correctly. Stars:122.
  • testcase - Idiomatic testing framework for Behavior Driven Development. Stars:119.
  • gocrest - Composable hamcrest-like matchers for Go assertions. Stars:104.
  • be - The minimalist generic test assertion library. Stars:103.
  • wstest - Websocket client for unit-testing a websocket http.Handler. Stars:101.
  • Gont - Go network testing toolkit for testing building complex network topologies using Linux namespaces. Stars:76.
  • gherkingen - BDD boilerplate generator and framework. Stars:73.
  • testcerts - Dynamically generate self-signed certificates and certificate authorities within your test functions. Stars:63.
  • assert - Basic Assertion Library used along side native go testing, with building blocks for custom assertions. Stars:62.
  • restit - Go micro framework to help writing RESTful API integration test. Stars:55.
  • gospecify - This provides a BDD syntax for testing your Go code. It should be familiar to anybody who has used libraries such as rspec. Stars:52.
  • gomatch - library created for testing JSON against patterns. Stars:46.
  • dsunit - Datastore testing for SQL, NoSQL, structured files. Stars:44.
  • fluentassert - Extensible, type-safe, fluent assertion Go library. Stars:40.
  • Hamcrest - fluent framework for declarative Matcher objects that, when applied to input values, produce self-describing results. Stars:30.
  • fixenv - Fixture manage engine, inspired by pytest fixtures. Stars:28.
  • schema - Quick and easy expression matching for JSON schemas used in requests and responses. Stars:21.
  • flute - HTTP client testing framework. Stars:19.
  • testsql - Generate test data from SQL files before testing and clear it after finished. Stars:17.
  • gogiven - YATSPEC-like BDD testing framework for Go. Stars:15.
  • biff - Bifurcation testing framework, BDD compatible. Stars:14.
  • gosuite - Brings lightweight test suites with setup/teardown facilities to testing by leveraging Go1.7's Subtests. Stars:12.
  • stop-and-go - Testing helper for concurrency. Stars:10.
  • Tt - Simple and colorful test tools. Stars:8.
  • trial - Quick and easy extendable assertions without introducing much boilerplate. Stars:6.
  • go-testpredicate - Test predicate style assertions library with extensive diagnostics output. Stars:5.
  • dft - Lightweight, zero dependency docker containers for testing (or more). Stars:3.
  • go-mysql-test-container - Golang MySQL testcontainer to help with MySQL integration testing. Stars:2.
  • omg.testingtools - The simple library for change a values of private fields for testing. Stars:1.
  • go-snaps - Jest-like snapshot testing in Golang.
  • 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.
  • gomega - Rspec like matcher/assertion library.
  • gocheck - More advanced testing framework alternative to gotest.
  • ginkgo - BDD Testing Framework for Go.
Mock
  • gomock - Mocking framework for the Go programming language. Stars:9.3K.
  • go-sqlmock - Mock SQL driver for testing database interactions. Stars:6.0K.
  • mockery - Tool to generate Go interfaces. Stars:5.9K.
  • hoverfly - HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI. Stars:2.3K.
  • gock - Versatile HTTP mocking made easy. Stars:2.1K.
  • moq - Utility that generates a struct from any interface. The struct can be used in test code as a mock of the interface. Stars:1.9K.
  • httpmock - Easy mocking of HTTP responses from external resources. Stars:1.9K.
  • counterfeiter - Tool for generating self-contained mock objects. Stars:939.
  • go-txdb - Single transaction based database driver mainly for testing purposes. Stars:641.
  • minimock - Mock generator for Go interfaces. Stars:626.
  • xgo - A general pureposed function mocking library. Stars:321.
  • govcr - HTTP mock for Golang: record and replay HTTP interactions for offline testing. Stars:170.
  • go-localstack - Tool for using localstack in AWS testing. Stars:76.
  • timex - A test-friendly replacement for the native time package. Stars:70.
  • mockhttp - Mock object for Go http.ResponseWriter. Stars:23.
  • mooncake - A simple way to generate mocks for multiple purposes. Stars:18.
  • genmock - Go mocking system with code generator for building calls of the interface methods.

Fuzzing and delta-debugging/reducing/shrinking

  • go-fuzz - Randomized testing system. Stars:4.7K.
  • gofuzz - Library for populating go objects with random values. Stars:1.5K.
  • Tavor - Generic fuzzing and delta-debugging framework. Stars:245.

Selenium and browser control tools

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

⬆ back to top

Text Processing

Libraries for parsing and manipulating texts.

See also Natural Language Processing and Text Analysis.

Formatters
  • go-humanize - Formatters for time, numbers, and memory size to human readable format. Stars:4.3K.
  • bytes - Formats and parses numeric byte values (10K, 2M, 3G, etc.). Stars:536.
  • gotabulate - Easily pretty-print your tabular data with Go. Stars:325.
  • align - A general purpose application that aligns text. Stars:84.
  • go-fixedwidth - Fixed-width text formatting (encoder/decoder with reflection). Stars:80.
  • address - Handles address representation, validation and formatting. Stars:71.
  • textwrap - Wraps text at end of lines. Implementation of textwrap module from Python. Stars:5.
Markup Languages
  • blackfriday - Markdown processor in Go. Stars:5.4K.
  • toml - TOML configuration format (encoder/decoder with reflection). Stars:4.5K.
  • goldmark - A Markdown parser written in Go. Easy to extend, standard (CommonMark) compliant, well structured. Stars:3.5K.
  • go-toml - Go library for the TOML format with query support and handy cli tools. Stars:1.7K.
  • html-to-markdown - Convert HTML to Markdown. Even works with entire websites and can be extended through rules. Stars:828.
  • htmlquery - An XPath query package for HTML, lets you extract data or evaluate from HTML documents by an XPath expression. Stars:722.
  • mxj - Encode / decode XML as JSON or map[string]interface{}; extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages. Stars:619.
  • goq - Declarative unmarshalling of HTML using struct tags with jQuery syntax (uses GoQuery). Stars:257.
  • bafi - Universal JSON, BSON, YAML, XML translator to ANY format using templates. Stars:104.
  • go-output-format - Output go structures into multiple formats (YAML/JSON/etc) in your command line app. Stars:15.
  • bbConvert - Converts bbCode to HTML that allows you to add support for custom bbCode tags. Stars:12.
  • htree - Traverse, navigate, filter, and otherwise process trees of html.Node objects. Stars:4.
  • htmlyaml - Rich rendering of YAML as HTML in Go Stars:4.
Parsers/Encoders/Decoders
  • sh - Shell parser and formatter. Stars:7.1K.
  • gofeed - Parse RSS and Atom feeds in Go. Stars:2.6K.
  • go-querystring - Go library for encoding structs into URL query parameters. Stars:2.0K.
  • when - Natural EN and RU language date/time parser with pluggable rules. Stars:1.3K.
  • commonregex - A collection of common regular expressions for Go. Stars:893.
  • gographviz - Parses the Graphviz DOT language. Stars:547.
  • go-nmea - NMEA parser library for the Go language. Stars:223.
  • editorconfig-core-go - Editorconfig file parser and manipulator for Go. Stars:141.
  • godump - Pretty print any GO variable with ease, an alternative to Go's fmt.Printf("%#v"). Stars:139.
  • sdp - SDP: Session Description Protocol [RFC 4566]. Stars:113.
  • go-vcard - Parse and format vCard. Stars:107.
  • tokenizer - Parse any string, slice or infinite buffer to any tokens. Stars:89.
  • did - DID (Decentralized Identifiers) Parser and Stringer in Go. Stars:88.
  • allot - Placeholder and wildcard text parsing for CLI tools and bots. Stars:59.
  • normalize - Sanitize, normalize and compare fuzzy text. Stars:46.
  • gonameparts - Parses human names into individual name parts. Stars:42.
  • xj2go - Convert xml or json to go struct. Stars:34.
  • go-fasttld - High performance effective top level domains (eTLD) extraction module. Stars:33.
  • codetree - Parses indented code (python, pixy, scarlet, etc.) and returns a tree structure. Stars:24.
  • parseargs-go - string argument parser that understands quotes and backslashes. Stars:10.
  • encdec - Package provides a generic interface to encoders and decoders. Stars:9.
  • ltsv - High performance LTSV (Labeled Tab Separated Value) reader for Go. Stars:9.
  • doi - Document object identifier (doi) parser in Go. Stars:8.
  • prattle - Scan and parse LL(1) grammars simply and efficiently. Stars:6.
  • parth - URL path segmentation parsing.
Regular Expressions
  • rex - Regular expressions builder. Stars:193.
  • regroup - Match regex expression named groups into go struct using struct tags and automatic parsing. Stars:143.
  • goregen - Library for generating random strings from regular expressions. Stars:90.
  • genex - Count and expand Regular Expressions into all matching Strings. Stars:77.
  • go-wildcard - Simple and lightweight wildcard pattern matching. Stars:77.
Sanitation
Scrapers
  • colly - Fast and Elegant Scraping Framework for Gophers. Stars:22.9K.
  • GoQuery - GoQuery brings a syntax and a set of features similar to jQuery to the Go language. Stars:13.9K.
  • xurls - Extract urls from text. Stars:1.2K.
  • dataflowkit - Web scraping Framework to turn websites into structured data. Stars:655.
  • pagser - Pagser is a simple, extensible, configurable parse and deserialize html page to struct based on goquery and struct tags for golang crawler. Stars:103.
  • Tagify - Produces a set of tags from given source. Stars:36.
  • go-recipe - A package for scraping recipes from websites. Stars:25.
  • walker - Seamlessly fetch paginated data from any source. Simple and high performance API scraping included. Stars:9.
  • gospider - A simple golang spider/scraping framework,build a spider in 3 lines. migrated from goribot
RSS
  • podcast - iTunes Compliant and RSS 2.0 Podcast Generator in Golang Stars:132.
Utility/Miscellaneous
  • w2vgrep - A semantic grep tool using word embeddings to find semantically similar matches. For example, searching for "death" will find "dead", "killing", "murder". Stars:1.1K.
  • go-runewidth - Functions to get fixed width of the character or string. Stars:605.
  • radix - Fast string sorting algorithm. Stars:192.
  • go-zero-width - Zero-width character detection and removal for Go. Stars:109.
  • petrovich - Petrovich is the library which inflects Russian names to given grammatical case. Stars:46.
  • kace - Common case conversions covering common initialisms. Stars:19.
  • TySug - Alternative suggestions with respect to keyboard layouts. Stars:18.

⬆ back to top

Third-party APIs

Libraries for accessing third party APIs.

  • github - Go library for accessing the GitHub REST API v3. Stars:10.3K.
  • go-openai - OpenAI ChatGPT, DALL·E, Whisper API library for Go. Stars:8.9K.
  • discordgo - Go bindings for the Discord Chat API. Stars:5.0K.
  • slack - Slack API in Go. Stars:4.6K.
  • google - Auto-generated Google APIs for Go. Stars:3.9K.
  • google-cloud - Google Cloud APIs Go Client Library. Stars:3.7K.
  • aws-sdk-go - The official AWS SDK for the Go programming language. Stars:2.6K.
  • minio-go - Minio Go Library for Amazon S3 compatible cloud storage. Stars:2.4K.
  • stripe - Go client for the Stripe API. Stars:2.1K.
  • go-twitter - Go client library for the Twitter v1.1 APIs. Stars:1.6K.
  • go-jira - Go client library for Atlassian JIRA Stars:1.5K.
  • facebook - Go Library that supports the Facebook Graph API. Stars:1.3K.
  • anaconda - Go client library for the Twitter 1.1 API. Stars:1.1K.
  • githubql - Go library for accessing the GitHub GraphQL API v4. Stars:1.1K.
  • webhooks - Webhook receiver for GitHub and Bitbucket. Stars:949.
  • twitter-scraper - Scrape the Twitter Frontend API without authentication and limits. Stars:881.
  • paypal - Wrapper for PayPal payment API. Stars:671.
  • geo-golang - Go Library to access Google Maps, MapQuest, Nominatim, OpenCage, Bing, Mapbox, and OpenStreetMap geocoding / reverse geocoding APIs. Stars:511.
  • lark - Feishu/Lark Open API Go SDK, Support ALL Open API and Event Callback. Stars:409.
  • openaigo - OpenAI GPT3/GPT3.5 ChatGPT API client library for Go. Stars:287.
  • ethrpc - Go bindings for Ethereum JSON RPC API. Stars:267.
  • Trello - Go wrapper for the Trello API. Stars:219.
  • go-marathon - Go library for interacting with Mesosphere's Marathon PAAS. Stars:199.
  • go-lark - An easy-to-use unofficial SDK for Feishu and Lark Open Platform. Stars:198.
  • wit-go - Go client for wit.ai HTTP API. Stars:154.
  • simples3 - Simple no frills AWS S3 Library using REST with V4 Signing written in Go. Stars:146.
  • Medium - Golang SDK for Medium's OAuth2 API. Stars:140.
  • pushover - Go wrapper for the Pushover API. Stars:140.
  • go-trending - Go library for accessing trending repositories and developers at Github. Stars:140.
  • gosip - Client library for SharePoint. Stars:139.
  • gostorm - GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells. Stars:129.
  • go-atlassian - Go library for accessing the Atlassian Cloud services (Jira, Jira Service Management, Jira Agile, Confluence, Admin Cloud) Stars:122.
  • golang-tmdb - Golang wrapper for The Movie Database API v3. Stars:115.
  • hipchat (xmpp) - A golang package to communicate with HipChat over XMPP. Stars:111.
  • hipchat - This project implements a golang client library for the Hipchat API. Stars:104.
  • cachet - Go client library for Cachet (open source status page system). Stars:91.
  • disgo - Go API Wrapper for the Discord API. Stars:87.
  • gogtrends - Google Trends Unofficial API. Stars:80.
  • igdb - Go client for the Internet Game Database API. Stars:80.
  • google-play-scraper - Get data from Google Play Store. Stars:79.
  • go-postman-collection - Go module to work with Postman Collections (compatible with Insomnia). Stars:78.
  • go-unsplash - Go client library for the Unsplash.com API. Stars:74.
  • airtable - Go client library for the Airtable API. Stars:74.
  • ynab - Go wrapper for the YNAB API. Stars:70.
  • go-redoc - Embedded OpenAPI/Swagger documentation ui for Go using ReDoc. Stars:67.
  • circleci - Go client library for interacting with CircleCI's API. Stars:65.
  • mixpanel - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications. Stars:61.
  • GoMusicBrainz - Go MusicBrainz WS2 client library. Stars:57.
  • uptimerobot - Go wrapper and command-line client for the Uptime Robot v2 API. Stars:57.
  • amazon-product-advertising-api - Go Client Library for Amazon Product Advertising API. Stars:57.
  • clarifai - Go client library for interfacing with the Clarifai API. Stars:55.
  • megos - Client library for accessing an Apache Mesos cluster. Stars:54.
  • go-xkcd - Go client for the xkcd API. Stars:51.
  • fcm - Go library for Firebase Cloud Messaging. Stars:51.
  • gads - Google Adwords Unofficial API. Stars:50.
  • spotify - Go Library to access Spotify WEB API. Stars:50.
  • swag - No comments, simple go wrapper to create swagger 2.0 compatible APIs. Support most routing frameworks, such as built-in, gin, chi, mux, echo, httprouter, fasthttp and more. Stars:46.
  • golyrics - Golyrics is a Go library to fetch music lyrics data from the Wikia website. Stars:42.
  • patreon-go - Go library for Patreon API. Stars:41.
  • go-myanimelist - Go client library for accessing the MyAnimeList API. Stars:39.
  • GoFreeDB - Golang library providing common and simple database abstractions on top of Google Sheets. Stars:34.
  • lastpass-go - Go client library for the LastPass API. Stars:34.
  • gami - Go library for Asterisk Manager Interface. Stars:33.
  • translate - Go online translation package. Stars:33.
  • steam - Go Library to interact with Steam game servers. Stars:32.
  • gcm - Go library for Google Cloud Messaging. Stars:31.
  • device-check-go - Go client library for interacting with iOS DeviceCheck API v1. Stars:25.
  • shopify - Go Library to make CRUD request to the Shopify API. Stars:25.
  • go-salesforce - Go client library for interacting with the Salesforce REST API. Stars:24.
  • go-imgur - Go client library for imgur Stars:24.
  • jokeapi-go - Go client for JokeAPI. Stars:23.
  • coinpaprika-go - Go client library for interacting with Coinpaprika's API. Stars:23.
  • brewerydb - Go library for accessing the BreweryDB API. Stars:19.
  • textbelt - Go client for the textbelt.com txt messaging API. Stars:19.
  • codeship-go - Go client library for interacting with Codeship's API v2. Stars:18.
  • go-aws-news - Go application and library to fetch what's new from AWS. Stars:17.
  • go-hacknews - Tiny Go client for HackerNews API. Stars:17.
  • go-openproject - Go client library for interacting with OpenProject API. Stars:16.
  • gopaapi5 - Go Client Library for Amazon Product Advertising API 5.0. Stars:16.
  • goami2 - AMI v2 library for Asterisk PBX. Stars:15.
  • bqwriter - High Level Go Library to write data into Google BigQuery at a high throughout. Stars:15.
  • google-analytics - Simple wrapper for easy google analytics reporting. Stars:15.
  • go-here - Go client library around the HERE location based APIs. Stars:13.
  • gomalshare - Go library MalShare API malshare.com Stars:13.
  • go-sophos - Go client library for the Sophos UTM REST API with zero dependencies. Stars:12.
  • go-swagger-ui - Go library containing precompiled Swagger UI for serving swagger json. Stars:11.
  • smite - Go package to wraps access to the Smite game API. Stars:11.
  • rawg-sdk-go - Go library for the RAWG Video Games Database API Stars:11.
  • ip2location-io-go - Go wrapper for the IP2Location.io API IP2Location.io. Stars:10.
  • libgoffi - Library adapter toolbox for native libffi integration Stars:10.
  • rrdaclient - Go Library to access statdns.com API, which is in turn RRDA API. DNS Queries over HTTP. Stars:10.
  • goagi - Go library to build Asterisk PBX agi/fastagi applications. Stars:10.
  • go-chronos - Go library for interacting with the Chronos Job Scheduler Stars:8.
  • google-email-audit-api - Go client library for Google G Suite Email Audit API. Stars:8.
  • go-hibp - Simple Go binding to the "Have I Been Pwned" APIs. Stars:8.
  • tumblr - Go wrapper for the Tumblr v2 API. Stars:8.
  • newsapi-go - Go client for NewsAPI. Stars:7.
  • zooz - Go client for the Zooz API. Stars:7.
  • appstore-sdk-go - Unofficial Golang SDK for AppStore Connect API. Stars:5.
  • go-restcountries - Go library for the REST Countries API. Stars:4.
  • dusupay-sdk-go - Unofficial Dusupay payment gateway API Client for Go Stars:3.
  • TripAdvisor - Go wrapper for the TripAdvisor API. Stars:2.
  • fasapay-sdk-go - Unofficial Fasapay payment gateway XML API Client for Golang. Stars:2.
  • vl-go - Go client library around the VerifID identity verification layer API. Stars:2.
  • gopensky - Go client implementation for OpenSKY Network live's API (airspace ADS-B and Mode S data). Stars:2.
  • playlyfe - The Playlyfe Rest API Go SDK. Stars:2.
  • go-telegraph - Telegraph publishing platform API client.
  • go-yapla - Go client library for the Yapla v2.0 API.

⬆ back to top

Utilities

General utilities and tools to make your life easier.

  • fzf - Command-line fuzzy finder written in Go. Stars:63.5K.
  • dive - A tool for exploring each layer in a Docker image. Stars:45.3K.
  • hub - wrap git commands with additional functionality to interact with github from the terminal. Stars:22.8K.
  • lo - A Lodash like Go library based on Go 1.18+ Generics (map, filter, contains, find...) Stars:16.9K.
  • sqlx - provides a set of extensions on top of the excellent built-in database/sql package. Stars:15.9K.
  • ctop - Top-like interface (e.g. htop) for container metrics. Stars:15.4K.
  • goreleaser - Deliver Go binaries as fast and easily as possible. Stars:13.6K.
  • wuzz - Interactive cli tool for HTTP inspection. Stars:10.5K.
  • usql - usql is a universal command-line interface for SQL databases. Stars:8.9K.
  • peco - Simplistic interactive filtering tool. Stars:7.6K.
  • go-funk - Modern Go utility library which provides helpers (map, find, contains, filter, chunk, reverse, ...). Stars:4.7K.
  • lancet - A comprehensive, efficient, and reusable util function library of go. Stars:4.3K.
  • hystrix-go - Implements Hystrix patterns of programmer-defined fallbacks aka circuit breaker. Stars:4.2K.
  • godropbox - Common libraries for writing Go services/applications from Dropbox. Stars:4.2K.
  • minify - Fast minifiers for HTML, CSS, JS, XML, JSON and SVG file formats. Stars:3.7K.
  • panicparse - Groups similar goroutines and colorizes stack dump. Stars:3.5K.
  • goreporter - Golang tool that does static analysis, unit testing, code review and generate code quality report. Stars:3.1K.
  • mergo - Helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements. Stars:2.8K.
  • mc - Minio Client provides minimal tools to work with Amazon S3 compatible cloud storage and filesystems. Stars:2.8K.
  • 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. Stars:2.5K.
  • retry-go - Simple library for retry mechanism. Stars:2.4K.
  • 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. Stars:2.1K.
  • filetype - Small package to infer the file type checking the magic numbers signature. Stars:2.1K.
  • Storm - Simple and powerful toolkit for BoltDB. Stars:2.1K.
  • jump - Jump helps you navigate faster by learning your habits. Stars:1.8K.
  • boilr - Blazingly fast CLI tool for creating projects from boilerplate templates. Stars:1.7K.
  • mole - cli app to easily create ssh tunnels. Stars:1.7K.
  • Failsafe-go - Fault tolerance and resilience patterns for Go. Stars:1.6K.
  • mimetype - Package for MIME type detection based on magic numbers. Stars:1.6K.
  • gitbatch - manage your git repositories in one place. Stars:1.5K.
  • scany - Library for scanning data from a database into Go structs and more. Stars:1.3K.
  • circuitbreaker - Circuit Breakers in Go. Stars:1.1K.
  • hostctl - A CLI tool to manage /etc/hosts with easy commands. Stars:1.1K.
  • git-time-metric - Simple, seamless, lightweight time tracking for Git. Stars:972.
  • upterm - A tool for developers to share terminal/tmux sessions securely over the web. It’s perfect for remote pair programming, accessing computers behind NATs/firewalls, remote debugging, and more. Stars:826.
  • immortal - *nix cross-platform (OS agnostic) supervisor. Stars:800.
  • circuit - An efficient and feature complete Hystrix like Go implementation of the circuit breaker pattern. Stars:763.
  • changie - Automated changelog tool for preparing releases with lots of customization options. Stars:655.
  • clockwork - A simple fake clock for golang. Stars:644.
  • delve - Go debugger. Stars:630.
  • ergo - The management of multiple local services running over different ports made easy. Stars:621.
  • clipboard - 📋 cross-platform clipboard package in Go. Stars:584.
  • htcat - Parallel and Pipelined HTTP GET Utility. Stars:555.
  • scan - Scan golang sql.Rows directly to structs, slices, or primitive types. Stars:548.
  • koazee - Library inspired in Lazy evaluation and functional programming that takes the hassle out of working with arrays. Stars:527.
  • remote-touchpad - Control mouse and keyboard from a smartphone. Stars:508.
  • godaemon - Utility to write daemons. Stars:493.
  • go-dry - DRY (don't repeat yourself) package for Go. Stars:491.
  • gubrak - Golang utility library with syntactic sugar. It's like lodash, but for golang. Stars:481.
  • gopencils - Small and simple package to easily consume REST APIs. Stars:452.
  • Deepcopier - Simple struct copying for Go. Stars:449.
  • mani - CLI tool to help you manage multiple repositories. Stars:431.
  • request - Go HTTP Requests for Humans™. Stars:425.
  • limiters - Rate limiters for distributed applications in Golang with configurable back-ends and distributed locks. Stars:399.
  • go-rate - Timed rate limiter for Go. Stars:396.
  • countries - Full implementation of ISO-3166-1, ISO-4217, ITU-T E.164, Unicode CLDR and IANA ccTLD standards. Stars:389.
  • grofer - A system and resource monitoring tool written in Golang! Stars:344.
  • retry - The most advanced functional mechanism to perform actions repetitively until successful. Stars:337.
  • serve - A static http server anywhere you need. Stars:334.
  • config-file-validator - Cross Platform tool to validate configuration files. Stars:315.
  • rospo - Simple and reliable ssh tunnels with embedded ssh server in Golang. Stars:303.
  • gotenv - Load environment variables from .env or any io.Reader in Go. Stars:295.
  • util - Collection of useful utility functions. (strings, concurrency, manipulations, ...). Stars:290.
  • wifiqr - Wi-Fi QR Code Generator. Stars:261.
  • gohper - Various tools/modules help for development. Stars:255.
  • go-trigger - Go-lang global event triggerer, Register Events with an id and trigger the event from anywhere from your project. Stars:246.
  • pattern-match - Pattern matching library. Stars:243.
  • go-sitemap-generator - XML Sitemap generator written in Go. Stars:217.
  • Death - Managing go application shutdown with signals. Stars:196.
  • toolbox - Slice, map, multimap, struct, function, data conversion utilities. Service router, macro evaluator, tokenizer. Stars:196.
  • go-bind-plugin - go:generate tool for wrapping symbols exported by golang plugins (1.8 only). Stars:184.
  • moldova - Utility for generating random data based on an input template. Stars:168.
  • rerun - Recompiling and rerunning go apps when source changes. Stars:167.
  • apm - Process manager for Golang applications with an HTTP API. Stars:166.
  • go-bsdiff - Pure Go bsdiff and bspatch libraries and CLI tools. Stars:161.
  • robustly - Runs functions resiliently, catching and restarting panics. Stars:157.
  • chyle - Changelog generator using a git repository with multiple configuration possibilities. Stars:156.
  • cryptgo - Crytpgo is a TUI based application written purely in Go to monitor and observe cryptocurrency prices in real time! Stars:154.
  • cmd - Library for executing shell commands on osx, windows and linux. Stars:154.
  • goval - Evaluate arbitrary expressions in Go. Stars:154.
  • filter - provide filtering, sanitizing, and conversion of Go data. Stars:150.
  • nostromo - CLI for building powerful aliases. Stars:142.
  • onecache - Caching library with support for multiple backend stores (Redis, Memcached, filesystem etc). Stars:136.
  • sorty - Fast Concurrent / Parallel Sorting. Stars:132.
  • mongo-go-pagination - Mongodb Pagination for official mongodb/mongo-go-driver package which supports both normal queries and Aggregation pipelines. Stars:130.
  • lrserver - LiveReload server for Go. Stars:125.
  • gitcs - Git Commits Visualizer, CLI tool to visualize your Git commits on your local machine. Stars:115.
  • go-lock - go-lock is a lock library implementing read-write mutex and read-write trylock without starvation. Stars:114.
  • goseaweedfs - SeaweedFS client library with almost full features. Stars:114.
  • cookie - Cookie struct parsing and helper package. Stars:110.
  • mssqlx - Database client library, proxy for any master slave, master master structures. Lightweight and auto balancing in mind. Stars:102.
  • xferspdy - Xferspdy provides binary diff and patch library in golang. Stars:100.
  • mimemagic - Pure Go ultra performant MIME sniffing library/utility. Stars:99.
  • go-health - Health package simplifies the way you add health check to your services. Stars:95.
  • go-pattern-match - A Pattern matching library inspired by ts-pattern. Stars:92.
  • go-lambda-cleanup - A CLI for removing unused or previous versions of AWS Lambdas. Stars:90.
  • countries - All you need when you are working with countries in Go. Stars:87.
  • pgo - Convenient functions for PHP community. Stars:86.
  • repeat - Go implementation of different backoff strategies useful for retrying operations and heartbeating. Stars:86.
  • equalizer - Quota manager and rate limiter collection for Go. Stars:81.
  • handy - Many utilities and helpers like string handlers/formatters and validators. Stars:81.
  • pm - Process (i.e. goroutine) manager with an HTTP API. Stars:80.
  • netbug - Easy remote profiling of your services. Stars:73.
  • UNIS - Common Architecture™ for String Utilities in Go. Stars:70.
  • multitick - Multiplexor for aligned tickers. Stars:70.
  • goreadability - Webpage summary extractor using Facebook Open Graph and arc90's readability. Stars:69.
  • retry - Simple and easy retry mechanism package for Go. Stars:66.
  • backscanner - A scanner similar to bufio.Scanner, but it reads and returns lines in reverse order, starting at a given position and going backward. Stars:64.
  • go-astitodo - Parse TODOs in your GO code. Stars:63.
  • scan - Scan sql rows into any type powered by generics. Stars:63.
  • minquery - MongoDB / mgo.v2 query that supports efficient pagination (cursors to continue listing documents where we left off). Stars:62.
  • golog - Easy and lightweight CLI tool to time track your tasks. Stars:61.
  • dbt - A framework for running self-updating signed binaries from a central, trusted repository. Stars:60.
  • shutdown - App shutdown hooks for os.Signal handling. Stars:58.
  • golarm - Fire alarms with system events. Stars:53.
  • slice - Type-safe functions for common Go slice operations. Stars:51.
  • copy-pasta - Universal multi-workstation clipboard that uses S3 like backend for the storage. Stars:50.
  • goback - Go simple exponential backoff package. Stars:49.
  • retry-go - Retrying made simple and easy for golang. Stars:49.
  • cvt - Easy and safe convert any value to another type. Stars:48.
  • copy - Package for fast copying structs of different types. Stars:48.
  • intrinsic - Use x86 SIMD without writing any assembly code. Stars:47.
  • go-httpheader - Go library for encoding structs into Header fields. Stars:47.
  • sshman - SSH Manager for authorized_keys files on multiple remote servers. Stars:47.
  • set - Performant and flexible struct mapping and loose type conversion. Stars:46.
  • slicer - Makes working with slices easier. Stars:45.
  • gostrutils - Collections of string manipulation and conversion functions. Stars:45.
  • ghokin - Parallelized formatter with no external dependencies for gherkin (cucumber, behat...). Stars:43.
  • pointer - Package pointer contains helper routines for simplifying the creation of optional fields of basic type. Stars:42.
  • yogo - Check yopmail mails from command line. Stars:41.
  • gpath - Library to simplify access struct fields with Go's expression in reflection. Stars:40.
  • evaluator - Evaluate an expression dynamically based on s-expression. It's simple and easy to extend. Stars:39.
  • throttle - Throttle is an object that will perform exactly one action per duration. Stars:37.
  • rclient - Readable, flexible, simple-to-use client for REST APIs. Stars:35.
  • tome - Tome was designed to paginate simple RESTful APIs. Stars:35.
  • myhttp - Simple API to make HTTP GET requests with timeout support. Stars:34.
  • gofn - High performance utility functions written using Generics for Go 1.18+. Stars:33.
  • mimesniffer - A MIME type sniffer for Go. Stars:33.
  • watchhttp - Run command periodically and expose latest STDOUT or its rich delta as HTTP endpoint. Stars:32.
  • just - Just a collection of useful functions for working with generic data structures. Stars:31.
  • generate - runs go generate recursively on a specified path or environment variable and can filter by regex. Stars:30.
  • goplaceholder - a small golang lib to generate placeholder images. Stars:29.
  • ugo - ugo is slice toolbox with concise syntax for Go. Stars:27.
  • ptr - Package that provide functions for simplified creation of pointers from constants of basic types. Stars:27.
  • graterm - Provides primitives to perform ordered (sequential/concurrent) GRAceful TERMination (aka shutdown) in Go application. Stars:26.
  • ctxutil - A collection of utility functions for contexts. Stars:25.
  • structs - Implement simple functions to manipulate structs. Stars:24.
  • go-qr - A native, high-quality and minimalistic QR code generator. Stars:24.
  • go-convert - Package go-convert enables you to convert a value into another type. Stars:23.
  • jsend - JSend's implementation written in Go. Stars:22.
  • filler - small utility to fill structs using "fill" tag. Stars:18.
  • go-type - Library providing Go types for store/validation and transfer of ISO-4217, ISO-3166, and other types. Stars:18.
  • dlog - Compile-time controlled logger to make your release smaller without removing debug calls. Stars:17.
  • go-problemdetails - Go package for working with Problem Details. Stars:17.
  • contextplus - Package contextplus provide more easy to use functions for contexts. Stars:16.
  • okrun - go run error steamroller. Stars:16.
  • rest-go - A package that provide many helpful methods for working with rest api. Stars:16.
  • go-actuator - Production ready features for Go based web frameworks. Stars:15.
  • command - Command pattern for Go with thread safe serial and parallel dispatcher. Stars:14.
  • go-countries - Lightweight lookup over ISO-3166 codes. Stars:13.
  • go-clip - A minimalistic clipboard manager for Mac. Stars:13.
  • blank - Verify or remove blanks and whitespace from strings. Stars:13.
  • silk - Read silk netflow files. Stars:13.
  • retry - A pretty simple library to ensure your work to be done. Stars:12.
  • statiks - Fast, zero-configuration, static HTTP filer server. Stars:11.
  • bleep - Perform any number of actions on any set of OS signals in Go. Stars:11.
  • retry - A simple but highly configurable retry package for Go. Stars:10.
  • sliceconv - Slice conversion between primitive types. Stars:10.
  • nfdump - Read nfdump netflow files. Stars:9.
  • loncha - A high-performance slice Utilities. Stars:9.
  • goctx - Get your context value with high performance. Stars:9.
  • reflectutils - Helpers for working with reflection: struct tag parsing; recursive walking; fill value from string. Stars:8.
  • lets-go - Go module that provides common utilities for Cloud Native REST API development. Also contains AWS Specific utilities. Stars:7.
  • olaf - Twitter Snowflake implemented in Go. Stars:6.
  • go-pkg - A go toolkit. Stars:6.
  • tik - Simple and easy timing wheel package for Go. Stars:5.
  • objwalker - Walk by go objects with reflection. Stars:2.

⬆ back to top

UUID

Libraries for working with UUIDs.

  • uuid - Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services. Stars:5.2K.
  • ulid - Go implementation of ULID (Universally Unique Lexicographically Sortable Identifier). Stars:4.4K.
  • xid - Xid is a globally unique id generator library, ready to be safely used directly in your server code. Stars:3.9K.
  • uuid - Implementation of Universally Unique Identifier (UUID). Supports both creation and parsing of UUIDs. Actively maintained fork of satori uuid. Stars:1.6K.
  • wuid - An extremely fast globally unique number generator. Stars:529.
  • sno - Compact, sortable and fast unique IDs with embedded metadata. Stars:90.
  • nanoid - A tiny and efficient Go unique string ID generator. Stars:61.
  • goid - Generate and Parse RFC4122 compliant V4 UUIDs. Stars:41.
  • gouid - Generate cryptographically secure random string IDs with just one allocation. Stars:23.
  • uuid - Generate, encode, and decode UUIDs v1 with fast or cryptographic-quality random node identifier. Stars:18.
  • fastuuid - Fast generate UUIDv4 as string or bytes.
  • uniq - No hassle safe, fast unique identifiers with commands.

⬆ back to top

Validation

Libraries for validation.

  • validator - Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving. Stars:16.4K.
  • govalidator - Validators and sanitizers for strings, numerics, slices and structs. Stars:6.0K.
  • 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. Stars:3.7K.
  • govalidator - Validate Golang request data with simple rules. Highly inspired by Laravel's request validation. Stars:1.3K.
  • validate - Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features. Stars:1.1K.
  • checkdigit - Provide check digit algorithms (Luhn, Verhoeff, Damm) and calculators (ISBN, EAN, JAN, UPC, etc.). Stars:111.
  • jio - jio is a json schema validator similar to joi. Stars:110.
  • validate - This package provides a framework for writing validations for Go applications. Stars:95.
  • gody - 🎈 A lightweight struct validator for Go. Stars:68.
  • govalid - Fast, tag-based validation for structs. Stars:43.
  • valix Go package for validating requests Stars:27.
  • go-validator - Validation library using Generics. Stars:10.
  • hvalid hvalid is a lightweight validation library written in Go language. It provides a custom validator interface and a series of common validation functions to help developers quickly implement data validation. Stars:9.
  • Validator - A lightweight model validator written in Go.Contains VFs:Min, Max, MinLength, MaxLength, Length, Enum, Regex. Stars:7.

⬆ back to top

Version Control

Libraries for version control.

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

⬆ back to top

Video

Libraries for manipulating video.

  • goav - Comprehensive Go bindings for FFmpeg. Stars:2.1K.
  • m3u8 - Parser and generator library of M3U8 playlists for Apple HLS. Stars:1.2K.
  • gmf - Go bindings for FFmpeg av* libraries. Stars:885.
  • gortsplib - Pure Go RTSP server and client library. Stars:657.
  • go-astisub - Manipulate subtitles in GO (.srt, .stl, .ttml, .webvtt, .ssa/.ass, teletext, .smi, etc.). Stars:566.
  • go-astits - Parse and demux MPEG Transport Streams (.ts) natively in GO. Stars:538.
  • libvlc-go - Go bindings for libvlc 2.X/3.X/4.X (used by the VLC media player). Stars:425.
  • go-astiav - Better C bindings for ffmpeg in GO. Stars:247.
  • gst - Go bindings for GStreamer. Stars:169.
  • v4l - Video capture library for Linux, written in Go. Stars:79.
  • 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. Stars:29.
  • libgosubs - Subtitle format support for go. Supports .srt, .ttml, and .ass. Stars:26.
  • go-mpd - Parser and generator library for MPEG-DASH manifest files. Stars:24.

⬆ back to top

Web Frameworks

Full stack web frameworks.

  • 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. Stars:77.7K.
  • Fiber - An Express.js inspired web framework build on Fasthttp. Stars:32.8K.
  • Beego - beego is an open-source, high-performance web framework for the Go programming language. Stars:31.4K.
  • Echo - High performance, minimalist Go web framework. Stars:29.4K.
  • Revel - High-productivity web framework for the Go language. Stars:13.1K.
  • GoFrame - GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang. Stars:11.4K.
  • Goa - Goa provides a holistic approach for developing remote APIs and microservices in Go. Stars:5.6K.
  • Hertz - A high-performance and strong-extensibility Go HTTP framework that helps developers build microservices. Stars:5.1K.
  • Gizmo - Microservice toolkit used by the New York Times. Stars:3.8K.
  • go-json-rest - Quick and easy way to setup a RESTful JSON API. Stars:3.5K.
  • Macaron - Macaron is a high productive and modular design web framework in Go. Stars:3.5K.
  • utron - Lightweight MVC framework for Go(Golang). Stars:2.2K.
  • Huma - Framework for modern REST/GraphQL APIs with built-in OpenAPI 3, generated documentation, and a CLI. Stars:1.8K.
  • GoFr - Gofr is an opinionated microservice development framework. Stars:1.7K.
  • Goyave - Feature-complete REST API framework aimed at clean code and fast development, with powerful built-in functionalities. Stars:1.6K.
  • REST Layer - Framework to build REST/GraphQL API on top of databases with mostly configuration over code. Stars:1.3K.
  • Atreugo - High performance and extensible micro web framework with zero memory allocations in hot paths. Stars:1.2K.
  • tigertonic - Go framework for building JSON web services inspired by Dropwizard. Stars:997.
  • tango - Micro & pluggable web framework for Go. Stars:832.
  • Fuego - The framework for busy Go developers! Web framework generating OpenAPI 3 spec from source code. Stars:769.
  • Gearbox - A web framework written in Go with a focus on high performance and memory optimization. Stars:753.
  • Aero - High-performance web framework for Go, reaches top scores in Lighthouse. Stars:572.
  • rk-boot - A bootstrapper library for building enterprise go microservice with Gin and gRPC quickly and easily. Stars:513.
  • gongular - Fast Go web framework with input mapping/validation and (DI) Dependency Injection. Stars:502.
  • 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. Stars:498.
  • 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. Stars:442.
  • Air - An ideally refined web framework for Go. Stars:441.
  • neo - Neo is minimal and fast Go Web Framework with extremely simple API. Stars:419.
  • mango - Mango is a modular web-application framework for Go, inspired by Rack, and PEP333. Stars:372.
  • Yokai - Simple, modular, and observable Go framework for backend applications. Stars:351.
  • uAdmin - Fully featured web framework for Golang, inspired by Django. Stars:335.
  • Gondola - The web framework for writing faster sites, faster. Stars:312.
  • 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). Stars:305.
  • Ginrpc - Gin parameter automatic binding tool,gin rpc tools. Stars:289.
  • 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. Stars:269.
  • Fastschema - A flexible Go web framework and Headless CMS. Stars:200.
  • hiboot - hiboot is a high performance web application framework with auto configuration and dependency injection support. Stars:180.
  • appy - An opinionated productive web framework that helps scaling business easier. Stars:132.
  • go-rest - Small and evil REST framework for Go. Stars:128.
  • patron - Patron is a microservice framework following best cloud practices with a focus on productivity. Stars:123.
  • Microservice - The framework for the creation of microservices, written in Golang. Stars:114.
  • Gone - A lightweight dependency injection and web framework inspired by Spring. Stars:113.
  • rux - Simple and fast web framework for build golang HTTP applications. Stars:97.
  • vox - A golang web framework for humans, inspired by Koa heavily. Stars:84.
  • Golax - A non Sinatra fast HTTP framework with support for Google custom methods, deep interceptors, recursion and more. Stars:75.
  • YARF - Fast micro-framework designed to build REST APIs and web services in a fast and simple way. Stars:67.
  • Fireball - More "natural" feeling web framework. Stars:60.
  • Don - A highly performant and simple to use API framework. Stars:50.
  • goa - goa is just like koajs for golang, it is a flexible, light, high-performance and extensible web framework based on middleware. Stars:49.
  • GoTuna - Minimalistic web framework for Go with mux router, middlewares, sessions, templates, embedded views and static files. Stars:48.
  • Pulse - Pulse is an HTTP web framework written in Go (Golang) Stars:37.
  • goweb - Web framework with routing, websockets, logging, middleware, static file server (optional gzip), and automatic TLS. Stars:36.
  • Resoursea - REST framework for quickly writing resource based services. Stars:35.
  • rex - Rex is a library for modular development built upon gorilla/mux, fully compatible with net/http. Stars:33.
  • Banjo - Very simple and fast web framework for Go. Stars:24.
  • Lit - Highly performant declarative web framework for Golang, aiming for simplicity and quality of life. Stars:24.
  • golamb - Golamb makes it easier to write API endpoints for use with AWS Lambda and API Gateway. Stars:7.
  • anoweb - The lightweight and powerful web framework using the new way for Go.Another go the way. Stars:5.
  • 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.
  • Buffalo - Bringing the productivity of Rails to Go!
  • aah - Scalable, performant, rapid development Web framework for Go.
  • Pnutmux - Pnutmux is a powerful Go web framework that uses regex for matching and handling HTTP requests. It offers features such as CORS handling, structured logging, URL parameters extraction, middlewares, and concurrency limiting.

⬆ back to top

Middlewares
Actual middlewares
  • Tollbooth - Rate limit HTTP request handler. Stars:2.6K.
  • CORS - Easily add CORS capabilities to your API. Stars:2.6K.
  • Limiter - Dead simple rate limit middleware for Go. Stars:2.0K.
  • go-server-timing - Add/parse Server-Timing header. Stars:863.
  • go-fault - Fault injection middleware for Go. Stars:501.
  • ln-paywall - Go middleware for monetizing APIs on a per-request basis with the Lightning Network (Bitcoin). Stars:146.
  • XFF - Handle X-Forwarded-For header and friends. Stars:98.
  • rk-grpc - Middleware for gRPC with logging, metrics, auth, tracing etc. Stars:74.
  • rk-gin - Middleware for Gin framework with logging, metrics, auth, tracing etc. Stars:45.
  • formjson - Transparently handle JSON input as a standard form POST. Stars:39.
  • client-timing - An HTTP client for Server-Timing header. Stars:24.
  • echo-middleware - Middleware for Echo framework with logging and metrics. Stars:15.
  • mid - Miscellaneous HTTP middleware features: idiomatic error return from handlers; receive/respond with JSON data; request tracing; and more. Stars:9.
Libraries for creating HTTP middlewares
  • negroni - Idiomatic HTTP middleware for Golang. Stars:7.4K.
  • alice - Painless middleware chaining for Go. Stars:3.1K.
  • render - Go package for easily rendering JSON, XML, and HTML template responses. Stars:1.9K.
  • stats - Go middleware that stores various information about your web application. Stars:595.
  • interpose - Minimalist net/http middleware for golang. Stars:294.
  • renderer - Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go. Stars:262.
  • muxchain - Lightweight middleware for net/http. Stars:208.
  • gores - Go package that handles HTML, JSON, XML and etc. responses. Useful for RESTful APIs. Stars:102.
  • rye - Tiny Go middleware library (with canned Middlewares) that supports JWT, CORS, Statsd, and Go 1.7 context. Stars:102.
  • mediary - add interceptors to http.Client to allow dumping/shaping/tracing/... of requests/responses. Stars:88.
  • chain - Handler wrapper chaining with scoped data (net/context-based "middleware"). Stars:63.
  • catena - http.Handler wrapper catenation (same API as "chain"). Stars:9.

⬆ back to top

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

⬆ back to top

WebAssembly

  • tinygo - Go compiler for small places. Microcontrollers, WebAssembly, and command-line tools. Based on LLVM. Stars:15.1K.
  • dom - DOM library. Stars:487.
  • go-canvas - Library to use HTML5 Canvas, with all drawing within go code. Stars:243.
  • wasmbrowsertest - Run Go WASM tests in your browser. Stars:186.
  • webapi - Bindings for DOM and HTML generated from WebIDL. Stars:174.
  • vert - Interop between Go and JS values. Stars:100.
  • Extism Go SDK - Universal, cross-language WebAssembly framework for building plug-in systems and polyglot apps. Stars:70.

⬆ back to top

Windows

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

⬆ back to top

XML

Libraries and tools for manipulating XML.

  • zek - Generate a Go struct from XML. Stars:742.
  • xpath - XPath package for Go. Stars:676.
  • xquery - XQuery lets you extract data from HTML/XML documents using XPath expression. Stars:157.
  • xml2map - XML to MAP converter written Golang. Stars:63.
  • xmlwriter - Procedural XML generation API based on libxml2's xmlwriter module. Stars:28.
  • XML-Comp - Simple command line XML comparer that generates diffs of folders, files and tags. Stars:21.

Zero Trust

Libraries and tools to implement Zero Trust architectures.

  • Cosign - Container Signing, Verification and Storage in an OCI registry. Stars:4.3K.
  • Spire - SPIRE (the SPIFFE Runtime Environment) is a toolchain of APIs for establishing trust between software systems across a wide variety of hosting platforms. Stars:1.8K.
  • in-toto - Go implementation of the in-toto (provides a framework to protect the integrity of the software supply chain) python reference implementation. Stars:128.
  • Spiffe-Vault - Utilizes Spiffe JWT authentication with Hashicorp Vault for secretless authentication. Stars:81.

Code Analysis

Source code analysis tools, also known as Static Application Security Testing (SAST) Tools.

  • golangci-lint – A fast Go linters runner. It runs linters in parallel, uses caching, supports yaml config, has integrations with all major IDE and has dozens of linters included. Stars:15.2K.
  • 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#. Stars:6.1K.
  • revive – ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint. Stars:4.7K.
  • errcheck - Errcheck is a program for checking for unchecked errors in Go programs. Stars:2.3K.
  • go-critic - source code linter that brings checks that are currently not implemented in other linters. Stars:1.8K.
  • GoPlantUML - Library and CLI that generates text plantump class diagram containing information about structures and interfaces with the relationship among them. Stars:1.8K.
  • gcvis - Visualise Go program GC trace data in real time. Stars:1.1K.
  • php-parser - A Parser for PHP written in Go. Stars:936.
  • golines - Formatter that automatically shortens long lines in Go code. Stars:899.
  • go-cleanarch - go-cleanarch was created to validate Clean Architecture rules, like a The Dependency Rule and interaction between packages in your Go projects. Stars:845.
  • goast-viewer - Web based Golang AST visualizer. Stars:767.
  • go-mod-outdated - An easy way to find outdated dependencies of your Go projects. Stars:647.
  • vacuum - An ultra-super-fast, lightweight OpenAPI linter and quality checking tool. Stars:549.
  • Chronos - Detects race conditions statically Stars:425.
  • todocheck - Static code analyser which links TODO comments in code with issues in your issue tracker. Stars:421.
  • unconvert - Remove unnecessary type conversions from Go source. Stars:376.
  • dupl - Tool for code clone detection. Stars:342.
  • tickgit - CLI and go package for surfacing code comment TODOs (in any language) and applying a git blameto identify the author. Stars:322.
  • gostatus - Command line tool, shows the status of repositories that contain Go packages. Stars:244.
  • apicompat - Checks recent changes to a Go project for backwards incompatible changes. Stars:179.
  • go-checkstyle - checkstyle is a style check tool like java checkstyle. This tool inspired by java checkstyle, golint. The style referred to some points in Go Code Review Comments. Stars:129.
  • testifylint – A linter that checks usage of github.com/stretchr/testify. Stars:96.
  • asty - Converts golang AST to JSON and JSON to AST. Stars:78.
  • lint - Run linters as part of go test. Stars:67.
  • validate - Automatically validates struct fields with tags. Stars:61.
  • ChainJacking - Find which of your Go lang direct GitHub dependencies is susceptible to ChainJacking attack. Stars:55.
  • usestdlibvars - A linter that detect the possibility to use variables/constants from the Go standard library. Stars:43.
  • go-outdated - Console application that displays outdated packages. Stars:43.
  • golang-ifood-sdk - iFood API SDK. Stars:11.
  • goreturns - Adds zero-value return statements to match the func return types.
  • blanket - blanket is a tool that helps you catch functions which don't have direct unit tests in your Go packages.
  • goimports - Tool to fix (add, remove) your Go imports automatically.

⬆ back to top

Editor Plugins

Plugin for text editors and IDEs.

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

⬆ back to top

Go Generate Tools

  • gotests - Generate Go tests from your source code. Stars:4.9K.
  • genny - Elegant generics for Go. Stars:1.7K.
  • xgen - XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator. Stars:315.
  • hasgo - Generate Haskell inspired functions for your slices. Stars:139.
  • gonerics - Idiomatic Generics in Go. Stars:114.
  • gocontracts - brings design-by-contract to Go by synchronizing the code with the documentation. Stars:109.
  • sqlgen - Generate gorm, xorm, sqlx, bun, sql code from SQL file or DSN. Stars:82.
  • gounit - Generate Go tests using your own templates. Stars:80.
  • options-gen - Functional options described by Dave Cheney's post "Functional options for friendly APIs". Stars:77.
  • envdoc - generate documentation for environment variables from Go source files. Stars:50.
  • generic - flexible data type for Go. Stars:48.
  • godal - Generate orm models corresponding to golang by specifying sql ddl file, which can be used by gorm. Stars:18.
  • re2dfa - Transform regular expressions into finite state machines and output Go source code.
  • TOML-to-Go - Translates TOML into a Go type in the browser instantly.

⬆ back to top

Go Tools

  • go-swagger - Swagger 2.0 implementation for go. Swagger is a simple yet powerful representation of your RESTful API. Stars:9.4K.
  • go-callvis - Visualize call graph of your Go program using dot format. Stars:5.9K.
  • OctoLinker - Navigate through go files efficiently with the OctoLinker browser extension for GitHub. Stars:5.3K.
  • go-size-analyzer - Analyze and visualize the size of dependencies in compiled Golang binaries, providing insight into their impact on the final build. Stars:1.1K.
  • depth - Visualize dependency trees of any package by analyzing imports. Stars:909.
  • richgo - Enrich go test outputs with text decorations. Stars:845.
  • rts - RTS: response to struct. Generates Go structs from server responses. Stars:249.
  • godbg - Implementation of Rusts dbg! macro for quick and easy debugging during development. Stars:202.
  • typex - Examine Go types and their transitive dependencies, alternatively export results as TypeScript value objects (or types) declaration. Stars:196.
  • roumon - Monitor current state of all active goroutines via a command line interface. Stars:179.
  • gothanks - GoThanks automatically stars your go.mod github dependencies, sending this way some love to their maintainers. Stars:124.
  • colorgo - Wrapper around go command for colorized go build output. Stars:113.
  • gotestdox - Show Go test results as readable sentences. Stars:109.
  • igo - An igo to go transpiler (new language features for Go language!) Stars:66.
  • docs - Automatically generate RESTful API documentation for GO projects - aligned with Open API Specification standard. Stars:39.
  • gomodrun - Go tool that executes and caches binaries included in go.mod files. Stars:34.
  • decouple - Find “overspecified” function parameters that could be generalized with interface types. Stars:21.
  • modver - Compare two versions of a Go module to check the version-number change required (major, minor, or patchlevel), according to semver rules. Stars:18.
  • textra - Extract Go struct field names, types and tags for filtering and exporting. Stars:6.
  • gotemplate.io - Online tool to preview text/template templates live.

⬆ back to top

Software Packages

Software written in Go.

⬆ back to top

DevOps Tools
  • kubernetes - Container Cluster Manager from Google. Stars:109.5K.
  • Moby - Collaborative project for the container ecosystem to assemble container-based systems. Stars:68.4K.
  • traefik - Reverse proxy and load balancer with support for multiple backends. Stars:49.9K.
  • Gitea - Fork of Gogs, entirely community driven. Stars:43.9K.
  • minikube - Run Kubernetes locally. Stars:29.1K.
  • k3s - Lightweight Kubernetes. Stars:27.4K.
  • k6 - A modern load testing tool, using Go and JavaScript. Stars:24.8K.
  • Vegeta - HTTP load testing tool and library. It's over 9000! Stars:23.3K.
  • Hey - Hey is a tiny program that sends some load to a web application. Stars:17.9K.
  • Packer - Packer is a tool for creating identical machine images for multiple platforms from a single source configuration. Stars:15.0K.
  • kind - Kubernetes IN Docker - local clusters for testing Kubernetes. Stars:13.2K.
  • kubeshark - API traffic analyzer for Kubernetes, inspired by Wireshark, purposely built for Kubernetes. Stars:10.9K.
  • webhook - Tool which allows user to create HTTP endpoints (hooks) that execute commands on the server. Stars:10.2K.
  • GVM - GVM provides an interface to manage Go versions. Stars:10.1K.
  • Flannel - Flannel is a network fabric for containers, designed for Kubernetes. Stars:8.7K.
  • Ddosify - High-performance load testing tool, written in Golang. Stars:8.4K.
  • ko - Command line tool for building and deploying Go applications on Kubernetes Stars:7.5K.
  • KubeVela - Cloud native application delivery. Stars:6.3K.
  • bombardier - Fast cross-platform HTTP benchmarking tool. Stars:5.5K.
  • podinfo - Podinfo is a tiny web application made with Go that showcases best practices of running microservices in Kubernetes. Podinfo is used by CNCF projects like Flux and Flagger for end-to-end testing and workshops. Stars:5.3K.
  • k3d - Little helper to run CNCF's k3s in Docker. Stars:5.3K.
  • script - Making it easy to write shell-like scripts in Go for DevOps and system administration tasks. Stars:5.3K.
  • gaia - Build powerful pipelines in any programming language. Stars:5.2K.
  • gox - Dead simple, no frills Go cross compile tool. Stars:4.6K.
  • Pomerium - Pomerium is an identity-aware access proxy. Stars:4.0K.
  • bosun - Time Series Alerting Framework. Stars:3.4K.
  • tau - Easily build Cloud Computing Platforms with features like Serverless WebAssembly Functions, Frontend Hosting, CI/CD, Object Storage, K/V Database, and Pub-Sub Messaging. Stars:3.1K.
  • Fleet device management - Lightweight, programmable telemetry for servers and workstations. Stars:2.9K.
  • s5cmd - Blazing fast S3 and local filesystem execution tool. Stars:2.6K.
  • kala - Simplistic, modern, and performant job scheduler. Stars:2.1K.
  • kubeblocks - KubeBlocks is an open-source control plane that runs and manages databases, message queues and other data infrastructure on K8s. Stars:2.0K.
  • fac - Command-line user interface to fix git merge conflicts. Stars:1.8K.
  • goxc - build tool for Go, with a focus on cross-compiling and packaging. Stars:1.7K.
  • 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. Stars:1.6K.
  • ghorg - Quickly clone an entire org/users repositories into one directory - Supports GitHub, GitLab, Gitea, and Bitbucket. Stars:1.5K.
  • go-selfupdate - Enable your Go applications to self update. Stars:1.5K.
  • tlm - Local cli copilot, powered by CodeLLaMa Stars:1.2K.
  • uTask - Automation engine that models and executes business processes declared in yaml. Stars:1.2K.
  • s3gof3r - Small utility/library optimized for high speed transfer of large objects into and out of Amazon S3. Stars:1.1K.
  • PipeCD - A GitOps-style continuous delivery platform that provides consistent deployment and operations experience for any applications. Stars:1.1K.
  • kwatch - Monitor & detect crashes in your Kubernetes(K8s) cluster instantly. Stars:957.
  • skm - SKM is a simple and powerful SSH Keys Manager, it helps you to manage your multiple SSH keys easily! Stars:951.
  • Scaleway-cli - Manage BareMetal Servers from Command Line (as easily as with Docker). Stars:878.
  • KusionStack - A unified programmable configuration techstack to deliver modern app in 'platform as code' and 'infra as code' approach. Stars:852.
  • cassowary - Modern cross-platform HTTP load-testing tool written in Go. Stars:754.
  • kool - Command line tool for managing Docker environments as an easy way. Stars:660.
  • aurora - Cross-platform web-based Beanstalkd queue server console. Stars:596.
  • govvv - “go build” wrapper to easily add version information into Go binaries. Stars:538.
  • KubeVPN - KubeVPN offers a Cloud-Native Dev Environment that seamlessly connects to your Kubernetes cluster network. Stars:530.
  • Pewpew - Flexible HTTP command line stress tester. Stars:415.
  • jcli - Jenkins CLI allows you manage your Jenkins as an easy way. Stars:387.
  • gobrew - Go version manager. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash. Stars:362.
  • 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. Stars:339.
  • 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. Stars:330.
  • lstags - Tool and API to sync Docker images across different registries. Stars:327.
  • easyssh-proxy - Golang package for easy remote execution through SSH and SCP downloading via ProxyCommand. Stars:319.
  • Mora - REST server for accessing MongoDB documents and meta data. Stars:315.
  • Balerter - A self-hosted script-based alerting manager. Stars:299.
  • manssh - manssh is a command line tool for managing your ssh alias config easily. Stars:297.
  • s3-proxy - S3 Proxy with GET, PUT and DELETE methods and authentication (OpenID Connect and Basic Auth). Stars:294.
  • 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. Stars:274.
  • dogo - Monitoring changes in the source file and automatically compile and run (restart). Stars:267.
  • godbg - Web-based gdb front-end application. Stars:229.
  • Blast - A simple tool for API load testing and batch jobs. Stars:216.
  • abbreviate - abbreviate is a tool turning long strings in to shorter ones with configurable separators, for example to embed branch names in to deployment stack IDs. Stars:216.
  • kcli - Command line tool for inspecting kafka topics/partitions/messages. Stars:213.
  • gobrew - gobrew lets you easily switch between multiple versions of go. Stars:194.
  • ostent - collects and displays system metrics and optionally relays to Graphite and/or InfluxDB. Stars:179.
  • grapes - Lightweight tool designed to distribute commands over ssh with ease. Stars:167.
  • Dockerfile-Generator - A go library and an executable that produces valid Dockerfiles using various input channels. Stars:167.
  • winrm-cli - Cli tool to remotely execute commands on Windows machines. Stars:164.
  • tf-profile - Profiler for Terraform runs. Generate global stats, resource-level stats or visualizations. Stars:148.
  • drone-scp - Copy files and artifacts via SSH using a binary, docker or Drone CI. Stars:142.
  • 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. Stars:109.
  • go-rocket-update - A simple way to make self updating Go applications - Supports Github and Gitlab. Stars:100.
  • go-furnace - Hosting solution written in Go. Deploy your Application with ease on AWS, GCP or DigitalOcean. Stars:98.
  • decompose - tool to generate and process Docker containers connections graphs. Stars:82.
  • Dropship - Tool for deploying code via cdn. Stars:64.
  • docker-go-mingw - Docker image for building Go binaries for Windows with MinGW toolchain. Stars:43.
  • drone-jenkins - Trigger downstream Jenkins jobs using a binary, docker or Drone CI. Stars:38.
  • httpref - httpref is a handy CLI reference for HTTP methods, status codes, headers, and TCP and UDP ports. Stars:36.
  • awsenv - Small binary that loads Amazon (AWS) environment variables for a profile. Stars:34.
  • Rodent - Rodent helps you manage Go versions, projects and track dependencies. Stars:33.
  • lwc - A live-updating version of the UNIX wc command. Stars:32.
  • DepCharge - Helps orchestrating the execution of commands across the many dependencies in larger projects. Stars:23.
  • wait-for - Wait for something to happen (from the command line) before continuing. Easy orchestration of Docker services and other things. Stars:18.
  • aptly - aptly is a Debian repository management tool. Stars:12.
  • 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. Stars:8.
  • gitea-github-migrator - Migrate all your GitHub repositories, issues, milestones and labels to your Gitea instance.
  • Docker - Open platform for distributed applications for developers and sysadmins.
  • Gogs - A Self Hosted Git Service in the Go Programming Language.
  • Wide - Web-based IDE for Teams using Golang.

⬆ back to top

Other Software
  • croc - Easily and securely send files or folders from one computer to another. Stars:27.5K.
  • restic - De-duplicating backup program. Stars:25.6K.
  • Seaweed File System - Fast, Simple and Scalable Distributed File System with O(1) disk seek. Stars:22.1K.
  • Gor - Http traffic replication tool, for replaying traffic from production to stage/dev environments in real-time. Stars:18.5K.
  • toxiproxy - Proxy to simulate network and system conditions for automated tests. Stars:10.6K.
  • JuiceFS - Distributed POSIX file system built on top of Redis and AWS S3. Stars:10.4K.
  • Comcast - Simulate bad network connections. Stars:10.3K.
  • confd - Manage local application configuration files using templates and data from etcd or consul. Stars:8.3K.
  • LiteIDE - LiteIDE is a simple, open source, cross-platform Go IDE. Stars:7.5K.
  • drive - Google Drive client for the commandline. Stars:6.7K.
  • scc - Sloc Cloc and Code, a very fast accurate code counter with complexity calculations and COCOMO estimates. Stars:6.5K.
  • nes - Nintendo Entertainment System (NES) emulator written in Go. Stars:5.4K.
  • Duplicacy - A cross-platform network and cloud backup tool based on the idea of lock-free deduplication. Stars:5.1K.
  • blocky - Fast and lightweight DNS proxy as ad-blocker for local network with many features. Stars:4.6K.
  • myLG - Command Line Network Diagnostic tool written in Go. Stars:2.7K.
  • GoBoy - Nintendo Game Boy Color emulator written in Go. Stars:2.6K.
  • Stack Up - Stack Up, a super simple deployment tool - just Unix - think of it like 'make' for a network of servers. Stars:2.5K.
  • lgo - Interactive Go programming with Jupyter. It supports code completion, code inspection and 100% Go compatibility. Stars:2.4K.
  • Documize - Modern wiki software that integrates data from SaaS tools. Stars:2.1K.
  • sonic - Sonic is a Go Blogging Platform. Simple and Powerful. Stars:2.0K.
  • 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. Stars:2.0K.
  • borg - Terminal based search engine for bash snippets. Stars:1.6K.
  • Plik - Plik is a temporary file upload system (Wetransfer like) in Go. Stars:1.5K.
  • portal - Portal is a quick and easy command-line file transfer utility from any computer to another. Stars:1.4K.
  • shell2http - Executing shell commands via http server (for prototyping or remote control). Stars:1.3K.
  • Gokapi - Lightweight server to share files, which expire after a set amount of downloads or days. Similar to Firefox Send, but without public upload. Stars:1.2K.
  • vFlow - High-performance, scalable and reliable IPFIX, sFlow and Netflow collector. Stars:1.1K.
  • peg - Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator. Stars:1.0K.
  • Go Package Store - App that displays updates for the Go packages in your GOPATH. Stars:900.
  • Leaps - Pair programming service using Operational Transforms. Stars:750.
  • gfile - Securely transfer files between two computers, without any third party, over WebRTC. Stars:740.
  • Guora - A self-hosted Quora like web application written in Go. Stars:667.
  • sake - sake is a command runner for local and remote hosts. Stars:641.
  • Gebug - A tool that makes debugging of Dockerized Go applications super easy by enabling Debugger and Hot-Reload features, seamlessly. Stars:633.
  • yai - AI powered terminal assistant. Stars:618.
  • gocc - Gocc is a compiler kit for Go written in Go. Stars:603.
  • GoNB - Interactive Go programming with Jupyter Notebooks (also works in VSCode, Binder and Google's Colab). Stars:574.
  • 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. Stars:560.
  • go-peerflix - Video streaming torrent client. Stars:470.
  • woke - Detect non-inclusive language in your source code. Stars:446.
  • ipe - Open source Pusher server implementation compatible with Pusher client libraries written in GO. Stars:366.
  • ide - Browser accessible IDE. Designed for Go with Go. Stars:357.
  • tcpprobe - TCP tool for network performance and path monitoring, including socket statistics. Stars:354.
  • hotswap - A complete solution to reload your go code without restarting your server, interrupting or blocking any ongoing procedure. Stars:332.
  • wellington - Sass project management tool, extends the language with sprite functions (like Compass). Stars:303.
  • Neo-cowsay - 🐮 cowsay is reborn. for a New Era. Stars:302.
  • Cherry - Tiny webchat server in Go. Stars:301.
  • tcpdog - eBPF based TCP observability. Stars:255.
  • crawley - Web scraper/crawler for cli. Stars:247.
  • joincap - Command-line utility for merging multiple pcap files together. Stars:208.
  • Orbit - A simple tool for running commands and generating files from templates. Stars:181.
  • vaku - CLI & API for folder-based functions in Vault like copy, move, and search. Stars:152.
  • stew - An independent package manager for compiled binaries. Stars:149.
  • fjira - A fuzzy-search based terminal UI application for Attlasian Jira Stars:121.
  • dp - Through SDK for data exchange with blockchain, developers can get easy access to DAPP development. Stars:82.
  • boxed - Dropbox based blog engine. Stars:80.
  • term-quiz - Quizzes for your terminal. Stars:26.
  • naclpipe - Simple NaCL EC25519 based crypto pipe tool written in Go. Stars:23.
  • Snitch - Simple way to notify your team and many tools when someone has deployed any application via Tsuru. Stars:17.
  • GoDocTooltip - Chrome extension for Go Doc sites, which shows function description as tooltip at function list. Stars:13.
  • hoofli - Generate PlantUML diagrams from Chrome or Firefox network inspections. Stars:8.
  • protoncheck - ProtonMail module for waybar/polybar/yabar/i3blocks. Stars:6.
  • Juju - Cloud-agnostic service deployment and orchestration - supports EC2, Azure, Openstack, MAAS and more.
  • goblin - Golang binaries in a curl, built by goblins.
  • tsuru - Extensible and open source Platform as a Service software.
  • syncthing - Open, decentralized file synchronization tool and protocol.
  • hugo - Fast and Modern Static Website Engine.
  • Wave Terminal - Wave is an open-source, AI-native terminal built for seamless developer workflows with inline rendering, a modern UI, and persistent sessions.
  • GoLand - Full featured cross-platform Go IDE.
  • Better Go Playground - Go playground with syntax highlight, code completion and other features.
  • 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.
  • zs - an extremely minimal static site generator.

⬆ back to top

Resources

Where to discover new Go libraries.

⬆ back to top

Benchmarks

  • go-web-framework-benchmark - Go web framework benchmark. Stars:2.1K.
  • go-http-routing-benchmark - Go HTTP request router benchmark and comparison. Stars:1.7K.
  • go_serialization_benchmarks - Benchmarks of Go serialization methods. Stars:1.6K.
  • skynet - Skynet 1M threads microbenchmark. Stars:1.0K.
  • speedtest-resize - Compare various Image resize algorithms for the Go language. Stars:237.
  • go-benchmarks - Few miscellaneous Go microbenchmarks. Compare some language features to alternative approaches. Stars:146.
  • golang-benchmarks - a collection of golang benchmarks. Stars:131.
  • gospeed - Go micro-benchmarks for calculating the speed of language constructs. Stars:120.
  • autobench - Framework to compare the performance between different Go versions. Stars:99.
  • golang-sql-benchmark - Collection of benchmarks for popular Go database/SQL utilities. Stars:65.
  • gocostmodel - Benchmarks of common basic operations for the Go language. Stars:61.
  • go-ml-benchmarks - benchmarks for machine learning inference in Go. Stars:30.
  • go-benchmark-app - Powerful HTTP-benchmark tool mixed with Аb, Wrk, Siege tools. Gathering statistics and various parameters for benchmarks and comparison results. Stars:27.
  • kvbench - Key/Value database benchmark. Stars:26.
  • go-json-benchmark - Go JSON benchmark. Stars:9.

⬆ back to top

Conferences

⬆ back to top

E-Books

E-books for purchase
Free e-books

⬆ back to top

Gophers

⬆ back to top

Meetups

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

⬆ back to top

Style Guides

⬆ back to top

Social Media

Twitter

⬆ back to top

Reddit

⬆ back to top

Websites

⬆ back to top

Tutorials

⬆ back to top

Guided Learning

⬆ back to top

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL