Skip to content

Awesome-go list with stars. Automatically updated.

License

Notifications You must be signed in to change notification settings

amanbolat/awesome-go-with-stars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

About

This repository is a clone of Awesome Go but with stars. All repositories are sorted by star count. Stars are updated every day automatically.

Contents

⬆ back to top

Actor Model

Libraries for building actor-based programs.

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

Artificial Intelligence

Libraries for building programs that leverage AI.

  • 124868 Ollama - Run large language models locally.
  •  30274 LocalAI - Open Source OpenAI alternative, self-host AI models.
  •   5655 langchaingo - LangChainGo is a framework for developing applications powered by language models.
  •    404 chromem-go - Embeddable vector database for Go with Chroma-like interface and zero third-party dependencies. In-memory with optional persistence.
  •     63 OllamaFarm - Manage, load-balance, and failover packs of Ollamas
  • fun - The simplest but powerful way to use large language models (LLMs) in Go.

⬆ back to top

Audio and Music

Libraries for manipulating audio.

  •   1662 Oto - A low-level library to play sound on multiple platforms.
  •    728 PortAudio - Go bindings for the PortAudio audio I/O library.
  •    359 GoAudio - Native Go Audio Processing Library.
  •    345 id3v2 - ID3 decoding and encoding library for Go.
  •    328 flac - Native Go FLAC encoder/decoder with support for FLAC streams.
  •    319 malgo - Mini audio library.
  •    127 minimp3 - Lightweight MP3 decoder library.
  •    126 gaad - Native Go AAC bitstream parser.
  •     33 gosamplerate - libsamplerate bindings for go.

⬆ back to top

Authentication and OAuth

Libraries for implementing authentication schemes.

  •  18153 casbin - Authorization library that supports access control models like ACL, RBAC, and ABAC.
  •   7595 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.
  •   5775 goth - provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.
  •   5479 oauth2 - Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine, and App Engine support.
  •   4919 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.
  •   3904 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.
  •   3229 openfga - Implementation of fine-grained authorization based on the "Zanzibar: Google's Consistent, Global Authorization System" paper. Backed by CNCF.
  •   2238 scs - Session Manager for HTTP servers.
  •   2000 jwx - Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies
  •   1924 loginsrv - JWT login microservice with pluggable backends such as OAuth2 (Github), htpasswd, osiam.
  •   1912 osin - Golang OAuth2 server library.
  •   1870 gologin - chainable handlers for login with OAuth1 and OAuth2 authentication providers.
  •   1608 gorbac - provides a lightweight role-based access control (RBAC) implementation in Golang.
  •   1478 oidc - Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation
  •    875 paseto - Golang implementation of Platform-Agnostic Security Tokens (PASETO).
  •    674 jwt - Safe, simple, and fast JSON Web Tokens for Go.
  •    569 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.
  •    357 jwt - Lightweight JSON Web Token (JWT) library.
  •    351 go-jose - Fairly complete implementation of the JOSE working group's JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs.
  •    267 jeff - Simple, flexible, secure, and idiomatic web session management with pluggable backends.
  •    259 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.
  •    233 jwt-auth - JWT middleware for Golang http servers with many configuration options.
  •    142 goiabada - An open-source authentication and authorization server supporting OAuth2 and OpenID Connect.
  •    139 otpgen - Library to generate TOTP/HOTP codes.
  •    123 sessionup - Simple, yet effective HTTP session management and identification package.
  •    120 sjwt - Simple jwt generator and parser.
  •    119 session - Go session management for web servers (including support for Google App Engine - GAE).
  •     88 branca - branca token    228 specification implementation for Golang 1.15+.
  •     81 securecookie - Efficient secure cookie encoding/decoding.
  •     78 sessions - Dead simple, highly performant, highly customizable sessions service for go http servers.
  •     72 otpgo - Time-Based One-Time Password (TOTP) and HMAC-Based One-Time Password (HOTP) library for Go.
  •     41 scope - Easily Manage OAuth2 Scopes In Go.
  •     17 cookiestxt - provides a parser of cookies.txt file format.
  •      7 permissions - Library for keeping track of users, login states, and permissions. Uses secure cookies and bcrypt.

⬆ back to top

Blockchain

Tools for building blockchains.

  •  48321 go-ethereum - Official Go implementation of the Ethereum protocol.
  •  16331 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.
  •   7815 lnd - A complete implementation of a Lightning Network node.
  •   6452 cosmos-sdk - A Framework for Building Public Blockchains in the Cosmos Ecosystem.
  •   5752 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.
  •   1126 solana-go - Go library to interface with Solana JSON RPC and WebSocket interfaces.
  •    925 gno - A comprehensive smart contract suite built with Golang and Gnolang, a deterministic, purpose-built Go variant for blockchains.
  •    694 cometbft - A distributed, Byzantine fault-tolerant, deterministic state machine replication engine. It is a fork of Tendermint Core and implements the Tendermint consensus algorithm.
  •    440 gossamer - A Go implementation of the Polkadot Host.
  •     12 gosemble - A Go-based framework for building Polkadot/Substrate-compatible runtimes.

⬆ back to top

Bot Building

Libraries for building and working with bots.

  •   5972 telegram-bot-api - Simple and clean Telegram bot client.
  •   4176 telebot - Telegram bot framework is written in Go.
  •   1883 wayback - A bot for Telegram, Mastodon, Slack, and other messaging platforms archives webpages.
  •   1099 Golang CryptoTrading Bot - A golang implementation of a console-based trading bot for cryptocurrency exchanges.
  •    909 bot - Zero-dependencies Telegram Bot library with additional UI components
  •    618 telego - Telegram Bot API library for Golang with full one-to-one API implementation.
  •    494 arikawa - A library and framework for the Discord API.
  •    386 echotron - An elegant and concurrent library for Telegram Bots in Go.
  •    370 go-twitch-irc - Library to write bots for twitch.tv chat
  •    355 tbot - Telegram bot server with API similar to net/http.
  •    260 go-sarah - Framework to build a bot for desired chat services including LINE, Slack, Gitter, and more.
  •    188 slack-bot - Ready to use Slack Bot for lazy developers: Custom commands, Jenkins, Jira, Bitbucket, Github...
  •    176 Tenyks - Service oriented IRC bot using Redis and JSON for messaging.
  •    160 larry - Larry 🐦 is a really simple Twitter bot generator that tweets random repositories from Github built in Go.
  •    156 hanu - Framework for writing Slack bots.
  •    120 go-tgbot - Pure Golang Telegram Bot API wrapper, generated from swagger file, session-based router, and middleware.
  •    111 go-tg - Generated from official docs Go client library for accessing Telegram Bot API, with batteries for building complex bots included.
  •     90 ephemeral-roles - A Discord bot for managing ephemeral roles based upon voice channel member presence.
  •     86 margelet - Framework for building Telegram bots.
  •     55 slackscot - Another framework for building Slack bots.
  •     50 govkbot - Simple Go VK bot library.
  •     47 slacker - Easy to use framework to create Slack bots.
  •     38 teleterm - Telegram Bot Exec Terminal Command.
  •     30 micha - Go Library for Telegram bot api.
  • 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.

  •  19276 air - Air - Live reload for Go apps.
  •  12128 Task - simple "Make" alternative.
  •   4459 realize - Go build a system with file watchers and live to reload. Run, build and watch file changes with custom paths.
  •   4250 mage - Mage is a make/rake-like build tool using Go.
  •   1721 mmake - Modern Make.
  •   1253 xc - Task runner with README.md defined tasks, executable markdown.
  •    586 goyek - Create build pipelines in Go.
  •    305 taskctl - Concurrent task runner.
  •    230 1build - Command line tool to frictionlessly manage project-specific commands.
  •     80 gaper - Builds and restarts a Go project when it crashes or some watched file changes.
  •     40 anko - Simple application watcher for multiple programming languages.
  •     13 gob - Gradle/Maven like build tool for Go projects.
  • 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.

  •  29485 bubbletea - Go framework to build terminal apps, based on The Elm Architecture.
  •  19225 fx - Terminal JSON viewer & processor.
  •  13278 termui - Go terminal dashboard based on termbox-go and inspired by  15552 blessed-contrib.
  •  10081 gocui - Minimalist Go library aimed at creating Console User Interfaces.
  •   8550 lipgloss - Declaratively define styles for color, format and layout in the terminal.
  •   5926 bubbles - TUI components for bubbletea.
  •   5329 go-prompt - Library for building a powerful interactive prompt, inspired by   9528 python-prompt-toolkit.
  •   4968 pterm - A library to beautify console output on every platform with many combinable components.
  •   4694 termbox-go - Termbox is a library for creating cross-platform text-based interfaces.
  •   4250 progressbar - Basic thread-safe progress bar that works in every OS.
  •   2782 termdash - Go terminal dashboard based on termbox-go and inspired by  13278 termui.
  •   2719 asciigraph - Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
  •   2395 spinner - Go package to easily provide a terminal spinner with options.
  •   2366 mpb - Multi progress bar for terminal applications.
  •   2120 uiprogress - Flexible library to render progress bars in terminal applications.
  •   1792 termenv - Advanced ANSI style & color support for your terminal applications.
  •   1700 uilive - Library for updating terminal output in real time.
  •   1532 gookit/color - Terminal color rendering tool library, support 16 colors, 256 colors, RGB color rendering output, compatible with Windows.
  •   1439 aurora - ANSI terminal colors that support fmt.Printf/Sprintf.
  •    849 go-isatty - isatty for golang.
  •    781 go-colorable - Colorable writer for windows.
  •    738 uitable - Library to improve readability in terminal apps using tabular data.
  •    548 box-cli-maker - Make Highly Customized Boxes for your CLI.
  •    545 gommon/color - Style terminal text.
  •    533 simpletable - Simple tables in a terminal with Go.
  •    471 bubble-table - An interactive table component for bubbletea.
  •    456 chalk - Intuitive package for prettifying terminal/console output.
  •    442 yacspin - Yet Another CLi Spinner package, for working with terminal spinners.
  •    358 tabby - A tiny library for super simple Golang tables.
  •    217 go-colortext - Go library for color output in terminals.
  •    103 cfmt - Contextual fmt inspired by bootstrap color classes.
  •     69 cfmt - Simple and convenient formatted stylized output fully compatible with fmt library.
  •     51 table - Small library for terminal color based tables.
  •     50 marker - Easiest way to match and mark strings for colorful terminal outputs.
  •     47 ctc - The non-invasive cross-platform terminal color library does not need to modify the Print method.
  •     18 go-ataman - Go library for rendering ANSI colored text templates in terminals.
  •     18 go-palette - Go library that provides elegant and convenient style definitions using ANSI colors. Fully compatible & wraps the fmt library for nice terminal layouts.
  •      8 crab-config-files-templating - Dynamic configuration file templating tool for kubernetes manifest or general configuration files.

⬆ back to top

Standard CLI

Libraries for building standard or basic Command Line applications.

  •  39141 cobra - Commander for modern Go CLI interactions.
  •  22738 urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).
  •   5835 elvish - An expressive programming language and a versatile interactive shell.
  •   3524 kingpin - Command line and flag parser supporting sub commands (superseded by kong; see below).
  •   2826 Dnote - A simple command line notebook with multi-device sync.
  •   2620 go-flags - go command line option parser.
  •   2488 pflag - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
  •   2074 go-arg - Struct-based argument parsing in Go.
  •   1324 ops - Unikernel Builder/Orchestrator.
  •   1092 carapace-bin - Multi-shell multi-command argument completer.
  •   1061 liner - Go readline-like library for command-line interfaces.
  •    933 complete - Write bash completions in Go + Go command bash completion.
  •    870 mow.cli - Go library for building CLI applications with sophisticated flag and argument parsing and validation.
  •    858 flaggy - A robust and idiomatic flags package with excellent subcommand support.
  •    733 mkideal/cli - Feature-rich and easy to use command-line package based on golang struct tags.
  •    621 argparse - Command line argument parser inspired by Python's argparse module.
  •    516 carapace - Command argument completion generator for spf13/cobra.
  •    222 wmenu - Easy to use menu structure for cli applications that prompt users to make choices.
  •    217 climax - Alternative CLI with "human face", in spirit of Go command.
  •    187 clîr - A Simple and Clear CLI library. Dependency free.
  •    181 hiboot cli - cli application framework with auto configuration and dependency injection.
  •    175 commandeer - Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags.
  •    159 sflags - Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin, and other libraries.
  •    147 job - JOB, make your short-term command as a long-term job.
  •    137 cmdr - A POSIX/GNU style, getopt-like command-line UI Go library.
  •    130 teris-io/cli - Simple and complete API for building command line interfaces in Go.
  •    129 ukautz/clif - Small command line interface framework.
  •    120 acmd - Simple, useful, and opinionated CLI package in Go.
  •    117 env - Tag-based environment configuration for structs.
  •    105 version - Collects and displays CLI version information in multiple formats along with upgrade notice.
  •     97 readline - Shell library with modern and easy to use UI features.
  •     79 console Closed-loop application library for Cobra commands, with oh-my-posh prompts, and more.
  •     66 wlog - Simple logging interface that supports cross-platform color and concurrency.
  •     66 gocmd - Go library for building command line applications.
  •     63 command-chain - A go library for configure and run command chains - such as pipelining in unix shells.
  •     62 strumt - Library to create prompt chain.
  •     57 go-getoptions - Go option parser inspired by the flexibility of Perl’s GetOpt::Long.
  •     45 flagvar - A collection of flag argument types for Go's standard flag package.
  •     42 cmd - Extends the standard flag package to support sub commands and more in idiomatic way.
  •     41 argv - Go library to split command line string as arguments array using the bash syntax.
  •     37 mcli - A minimal but very powerful cli library for Go.
  •     27 sand - Simple API for creating interpreters and so much more.
  •     20 ts - Timestamp convert & compare tool.
  •     20 carapace-spec - Define simple completions using a spec file.
  •     18 hashicorp/cli - Go library for implementing command-line interfaces.
  •      8 subcmd - Another approach to parsing and running subcommands. Works alongside the standard flag package.
  •      4 getopt - An accurate Go getopt, validated against the GNU libc implementation.

⬆ back to top

Configuration

Libraries for configuration parsing.

  •  27800 viper - Go configuration with fangs.
  •   8775 godotenv - Go port of Ruby's dotenv library (Loads environment variables from .env).
  •   7459 sonic - A blazingly fast JSON serializing & deserializing library.
  •   5152 env - Parse environment variables to Go structs (with defaults).
  •   5133 kelseyhightower/envconfig - Go library for managing configuration data from environment variables.
  •   3480 ini - Go package to read and write INI files.
  •   2992 koanf - Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line.
  •   2303 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).
  •   1731 cleanenv - Minimalistic configuration reader (from files, ENV, and wherever you want).
  •    761 xdg - Go implementation of the XDG Base Directory Specification and XDG user directories.
  •    646 konfig - Composable, observable and performant config handling for Go for the distributed processing era.
  •    562 aconfig - Simple, useful and opinionated config loader.
  •    547 gookit/config - application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge.
  •    493 confita - Load configuration in cascade from multiple backends into a struct.
  •    380 fig - Tiny library for reading configuration from a file and from environment variables (with validation & defaults).
  •    363 GoLobby/Config - GoLobby Config is a lightweight yet powerful configuration manager for the Go programming language.
  •    337 config - Cloud native application configuration. Bind ENV to structs in only two lines.
  •    336 hjson - Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.
  •    291 konf - The simplest API for reading/watching config from file, env, flag and clouds (e.g. AWS, Azure, GCP).
  •    274 store - Lightweight configuration manager for Go.
  •    243 envconfig - Read your configuration from environment variables.
  •    215 joshbetz/config - Small configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP.
  •    132 harvester - Harvester, a easy to use static and dynamic configuration package supporting seeding, env vars and Consul integration.
  •    117 onion - Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP.
  •    108 configuration - Library for initializing configuration structs from env variables, files, flags and 'default' tag.
  •     99 envh - Helpers to manage environment variables.
  •     96 configuro - opinionated configuration loading & validation framework from ENV and Files focused towards 12-Factor compliant applications.
  •     81 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.
  •     80 xdg - Cross platform package that follows the XDG Standard.
  •     70 uConfig - Lightweight, zero-dependency, and extendable configuration management.
  •     68 gofigure - Go application configuration made easy.
  •     67 env - A lightweight package for loading environment variables into structs.
  •     61 go-aws-ssm - Go package that fetches parameters from AWS System Manager - Parameter Store.
  •     56 configure - Provides configuration through multiple sources, including JSON, flags and environment variables.
  •     52 config - configure your app using file, environment variables, or flags in two lines of code
  •     50 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.
  •     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).
  •     43 go-up - A simple configuration library with recursive placeholders resolution and no magic.
  •     41 genv - Read environment variables easily with dotenv support.
  •     38 ingo - Flags persisted in an ini-like config file.
  •     36 confiq - Structured data format to config struct decoder library for Go - supporting multiple data formats
  •     35 mini - Golang package for parsing ini-style configuration files.
  •     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.
  •     22 go-ssm-config - Go utility for loading configuration parameters from AWS SSM (Parameter Store).
  •     21 bcl - BCL is a configuration language similar to HCL.
  •     19 go-array - A Go package that read or set data from map, slice or json.
  •     18 nasermirzaei89/env - Simple useful package for read environment variables.
  •     18 yamagiconf - The "safe subset" of YAML for Go configs.
  •     15 ini - INI Parser & Write Library, Unmarshal to Struct, Marshal to Json, Write File, watch file.
  •     14 go-ini - A Go package that marshals and unmarshals INI-files.
  •     12 envyaml - Yaml with environment variables reader. it helps to have secrets as environment variable but load them configs as structured Yaml.
  •     11 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.
  •      9 typenv - Minimalistic, zero dependency, typed environment variables library.
  •      9 gonfig - Tag-based configuration parser which loads values from different providers into typesafe struct.
  •      8 piper - Viper wrapper with config inheritance and key generation.
  •      8 swap - Instantiate/configure structs recursively, based on build environment. (YAML, TOML, JSON and env).
  •      8 nfigure - Per-library struct-tag based configuration from command lines (Posix & Go-style); environment, JSON, YAML
  •      6 GoCfg - Config manager with Struct Tags based contracts, custom value providers, parsers, and documentation generation. Customizable yet simple.
  •      6 env - An environment utility package with support for unmarshaling into structs
  •      6 hedzr/store - Extensible, high-performance configuration management library, optimized for hierarchical data.

⬆ back to top

Continuous Integration

Tools for help with continuous integration.

  •  32440 drone - Drone is a Continuous Integration platform built on Docker, written in Go.
  •   4644 CDS - Enterprise-Grade CI/CD and DevOps Automation Open Source Platform.
  •   4627 woodpecker - Woodpecker is a community fork of the Drone CI system.
  •   2533 muffet - Fast website link checker in Go, see   2442 alternatives.
  •    944 abstruse - Abstruse is a distributed CI platform.
  •    787 goveralls - Go integration for Coveralls.io continuous code coverage tracking system.
  •    529 gotestfmt - go test output for humans.
  •    127 go-test-coverage - Tool and GitHub action which reports issues when test coverage is below set threshold.
  •    115 overalls - Multi-Package go project coverprofile for tools like goveralls.
  •     65 gomason - Test, Build, Sign, and Publish your go binaries from a clean workspace.
  •     23 dot - A minimal, local first continuous integration system that uses Docker to run jobs concurrently in stages.
  •     20 roveralls - Recursive coverage testing tool.
  •     15 go-fuzz-action - Use Go 1.18's built-in fuzz testing in GitHub Actions.
  •     14 go-beautiful-html-coverage - A GitHub Action to track code coverage in your pull requests, with a beautiful HTML preview, for free.
  •     10 go-semver-release - Automate the semantic versioning of Git repositories.
  • Bencher - A suite of continuous benchmarking tools designed to catch performance regressions in CI.

⬆ back to top

CSS Preprocessors

Libraries for preprocessing CSS files.

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

⬆ back to top

Data Integration Frameworks

Frameworks for performing ELT / ETL

  •   8237 Benthos - A message streaming bridge between a range of protocols.
  •   5999 CloudQuery - A high-performance ELT data integration framework with pluggable architecture.
  •   1006 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.

⬆ back to top

Data Structures and Algorithms

Bit-packing and Compression

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

Bit Sets

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

Bloom and Cuckoo Filters

  •   2499 bloom - Go package implementing Bloom filters.
  •   1598 boomfilters - Probabilistic data structures for processing continuous, unbounded streams.
  •   1156 cuckoofilter - Cuckoo filter: a good alternative to a counting bloom filter implemented in Go.
  •    298 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.
  •    146 bloom - Bloom filters implemented in Go.
  •    138 ring - Go implementation of a high performance, thread safe bloom filter.
  •     86 bloom - Golang Bloom filter implementation.
  •     17 bloomfilter - Yet another Bloomfilter implementation in Go, compatible with Java's Guava library.

Data Structure and Algorithm Collections

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

Iterators

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

Maps

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

  •     93 cmap - a thread-safe concurrent map for go, support using interface{} as key and auto scale up shards.
  •     47 goradd/maps - Go 1.18+ generic map interface for maps; safe maps; ordered maps; ordered, safe maps; etc.
  •     46 dict - Python-like dictionaries (dict) for Go.
  •      9 go-shelve - A persistent, map-like object for the Go programming language. Supports multiple embedded key-value stores.

Miscellaneous Data Structures and Algorithms

  •   3121 gota - Implementation of dataframes, series, and data wrangling methods for Go.
  •    956 hyperloglog - HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction.
  •    357 go-geoindex - In-memory geo index.
  •    134 go-rquad - Region quadtrees with efficient point location and neighbour finding.
  •    102 gogu - A comprehensive, reusable and efficient concurrent-safe generics utility functions and data structures library.
  •    101 go-rampart - Determine how intervals relate to each other.
  •     82 go-tuple - Generic tuple implementation for Go 1.18+.
  •     79 go-generics - Generic slice, map, set, iterator, and goroutine utilities.
  •     69 hide - ID type with marshalling to/from hash to prevent sending IDs to clients.
  •     68 fsm - Finite-State Machine package.
  •     66 count-min-log - Go implementation Count-Min-Log sketch: Approximately counting with approximate counters (Like Count-Min sketch but using less memory).
  •     55 concurrent-writer - Highly concurrent drop-in replacement for bufio.Writer.
  •     51 genfuncs - Go 1.18+ generics package inspired by Kotlin's Sequence and Map.
  •     46 go18ds - Go Data Structures using Go 1.18 generics.
  •     37 quadtree - Generic, zero-alloc, 100%-test covered quadtree.
  •     20 slices - Pure, generic functions for slices.
  •     19 gofal - fractional api for Go.

Nullable Types

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

Queues

  •   4542 hatchet - Distributed, Fault-tolerant task queue.
  •    645 deque - Fast ring-buffer deque (double-ended queue).
  •    414 goconcurrentqueue - Concurrent FIFO queue.
  •    281 queue - Multiple thread-safe, generic queue implementations for Go.
  •    189 deque - A highly optimized double-ended queue.
  •    128 memlog - An easy to use, lightweight, thread-safe and append-only in-memory data structure inspired by Apache Kafka.

Sets

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

Text Analysis

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

Trees

  •    281 skiplist - Very fast Go Skiplist implementation.
  •     84 skiplist - Skiplist implementation in Go.
  •     61 treemap - Generic key-sorted map using a red-black tree under the hood.
  •     30 hashsplit - Split byte streams into chunks, and arrange chunks into trees, with boundaries determined by content, not position.
  •     27 treap - Persistent, fast ordered map using tree heaps.
  •     19 merkle - Space-efficient computation of Merkle root hashes and inclusion proofs.

Pipes

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

⬆ back to top

Database

Caches

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

  •  13065 groupcache - Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
  •   7681 BigCache - Efficient key/value cache for gigabytes of data.
  •   5840 ristretto - A high performance memory-bound Go cache.
  •   2629 GCache - Cache library with support for expirable Cache, LFU, LRU and ARC.
  •   2556 gocache - A complete Go cache library with multiple stores (memory, memcache, redis, ...), chainable, loadable, metrics cache and more.
  •   2171 fastcache - fast thread-safe inmemory cache for big number of entries. Minimizes GC overhead.
  •   2136 cache2go - In-memory key:value cache which supports automatic invalidation based on timeouts.
  •   1821 otter - A high performance lockless cache for Go. Many times faster than Ristretto and friends.
  •   1004 ttlcache - An in-memory cache with item expiration and generics.
  •    933 sturdyc - A caching library with advanced concurrency features designed to make I/O heavy applications robust and highly performant.
  •    445 EchoVault - Embeddable Distributed in-memory data store compatible with Redis clients.
  •    369 cachego - Golang Cache component for multiple drivers.
  •    285 theine - High performance, near optimal in-memory cache with proactive TTL expiration and generics.
  •    220 go-freelru A GC-less, fast and generic LRU hashmap library with optional locking, sharding, eviction and expiration.
  •    217 pocache - Pocache is a minimal cache package which focuses on a preemptive optimistic caching strategy.
  •    188 cache - In-memory key:value store with expiration time, 0 dependencies, <100 LoC, 100% coverage.
  •    157 bcache - Eventually consistent distributed in-memory cache Go library.
  •    145 go-cache - A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern.
  •    123 imcache - A generic in-memory cache Go library. It supports expiration, sliding expiration, max entries limit, eviction callbacks and sharding.
  •     98 go-mcache - Fast in-memory key:value store/cache library. Pointer caches.
  •     72 timedmap - Map with expiring key-value pairs.
  •     64 couchcache - RESTful caching micro-service backed by Couchbase server.
  •     45 clusteredBigCache - BigCache with clustering support and individual item expiration.
  •     42 2q - 2Q in-memory cache implementation.
  •     20 icache - A High Performance, Generic, thread-safe, zero-dependency cache package.
  •     13 gdcache - A pure non-intrusive cache library implemented by golang, you can use it to implement your own distributed cache.
  •     11 nscache - A Go caching framework that supports multiple data source drivers.
  •     10 coherence-go-client - Full implementation of Oracle Coherence cache API for Go applications using gRPC as network transport.
  •     10 ttlcache - In-memory key value storage with TTL for each record.
  •      9 gocache - A data race free Go ache library with high performance and auto pruge functionality

Databases Implemented in Go

  •  57172 prometheus - Monitoring system and time series database.
  •  37881 tidb - TiDB is a distributed SQL database. Inspired by the design of Google F1.
  •  32343 Milvus - Milvus is a vector database for embedding management, analytics and search.
  •  30482 cockroach - Scalable, Geo-Replicated, Transactional Datastore.
  •  29457 influxdb - Scalable datastore for metrics, events, and real-time analytics.
  •  20632 dgraph - Scalable, Distributed, Low Latency, High Throughput Graph Database.
  •  18271 dolt - Dolt – It's Git for Data.
  •  16216 rqlite - The lightweight, distributed, relational database built on SQLite.
  •  14236 badger - Fast key-value store in Go.
  •  13164 VictoriaMetrics - fast, resource-effective and scalable open source time series database. May be used as long-term remote storage for Prometheus. Supports PromQL.
  •   8678 immudb - immudb is a lightweight, high-speed immutable database for systems and applications written in Go.
  •   8508 bbolt - An embedded key/value database for Go.
  •   6204 goleveldb - Implementation of the  37067 LevelDB key/value database in Go.
  •   5129 pebble - RocksDB/LevelDB inspired key-value database in Go.
  •   4689 rosedb - An embedded k-v database based on LSM+WAL, supports string, list, hash, set, zset.
  •   4638 buntdb - Fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support.
  •   4105 ledisdb - Ledisdb is a high performance NoSQL like Redis based on LevelDB.
  •   3597 redka - Redis re-implemented with SQLite.
  •   3570 godis - A Golang implemented high-performance Redis server and cluster.
  •   3439 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.
  •   3017 LinDB - LinDB is a scalable, high performance, high availability distributed time series database.
  •   2723 tiedot - Your NoSQL database powered by Golang.
  •   2115 lotusdb - Fast k/v database compatible with lsm and b+tree.
  •   1504 CovenantSQL - CovenantSQL is a SQL database on blockchain.
  •   1457 column - High-performance, columnar, embeddable in-memory store with bitmap indexing and transactions.
  •   1413 diskv - Home-grown disk-backed key-value store.
  •   1315 pogreb - Embedded key-value store for read-heavy workloads.
  •   1280 Databunker - Personally identifiable information (PII) storage service built to comply with GDPR and CCPA.
  •   1120 objectbox-go - High-performance embedded Object Database (NoSQL) with Go API.
  •   1011 eliasdb - Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.
  •    998 moss - Moss is a simple LSM key-value storage engine written in 100% Go.
  •    720 clover - A lightweight document-oriented NoSQL database written in pure Golang.
  •    415 levigo - Levigo is a Go wrapper for LevelDB.
  •    368 pudge - Fast and simple key/value store written using Go's standard library.
  •    262 Vasto - A distributed high-performance key-value store. On Disk. Eventual consistent. HA. Able to grow or shrink without service interruption.
  •    206 piladb - Lightweight RESTful database engine based on stack data structures.
  •    172 libradb - LibraDB is a simple database with less than 1000 lines of code for learning.
  •    119 unitdb - Fast timeseries database for IoT, realtime messaging applications. Access unitdb with pubsub over tcp or websocket using github.com/unit-io/unitd application.
  •     95 hare - A simple database management system that stores each table as a text file of line-delimited JSON.
  •     40 rotom - A tiny Redis server built with Golang, compatible with RESP protocols.
  •     40 Coffer - Simple ACID key-value database that supports transactions.
  •     19 tempdb - Key-value store for temporary items.
  • 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

  •  16020 migrate - Database migrations. CLI and Golang library.
  •  11940 bytebase - Safe database schema change and version control for DevOps teams.
  •   7682 goose - Database migration tool. You can manage your database's evolution by creating incremental SQL or Go scripts.
  •   6403 atlas - A Database Toolkit. A CLI designed to help companies better work with their data.
  •   5696 dbmate - A lightweight, framework-agnostic database migration tool.
  •   3268 sql-migrate - Database migration tool. Allows embedding migrations into the application using go-bindata.
  •   1464 soda - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
  •   1293 skeema - Pure-SQL schema management system for MySQL, with support for sharding and external online schema change tools.
  •   1067 gormigrate - Database schema migration helper for Gorm ORM.
  •    999 goavro - A Go package that encodes and decodes Avro data.
  •    172 migrator - Dead simple Go database migration library.
  •    145 darwin - Database schema evolution library for Go.
  •    115 sqlize - Database migration generator. Allows generate sql migration from model and existing sql by differ them.
  •     84 go-pg-migrations - A Go package to help write migrations with go-pg/pg.
  •     47 avro - Discover SQL schemas and convert them to AVRO schemas. Query SQL records into AVRO bytes.
  •     38 schema - Library to embed schema migrations for database/sql-compatible databases inside your Go binaries.
  •     29 go-fixtures - Django style fixtures for Golang's excellent built-in database/sql library.
  •     25 migrator - MySQL database migrator designed to run migrations to your features and manage database schema update with intuitive go code.
  •     15 libschema - Define your migrations separately in each library. Migrations for open source libraries. MySQL & PostgreSQL.
  •     13 gorm-seeder - Simple database seeder for Gorm ORM.
  •     10 go-pg-migrate - CLI-friendly package for go-pg migrations management.
  •      8 godfish - Database migration manager, works with native query language. Support for cassandra, mysql, postgres, sqlite3.

Database Tools

  •  19063 vitess - vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.
  •   8736 pgweb - Web-based PostgreSQL database browser.
  •   4667 go-mysql - Go toolset to handle MySQL protocol and replication.
  •   4276 pREST - Simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new.
  •   1315 chproxy - HTTP proxy for ClickHouse database.
  •   1127 pg_timetable - Advanced scheduling for PostgreSQL.
  •    477 clickhouse-bulk - Collects small inserts and sends big requests to ClickHouse servers.
  •    462 rdb - Redis RDB file parser for secondary development and memory analysis.
  •    287 wescale - WeScale is a database proxy designed to enhance the scalability, performance, security, and resilience of your applications.
  •    234 gatewayd - Cloud-native database gateway and framework for building data-driven applications. Like API gateways, for databases.
  •    193 octillery - Go package for sharding databases ( Supports every ORM or raw SQL ).
  •    137 onedump - Database backup from different drivers to different destinations with one command and configuration.
  •    104 dbbench - Database benchmarking tool with support for several databases and scripts.
  •     49 gorm-multitenancy - Multi-tenancy support for GORM managed databases.
  •     33 prep - Use prepared SQL statements without changing your code.
  •     31 dg - A fast data generator that produces CSV files from generated relational data.
  •     19 rwdb - rwdb provides read replica capability for multiple database servers setup.
  • hasql - Library for accessing multi-host SQL database installations.

SQL Query Builders

Libraries for building and using SQL.

  •  14198 sqlc - Generate type-safe code from SQL.
  •   7152 Squirrel - Go library that helps you build SQL queries.
  •   3774 xo - Generate idiomatic Go code for databases based on existing schema definitions or custom queries supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server.
  •   2896 jet - Framework for writing type-safe SQL queries in Go, with ability to easily convert database query result into desired arbitrary object structure.
  •   2453 goqu - Idiomatic SQL builder and query library.
  •   1624 gendry - Non-invasive SQL builder and powerful data binder.
  •    744 Dotsql - Go library that helps you keep sql files in one place and use them with ease.
  •    638 ozzo-dbx - Powerful data retrieval methods as well as DB-agnostic query building capabilities.
  •    420 sqlingo - A lightweight DSL to build SQL in Go.
  •    404 dbq - Zero boilerplate database operations for Go.
  •    279 sqrl - SQL query builder, fork of Squirrel with improved performance.
  •    197 sq - Type-safe SQL builder and struct mapper for Go.
  •    173 buildsqlx - Go database query builder library for PostgreSQL.
  •    159 bqb - Lightweight and easy to learn query builder.
  •    156 sqlf - Fast SQL query builder.
  •    126 igor - Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax.
  •     92 builq - Easily build SQL queries in Go.
  •     59 godbal - Database Abstraction Layer (dbal) for go. Support SQL builder and get result easily.
  •     35 qry - Tool that generates constants from files with raw SQL queries.
  •     35 gosql - SQL Query builder with better null values support.
  •     22 Hotcoal - Secure your handcrafted SQL against injection.
  •     16 ormlite - Lightweight package containing some ORM-like features and helpers for sqlite databases.
  •      6 sg - A SQL Gen for generating standard SQLs(supports: CRUD) written in Go.
  •      3 patcher - Powerful SQL Query builder that automatically generates SQL queries from structs.
  • Squalus - Thin layer over the Go SQL package that makes it easier to perform queries.

⬆ back to top

Database Drivers

Interfaces to Multiple Backends

  •  14879 cayley - Graph database with support for multiple backends.
  •    767 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).
  •    263 go-transaction-manager - Transaction manager with multiple adapters (sql, sqlx, gorm, mongo, ...) controls transaction boundaries.
  •     32 dsc - Datastore connectivity for SQL, NoSQL, structured files.
  •     19 dynamo - A simple key-value abstraction to store algebraic and linked-data data types at AWS storage services: AWS DynamoDB and AWS S3.

Relational Database Drivers

  •  14638 go-sql-driver/mysql - MySQL driver for Go.
  •  11242 pgx - PostgreSQL driver supporting features beyond those exposed by database/sql.
  •   9308 pq - Pure Go Postgres driver for database/sql.
  •   8241 go-sqlite3 - SQLite3 driver for go that uses database/sql.
  •   1847 go-mssqldb - Microsoft MSSQL driver for Go.
  •    653 sqlhooks - Attach hooks to any database/sql driver.
  •    634 go-oci8 - Oracle driver for go that uses database/sql.
  •    593 go-sqlite3 - This Go module is compatible with the database/sql driver. It allows embedding SQLite into your application, provides direct access to its C API, supports SQLite VFS, and also includes a GORM driver.
  •    540 godror - Oracle driver for Go, using the ODPI-C driver.
  •    439 Sqinn-Go - SQLite with pure Go.
  •    327 KSQL - A Simple and Powerful Golang SQL Library
  •    264 surrealdb.go - SurrealDB Driver for Go.
  •    231 firebirdsql - Firebird RDBMS SQL driver for Go.
  •    147 ydb-go-sdk - native and database/sql driver YDB (Yandex Database)
  •    145 go-adodb - Microsoft ActiveX Object DataBase driver for go that uses database/sql.
  •    121 avatica - Apache Avatica/Phoenix SQL driver for database/sql.
  •    113 gofreetds - Microsoft MSSQL driver. Go wrapper over FreeTDS.
  •     21 bgc - Datastore Connectivity for BigQuery for go.
  •     17 pig - Simple  11242 pgx wrapper to execute and   1346 scan query results easily.
  • sqlite - Package sqlite is a sql/database driver using a CGo-free port of the C SQLite3 library.

NoSQL Database Drivers

  •  20463 redis - Redis client for Golang.
  •   9774 redigo - Redigo is a Go client for the Redis database.
  •   8244 mongo-go-driver - Official MongoDB driver for the Go language.
  •   2544 rueidis - Fast Redis RESP3 client with auto pipelining and server-assisted client side caching.
  •   1971 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.
  •   1784 gomemcache - memcache client library for the Go programming language.
  •   1654 gorethink - Go language driver for RethinkDB.
  •   1312 qmgo - The MongoDB driver for Go. It‘s based on official MongoDB driver but easier to use like Mgo.
  •    756 mgm - MongoDB model-based ODM for Go (based on official MongoDB driver).
  •    442 aerospike-client-go - Aerospike client in Go language.
  •    442 redeo - Redis-protocol compatible TCP servers/services.
  •    388 neoism - Neo4j client for Golang.
  •    371 gocb - Official Couchbase Go SDK.
  •    343 go-rejson - Golang client for redislabs' ReJSON module using Redigo golang client. Store and manipulate structs as JSON objects in redis with ease.
  •    322 go-couchbase - Couchbase client in Go.
  •    317 Kivik - Kivik provides a common Go and GopherJS client library for CouchDB, PouchDB, and similar databases.
  •    169 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.
  •    112 godis - redis client implement by golang, inspired by jedis.
  •     72 arangolite - Lightweight golang driver for ArangoDB.
  •     57 go-pilosa - Go client library for Pilosa.
  •     37 forestdb - Go bindings for ForestDB.
  •     30 goriak - Go language driver for Riak KV.
  •     28 neo4j - Neo4j Rest API Bindings for Golang.
  •     22 gocosmos - REST client and standard database/sql driver for Azure Cosmos DB.
  •     19 gomemcached - A binary Memcached client for Go with support for sharding using consistent hashing, along with SASL.
  •     19 xredis - Typesafe, customizable, clean & easy to use Redis client.
  •     11 godscache - A wrapper for the Google Cloud Platform Go Datastore package that adds caching using memcached.
  •     11 asc - Datastore Connectivity for Aerospike for go.
  • gocql - Go language driver for Apache Cassandra.

Search and Analytic Databases

  •   7454 elastic - Elasticsearch client for Go.
  •   5769 go-elasticsearch - Official Elasticsearch client for Go.
  •   2972 clickhouse-go - ClickHouse SQL client for Go with a database/sql compatibility.
  •   1182 elasticsql - Convert sql to elasticsearch dsl in Go.
  •    943 elastigo - Elasticsearch client library.
  •    826 zoekt - Fast trigram based code search.
  •     90 skizze - probabilistic data-structures service and storage.
  •     31 goes - Library to interact with Elasticsearch.
  •     27 effdsl - Elasticsearch query builder for Go.

⬆ back to top

Date and Time

Libraries for working with dates and times.

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

⬆ back to top

Distributed Systems

Packages that help with building Distributed Systems.

  •  29860 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.
  •  26808 go-kit - Microservice toolkit with support for service discovery, load balancing, pluggable transports, request tracking, etc.
  •  23679 Kratos - A modular-designed and easy-to-use microservices framework in Go.
  •  22113 go-micro - A distributed systems development framework.
  •  21399 grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC.
  •  16438 NATS - NATS is a simple, secure, and performant communications system for digital systems, services, and devices.
  •  12201 micro - A distributed systems runtime for the cloud and beyond.
  •   8412 raft - Golang implementation of the Raft consensus protocol, by HashiCorp.
  •   8158 rpcx - Distributed pluggable RPC service framework like alibaba Dubbo.
  •   7243 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.
  •   6452 lura - Ultra performant API Gateway framework with middlewares.
  •   5666 torrent - BitTorrent client package.
  •   5119 dragonboat - A feature complete and high performance multi-group Raft library in Go.
  •   4343 evans - Evans: more expressive universal gRPC client.
  •   3890 emitter-io - High performance, distributed, secure and low latency publish-subscribe platform built with MQTT, Websockets and love.
  •   3486 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.
  •   3208 glow - Easy-to-Use scalable distributed big data processing, Map-Reduce, DAG execution, all in pure Go.
  •   2587 liftbridge - Lightweight, fault-tolerant message streams for NATS.
  •   2416 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.
  •   2237 go-eagle - A Go framework for the API or Microservice with handy scaffolding tools.
  •   1627 sponge - A distributed development framework that integrates automatic code generation, gin and grpc frameworks, base development frameworks.
  •   1527 redis-lock - Simplified distributed locking implementation using Redis.
  •   1370 mochi mqtt - Fully spec compliant, embeddable high-performance MQTT v5/v3 broker for IoT, smarthome, and pubsub.
  •   1260 hprose - Very newbility RPC Library, support 25+ languages now.
  •   1185 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.
  •   1019 rain - BitTorrent client and library.
  •   1000 arpc - More effective network communication, support two-way-calling, notify, broadcast.
  •    930 K8gb - A cloud native Kubernetes Global Balancer.
  •    878 trpc-go - The Go language implementation of tRPC, which is a pluggable, high-performance RPC framework.
  •    843 ringpop-go - Scalable, fault-tolerant application-layer sharding for Go applications.
  •    751 go-health - Library for enabling asynchronous dependency health checks in your service.
  •    727 raft - Go implementation of the Raft consensus protocol, by CoreOS.
  •    716 consistent - Consistent hashing with bounded loads.
  •    706 gorpc - Simple, fast and scalable RPC library for high load.
  •    570 Temporal - Durable execution system for making code fault-tolerant and simple.
  •    553 go-sundheit - A library built to provide support for defining async service health checks for golang services.
  •    512 digota - grpc ecommerce microservice.
  •    384 go-jump - Port of Google's "Jump" Consistent Hash function.
  •    378 sleuth - Library for master-less p2p auto-discovery and RPC between HTTP services (using   9932 ZeroMQ).
  •    341 jsonrpc - JSON-RPC 2.0 HTTP client implementation.
  •    331 Tarmac - Framework for writing functions, microservices, or monoliths with WebAssembly
  •    318 dht - BitTorrent Kademlia DHT implementation.
  •    188 jsonrpc - The jsonrpc package helps implement of JSON-RPC 2.0.
  •    160 outboxer - Outboxer is a go library that implements the outbox pattern.
  •    103 doublejump - A revamped Google's jump consistent hash.
  •     94 Semaphore - A straightforward (micro) service orchestrator.
  •     87 dot - distributed sync using operational transformation/OT.
  •     72 celeriac - Library for adding support for interacting and monitoring Celery workers, tasks and events in Go.
  •     64 capillaries - distributed batch data processing framework.
  •     62 go-mysql-lock - MySQL based distributed lock.
  •     60 flowgraph - flow-based programming package.
  •     48 go-pdu - A decentralized identity-based social network.
  •     48 drmaa - Job submission library for cluster schedulers based on the DRMAA standard.
  •     33 committer - A distributed transactions management system (2PC/3PC implementation).
  •     27 consistenthash - Consistent hashing with configurable replicas.
  •     25 gmsec - A Go distributed systems development framework.
  •     17 dynatomic - A library for using DynamoDB as an atomic counter.
  •     13 failured - adaptive accrual failure detector for distributed systems.
  •      7 bedrock - Provides a minimal, modular and composable foundation for quickly developing services and more use case specific frameworks in Go.
  • dynamolock - DynamoDB-backed distributed locking implementation.
  • pjrpc - Golang JSON-RPC Server-Client with Protobuf spec.
  • resgate - Realtime API Gateway for building REST, real time, and RPC APIs, where all clients are synchronized seamlessly.
  • pglock - PostgreSQL-backed distributed locking implementation.

⬆ back to top

Dynamic DNS

Tools for updating dynamic DNS records.

  •   1539 GoDNS - A dynamic DNS client tool, supports DNSPod & HE.net, written in Go.
  •    258 DDNS - Personal DDNS client with Digital Ocean Networking DNS as backend.
  • dyndns - Background Go process to regularly and automatically check your IP Address and make updates to (one or many) Dynamic DNS records for Google domains whenever your address changes.

⬆ back to top

Email

Libraries and tools that implement email creation and sending.

  •  14506 MailHog - Email and SMTP testing with web and API interface.
  •   6584 Mailpit - Email and SMTP testing tool for developers.
  •   5333 Maddy - All-in-one (SMTP, IMAP, DKIM, DMARC, MTA-STS, DANE) email server
  •   3852 mox - Modern full-featured secure mail server for low-maintenance, self-hosted email.
  •   2853 hermes - Golang package that generates clean, responsive HTML e-mails.
  •   2690 email - A robust and flexible email library for Go.
  •   2136 go-imap - IMAP library for clients and servers.
  •   1298 email-verifier - A Go library for email verification without sending any emails.
  •    992 SendGrid - SendGrid's Go library for sending email.
  •    850 go-mail - A simple Go library for sending mails in Go.
  •    709 mailgun-go - Go library for sending mail with the Mailgun API.
  •    658 go-simple-mail - Very simple package to send emails with SMTP Keep Alive and two timeouts: Connect and Send.
  •    394 go-message - Streaming library for the Internet Message Format and mail messages.
  •    248 douceur - CSS inliner for your HTML emails.
  •    222 Hectane - Lightweight SMTP client providing an HTTP API.
  •    151 go-premailer - Inline styling for HTML mail in Go.
  •    142 mailchain - Send encrypted emails to blockchain addresses written in Go.
  •    139 smtpmock - Lightweight configurable multithreaded fake SMTP server. Mimic any SMTP behaviour for your test environment.
  •    109 truemail-go - Configurable Golang email validator/verifier. Verify email via Regex, DNS, SMTP and even more.
  •     97 go-dkim - DKIM library, to sign & verify email.
  •     75 smtp - SMTP server protocol state machine.
  •     65 go-email-normalizer - Golang library for providing a canonical representation of email address.
  •     51 go-email-validator - Modular email validator for syntax, disposable, smtp, etc... checking.
  •     19 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.
  • chasquid - SMTP server written in Go.

⬆ back to top

Embeddable Scripting Languages

Embedding other languages inside your go code.

  •   6557 expr - Expression evaluation engine for Go: fast, non-Turing complete, dynamic typing, static typing.
  •   6448 gopher-lua - Lua 5.1 VM and compiler written in Go.
  •   5814 goja - ECMAScript 5.1(+) implementation in Go.
  •   3588 tengo - Bytecode compiled script language for Go.
  •   3190 go-lua - Port of the Lua 5.2 VM to pure Go.
  •   2424 cel-go - Fast, portable, non-Turing complete expression evaluation with gradual typing.
  •   2412 starlark-go - Go implementation of Starlark: Python-like language with deterministic evaluation and hermetic execution.
  •   1618 metacall - Cross-platform Polyglot Runtime which supports NodeJS, JavaScript, TypeScript, Python, Ruby, C#, WebAssembly, Java, Cobol and more.
  •   1527 go-python - naive go bindings to the CPython C-API.
  •   1492 anko - Scriptable interpreter written in Go.
  •   1345 Wa/凹语言 - The Wa Programming Language embedded in Go.
  •    937 go-php - PHP bindings for Go.
  •    779 go-duktape - Duktape JavaScript engine bindings for Go.
  •    772 gval - A highly customizable expression language written in Go.
  •    662 golua - Go bindings for Lua C API.
  •    643 prolog - Embeddable Prolog.
  •    515 gisp - Simple LISP in Go.
  •    139 gentee - Embeddable scripting programming language.
  •     77 binder - Go to Lua binding library, based on   6448 gopher-lua.
  •     44 ecal - A simple embeddable scripting language which supports concurrent event processing.
  •     41 purl - Perl 5.18.2 embedded in Go.
  •     29 ngaro - Embeddable Ngaro VM implementation enabling scripting in Retro.
  •     28 starlet - Go wrapper for   2412 starlark-go that simplifies script execution, offers data conversion, and useful Starlark libraries and extensions.
  • goal - An embeddable scripting array language.

⬆ back to top

Error Handling

Libraries for handling errors.

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

  •   7300 pdfcpu - PDF processor.
  •   6074 afero - FileSystem Abstraction System for Go.
  •   4214 gdu - Disk usage analyzer with console interface.
  •   1084 go-wkhtmltopdf - A package to convert an HTML template to a PDF file.
  •    917 notify - File system event notification library with simple API, similar to os/signal.
  •    740 copy - Copy directory recursively.
  •    495 gofs - A cross-platform real-time file synchronization tool out of the box.
  •    320 vfs - A pluggable, extensible, and opinionated set of filesystem functionality for Go across a number of filesystem types such as os, S3, and GCS.
  •    310 afs - Abstract File Storage (mem, scp, zip, tar, cloud: s3, gs) for Go.
  •    273 iso9660 - A package for reading and creating ISO9660 disk images
  •    259 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, ...).
  •    120 go-csv-tag - Load csv file using tag.
  •    112 parquet - Read and write parquet files.
  •    105 checksum - Compute message digest, like MD5, SHA256, SHA1, CRC or BLAKE2s, for large files.
  •    102 skywalker - Package to allow one to concurrently go through a filesystem with ease.
  •     75 opc - Load Open Packaging Conventions (OPC) files for Go.
  •     61 gulter - A simple HTTP middleware to automatically handle all your file upload needs
  •     59 baraka - A library to process http file uploads easily.
  •     46 go-gtfs - Load gtfs files in go.
  •     33 flop - File operations library which aims to mirror feature parity with GNU cp.
  •     26 gut/yos - Simple and reliable package for file operations like copy/move/diff/list on files, directories and symbolic links.
  •     24 higgs - A tiny cross-platform Go library to hide/unhide files and directories.
  •     24 todotxt - Go library for Gina Trapani's todo.txt files, supports parsing and manipulating of task lists in the   2622 todo.txt format.
  •     22 go-decent-copy - Copy files for humans.
  •     12 pathtype - Treat paths as their own type instead of using strings.

⬆ back to top

Financial

Packages for accounting and finance.

  •   6551 decimal - Arbitrary-precision fixed-point decimal numbers.
  •   5087 ticker - Terminal stock watcher and stock position tracker.
  •   1721 go-money - Implementation of Fowler's Money pattern.
  •   1300 bbgo - A crypto trading bot framework written in Go. Including common crypto exchange API, standard indicators, back-testing and many built-in strategies.
  •    917 ledger - A programmable financial ledger that provides a foundation for money-moving applications.
  •    883 accounting - money and currency formatting for golang.
  •    849 techan - Technical analysis library with advanced market analysis and trading strategies.
  •    574 currency - Handles currency amounts, provides currency information and formatting.
  •    469 ach - A reader, writer, and validator for Automated Clearing House (ACH) files.
  •    458 orderbook - Matching Engine for Limit Order Book in Golang.
  •    177 go-finance - Library of financial functions for time value of money (annuities), cash flow, interest rate conversions, bonds and depreciation calculations.
  •    140 sleet - One unified interface for multiple Payment Service Providers (PsP) to process online payment.
  •    140 ofxgo - Query OFX servers and/or parse the responses (with example command-line client).
  •    132 transaction - Embedded transactional database of accounts, running in multithreaded mode.
  •    125 decimal - Immutable decimal numbers with panic-free arithmetic.
  •    124 udecimal - High performance, high precision, zero allocation fixed-point decimal library for financial applications.
  •    111 vat - VAT number validation & EU VAT rates.
  •     93 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.
  •     85 payme - QR code generator (ASCII & PNG) for SEPA payments.
  •     61 currency - High performant & accurate currency computation package.
  •     32 fpmoney - Fast and simple ISO4217 fixed-point decimal money.
  •     31 fpdecimal - Fast and precise serialization and arithmetic for small fixed-point decimals
  •     30 money - Immutable monetary amounts and exchange rates with panic-free arithmetic.
  •     27 go-finance - Module to fetch exchange rates, check VAT numbers via VIES and check IBAN bank account numbers.
  •      3 go-nowpayments - Library for the crypto NOWPayments API.
  • 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.

  •   1608 nosurf - CSRF protection middleware for Go.
  •   1081 gorilla/csrf - CSRF protection for Go web applications & services.
  •    787 form - Decodes url.Values into Go value(s) and Encodes Go value(s) into url.Values. Dual Array and Full map support.
  •    333 httpin - Decode an HTTP request into a custom struct, including querystring, forms, HTTP headers, etc.
  •    324 conform - Keeps user input in check. Trims, sanitizes & scrubs data based on struct tags.
  •    191 formam - decode form's values into a struct.
  •    139 forms - Framework-agnostic library for parsing and validating form/JSON data which supports multipart forms and files.
  •     76 qs - Go module for encoding structs into URL query parameters.
  •     36 checker - Checker helps validating user input through rules defined in struct tags or directly through functions.
  •     31 bind - Bind form data to any Go values.
  •     19 queryparam - Decode url.Values into usable struct values of standard or custom types.
  •     10 gbind - Bind data to any Go value. Can use built-in and custom expression binding capabilities; supports data validation

⬆ back to top

Functional

Packages to support functional programming in Go.

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

⬆ back to top

Game Development

Awesome game development libraries.

  •  11556 Ebitengine - dead simple 2D game engine in Go.
  •   5350 Leaf - Lightweight game server framework.
  •   2940 nano - Lightweight, facility, high performance golang based game server framework.
  •   2864 g3n - Go 3D Game Engine.
  •   2599 goworld - Scalable game server engine, featuring space-entity framework and hot-swapping.
  •   2457 Pitaya - Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK.
  •   2264 go-sdl2 - Go bindings for the Simple DirectMedia Layer.
  •   1855 raylib-go - Go bindings for raylib, a simple and easy-to-use library to learn videogames programming.
  •   1771 engo - Engo is an open-source 2D game engine written in Go. It follows the Entity-Component-System paradigm.
  •   1591 Oak - Pure Go game engine.
  •   1446 termloop - Terminal-based game engine for Go, built on top of Termbox.
  •   1273 gonet - Game server skeleton implemented with golang.
  •    603 go-astar - Go implementation of the A* path finding algorithm.
  •    591 Harfang3D - 3D engine for the Go language, works on Windows and Linux (    38 Harfang on Go.dev).
  •    318 go3d - Performance oriented 2D/3D math package for Go.
  •    282 Pixel - Hand-crafted 2D game library in Go.
  •    179 tile - Data-oriented and cache-friendly 2D Grid library (TileMap), includes pathfinding, observers and import/export.
  •    168 Arche - Archetype-based Entity Component System (ECS) for Go.
  •    136 ecs - Build your own Game-Engine based on the Entity Component System concept in Golang.
  •     88 prototype - Cross-platform (Windows/Linux/Mac) library for creating desktop games using a minimal API.
  •     34 fantasyname - Fantasy names generator.
  •     18 grid - Generic 2D grid with ray-casting, shadow-casting and path finding.

⬆ back to top

Generators

Tools that generate Go code.

  •   6667 oapi-codegen - This package contains a set of utilities for generating Go boilerplate code for services based on OpenAPI 3.0 API definitions.
  •   3550 go-linq - .NET LINQ-like query methods for Go.
  •   3424 jennifer - Generate arbitrary Go code without templates.
  •   1244 goderive - Derives functions from input types
  •   1146 GoWrap - Generate decorators for Go interfaces using simple templates.
  •    792 go-enum - Code generation for enums from code comments.
  •    623 goverter - Generate converters by defining an interface.
  •    426 interfaces - Command line tool for generating interface definitions.
  •    362 copygen - Generate type-to-type and type-based code without reflection.
  •     44 convergen - Feature rich type-to-type copy code generator.
  •     44 generis - Code generation tool providing generics, free-form macros, conditional compilation and HTML templating.
  •     24 typeregistry - A library to create type dynamically.
  •     14 go-enum-encoding - Code generation for enum encoding from code comments.

⬆ back to top

Geographic

Geographic tools and servers

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

⬆ back to top

Go Compilers

Tools for compiling Go to other languages.

  •  12838 gopherjs - Compiler from Go to JavaScript.
  •    432 tardisgo - Golang to Haxe to CPP/CSharp/Java/JavaScript transpiler.
  •    368 c4go - Transpile C code to Go code.
  •    303 c2go - Convert C code to Go code.
  •     88 esp32 - Transpile Go into Arduino code.
  •     48 f4go - Transpile FORTRAN 77 code to Go code.

⬆ back to top

Goroutines

Tools for managing and working with Goroutines.

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

⬆ back to top

GUI

Libraries for building GUI Applications.

Toolkits

  •  25739 fyne - Cross platform native GUIs designed for Go based on Material Design. Supports: Linux, macOS, Windows, BSD, iOS and Android.
  •  12858 webview - Cross-platform webview window with simple two-way JavaScript bindings (Windows / macOS / Linux).
  •  10563 qt - Qt binding for Go (support for Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi).
  •   8341 ui - Platform-native GUI library for Go. Cross platform.
  •   8217 app - Package to create apps with GO, HTML and CSS. Supports: MacOS, Windows in progress.
  •   6913 walk - Windows application library kit for Go.
  •   5115 DarwinKit - Build native macOS applications using Go.
  •   2592 go-sciter - Go bindings for Sciter: the Embeddable HTML/CSS/script engine for modern desktop UI development. Cross platform.
  •   2133 gotk3 - Go bindings for GTK3.
  •   1851 Cogent Core - A framework for building 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the web.
  •   1167 Spot - Reactive, cross-platform desktop GUI toolkit.
  •    434 gowd - Rapid and simple desktop UI development with GO, HTML, CSS and NW.js. Cross platform.
  •    420 energy - Cross-platform based on LCL(Native System UI Control Library) and CEF(Chromium Embedded Framework) (Windows/ macOS / Linux)
  •    380 cimgui-go - Auto generated Go wrapper for  63120 Dear ImGui via   1583 cimgui.
  •    228 unison - A unified graphical user experience toolkit for Go desktop applications. macOS, Windows, and Linux are supported.
  •     10 goradd/html5tag - Library for outputting HTML5 tags.
  • Goey - Cross platform UI toolkit aggregator for Windows / Linux / Mac. GTK, Cocoa, Windows API
  • go-gtk - Go bindings for GTK.
  • Wails - Mac, Windows, Linux desktop apps with HTML UI using built-in OS HTML renderer.
  • 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

  •   9858 robotgo - Go Native cross-platform GUI system automation. Control the mouse, keyboard and other.
  •   3397 systray - Cross platform Go library to place an icon and menu in the notification area.
  •    773 zenity - Cross-platform Go library and CLI to create simple dialogs that interact graphically with the user.
  •    589 gosx-notifier - OSX Desktop Notifications library for Go.
  •    254 trayhost - Cross-platform Go library to place an icon in the host operating system's taskbar.
  •     36 mac-sleep-notifier - OSX Sleep/Wake notifications in golang.
  •     29 mac-activity-tracker - OSX library to notify about any (pluggable) activity on your machine.
  •      6 AppIndicator Go - Go bindings for libappindicator3 C library.

⬆ back to top

Hardware

Libraries, tools, and tutorials for interacting with hardware.

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

⬆ back to top

Images

Libraries for manipulating images.

  •   6866 gocv - Go package for computer vision using OpenCV 3.3+.
  •   5749 imaginary - Fast and simple HTTP microservice for image resizing.
  •   5356 imaging - Simple Go image processing package.
  •   4484 gg - 2D rendering in pure Go.
  •   4046 bild - Collection of image processing algorithms in pure Go.
  •   3561 imagor - Fast, secure image processing server and Go library, using libvips.
  •   3531 gowitness - Screenshoting webpages using go and headless chrome on command line.
  •   3299 ln - 3D line art rendering in Go.
  •   2776 bimg - Small package for fast and efficient image processing using libvips.
  •   2170 picfit - An image resizing server written in Go.
  •   2168 svgo - Go Language Library for SVG generation.
  •   2086 pt - Path tracing engine written in Go.
  •   1827 smartcrop - Finds good crops for arbitrary images and crop sizes.
  •   1801 imagick - Go binding to ImageMagick's MagickWand C API.
  •   1762 gift - Package of image processing filters.
  •   1544 canvas - Vector graphics to PDF, SVG or rasterized image.
  •   1367 govips - A lightning fast image processing and resizing library for Go.
  •   1270 geopattern - Create beautiful generative image patterns from a string.
  •   1224 stegify - Go tool for LSB steganography, capable of hiding any file within an image.
  •    903 image2ascii - Convert image to ASCII.
  •    770 goimagehash - Go Perceptual image hashing package.
  •    618 go-qrcode - Generate QR codes with personalized styles, allowing adjustments to color, block size, shape, and icons.
  •    591 govatar - Library and CMD tool for generating funny avatars.
  •    582 draft - Generate High Level Microservice Architecture diagrams for GraphViz using simple YAML syntax.
  •    512 mort - Storage and image processing server written in Go.
  •    418 go-nude - Nudity detection with Go.
  •    326 steganography - Pure Go Library for LSB steganography.
  •    253 gltf - Efficient and robust glTF 2.0 reader, writer and validator.
  •    247 transformimgs - Transformimgs resizes and optimises images for Web using next-generation formats.
  •    238 go-webp - Library for encode and decode webp pictures, using libwebp.
  •    237 mergi - Tool & Go library for image manipulation (Merge, Crop, Resize, Watermark, Animate).
  •    229 darkroom - An image proxy with changeable storage backends and image processing engines with focus on speed and resiliency.
  •    213 rez - Image resizing in pure Go and SIMD.
  •    155 img - Selection of image manipulation tools.
  •    146 go-cairo - Go binding for the cairo graphics library.
  •    124 cameron - An avatar generator for Go.
  •     94 color-extractor - Dominant color extractor with no external dependencies.
  •     77 gridder - A Grid based 2D Graphics library.
  •     74 webp-server - Simple and minimal image server capable of storing, resizing, converting and caching images.
  •     59 go-gd - Go binding for GD library.
  •     40 goimghdr - The imghdr module determines the type of image contained in a file for Go.
  •     28 go-webcolors - Port of webcolors library from Python to Go.
  •     18 mpo - Decoder and conversion tool for MPO 3D Photos.
  •     16 scout - Scout is a standalone open source software solution for DIY video security.

⬆ back to top

IoT (Internet of Things)

Libraries for programming devices of the IoT.

  •   9060 gobot - Gobot is a framework for robotics, physical computing, and the Internet of Things.
  •   2444 flogo - Project Flogo is an Open Source Framework for IoT Edge Apps & Integration.
  •   1527 ekuiper - Lightweight data stream processing engine for IoT edge.
  •   1309 shifu - Kubernetes native IoT development framework.
  •   1148 gatt - Gatt is a Go package for building Bluetooth Low Energy peripherals.
  •    966 rulego - RuleGo is a lightweight, high-performance, embedded, orchestrable component-based rule engine for IoT edge.
  •    407 connectordb - Open-Source Platform for Quantified Self & IoT.
  •    264 devices - Suite of libraries for IoT devices, experimental for x/exp/io.
  •    252 huego - An extensive Philips Hue client library for Go.
  •    231 sensorbee - Lightweight stream processing engine for IoT.
  •     86 smart-home - Software package for IoT automation.
  •     65 iot - IoT is a simple framework for implementing a Google IoT Core device.
  •     64 eywa - Project Eywa is essentially a connection manager that keeps track of connected devices.
  •     44 mainflux - Industrial IoT Messaging and Device Management Server.
  • periph - Peripherals I/O to interface with low-level board facilities.

⬆ back to top

Job Scheduler

Libraries for scheduling jobs.

  •   5909 gocron - Easy and fluent Go job scheduling. This is an actively maintained fork of   3473 jasonlvhit/gocron.
  •   1826 go-quartz - Simple, zero-dependency scheduling library for Go.
  •   1063 JobRunner - Smart and featureful cron job scheduler with job queuing and live monitoring built in.
  •   1034 gron - Define time-based tasks using a simple Go API and Gron’s scheduler will run them accordingly.
  •    454 scheduler - Cronjobs scheduling made easy.
  •    433 gronx - Cron expression parser, task runner and daemon consuming crontab like task list.
  •    423 goflow - A simple but powerful DAG scheduler and dashboard.
  •    309 tasks - An easy to use in-process scheduler for recurring tasks in Go.
  •    235 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.
  •    172 cheek - A simple crontab like scheduler that aims to offer a KISS approach to job scheduling.
  •    165 clockwerk - Go package to schedule periodic jobs using a simple, fluent syntax.
  •    105 leprechaun - Job scheduler that supports webhooks, crons and classic scheduling.
  •     55 cdule - Job scheduler library with database support
  •     28 sched - A job scheduler with the ability to fast-forward time.
  •     16 cronticker - A ticker implementation to support cron schedules.

⬆ back to top

JSON

Libraries for working with JSON.

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

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

⬆ back to top

Machine Learning

Libraries for Machine Learning.

  •   9334 GoLearn - General Machine Learning library for Go.
  •   8749 gorse - An offline recommender system backend based on collaborative filtering written in Go.
  •   5633 gorgonia - graph-based computational library like Theano for Go that provides primitives for building various machine learning and neural network algorithms.
  •   2845 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.
  •   2793 gosseract - Go package for OCR (Optical Character Recognition), by using Tesseract C++ library.
  •   2437 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.
  •   1578 goml - On-line Machine Learning in Go.
  •    892 eaopt - An evolutionary optimization library.
  •    805 bayesian - Naive Bayesian Classification for Golang.
  •    747 onnx-go - Go Interface to Open Neural Network Exchange (ONNX).
  •    740 CloudForest - Fast, flexible, multi-threaded ensembles of decision trees for machine learning in pure Go.
  •    721 ocrserver - A simple OCR API server, seriously easy to be deployed by Docker and Heroku.
  •    670 GoMLX - An accelerated Machine Learning framework for Go.
  •    565 gobrain - Neural Networks written in go.
  •    537 go-deep - A feature-rich neural network library in Go.
  •    345 hugot - Huggingface transformer pipelines for golang with onnxruntime.
  •    314 regommend - Recommendation & collaborative filtering engine.
  •    264 Goptuna - Bayesian optimization framework for black-box functions written in Go. Everything will be optimized.
  •    222 goga - Genetic algorithm library for Go.
  •    206 goRecommend - Recommendation Algorithms library written in Go.
  •    200 go-galib - Genetic Algorithms library written in Go / golang.
  •    158 shield - Bayesian text classifier with flexible tokenizers and storage backends for Go.
  •    120 go-featureprocessing - Fast and convenient feature processing for low latency machine learning in Go.
  •    116 go-fann - Go bindings for Fast Artificial Neural Networks(FANN) library.
  •    100 goscore - Go Scoring API for PMML.
  •     86 GoMind - A simplistic Neural Network Library in Go.
  •     84 fonet - A Deep Neural Network library written in Go.
  •     82 gonet - Neural Network for Go.
  •     73 libsvm - libsvm golang version derived work based on LIBSVM 3.14.
  •     70 neural-go - Multilayer perceptron network implemented in Go, with training via backpropagation.
  •     67 go-pr - Pattern recognition package in Go lang.
  •     54 Varis - Golang Neural Network.
  •     49 randomforest - Easy to use Random Forest library for Go.
  •     45 golinear - liblinear bindings for Go.
  •     43 go-cluster - Go implementation of the k-modes and k-prototypes clustering algorithms.
  •     41 godist - Various probability distributions, and associated methods.
  •     38 ddt - Dynamic decision tree, create trees defining customizable rules.
  •     33 evoli - Genetic Algorithm and Particle Swarm Optimization library.
  •     20 probab - Probability distribution functions. Bayesian inference. Written in pure Go.
  •     13 catboost-cgo - Fast, scalable, high performance Gradient Boosting on Decision Trees library. Golang using Cgo for blazing fast inference CatBoost Model.

⬆ back to top

Messaging

Libraries that implement messaging systems.

  •  11761 sarama - Go library for Apache Kafka.
  •  10593 Asynq - A simple, reliable, and efficient distributed task queue for Go built on top of Redis.
  •   8717 Centrifugo - Real-time messaging (Websockets or SockJS) server in Go.
  •   8186 gorush - Push notification server using   3039 APNs2 and google    105 GCM.
  •   8075 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.
  •   7629 machinery - Asynchronous task queue/job queue based on distributed message passing.
  •   5760 go-socket.io - socket.io library for golang, a realtime application framework.
  •   5702 NATS Go Client - Go client for the NATS messaging system.
  •   4793 Mercure - Server and library to dispatch server-sent updates using the Mercure protocol (built on top of Server-Sent Events).
  •   4731 Confluent Kafka Golang Client - confluent-kafka-go is Confluent's Golang client for Apache Kafka and the Confluent Platform.
  •   3833 melody - Minimalist framework for dealing with websocket sessions, includes broadcasting and automatic ping/pong handling.
  •   3039 APNs2 - HTTP/2 Apple Push Notification provider for Go — Send push notifications to iOS, tvOS, Safari and OSX apps.
  •   2606 go-nsq - the official Go package for NSQ.
  •   2081 gopush-cluster - gopush-cluster is a go push server cluster.
  •   1800 EventBus - The lightweight event bus with async compatibility.
  •   1663 amqp - Go RabbitMQ Client Library.
  •   1555 Beaver - A real time messaging server to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps.
  •   1541 Uniqush-Push - Redis backed unified push service for server-side notifications to mobile devices.
  •   1289 Chanify - A push notification server send message to your iOS devices.
  •   1188 zmq4 - Go interface to ZeroMQ version 4. Also available for    133 version 3 and     19 version 2.
  •   1016 dbus - Native Go bindings for D-Bus.
  •    940 Gollum - A n:m multiplexer that gathers messages from different sources and broadcasts them to a set of destinations.
  •    693 mangos - Pure go implementation of the Nanomsg ("Scalability Protocols") with transport interoperability.
  •    661 golongpoll - HTTP longpoll server library that makes web pub-sub simple.
  •    513 emitter - Emits events using Go way, with wildcard, predicates, cancellation possibilities and many other good wins.
  •    430 pubsub - Simple pubsub package for go.
  •    421 Quamina - Fast pattern-matching for filtering messages and events.
  •    417 Glue - Robust Go and Javascript Socket Library (Alternative to Socket.io).
  •    341 Bus - Minimalist message bus implementation for internal communication.
  •    272 messagebus - messagebus is a Go simple async message bus, perfect for using as event bus when doing event sourcing, CQRS, DDD.
  •    265 rabtap - RabbitMQ swiss army knife cli app.
  •    221 Go-MediatR - A library for handling mediator patterns and simplified CQRS patterns within an event-driven architecture, inspired by csharp MediatR library.
  •    159 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.
  •    146 hub - A Message/Event Hub for Go applications, using publish/subscribe pattern with support for alias like rabbitMQ exchanges.
  •    130 redisqueue - redisqueue provides a producer and consumer of a queue that uses Redis streams.
  •    113 Ratus - Ratus is a RESTful asynchronous task queue server.
  •    111 oplog - Generic oplog/replication system for REST APIs.
  •    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.
  •     97 rabbus - A tiny wrapper over amqp exchanges and queues.
  •     90 go-mq - RabbitMQ client with declarative configuration.
  •     80 drone-line - Sending Line notifications using a binary, docker or Drone CI.
  •     79 nsq-event-bus - A tiny wrapper around NSQ topic and channel.
  •     70 go-notify - Native implementation of the freedesktop notification spec.
  •     68 RapidMQ - RapidMQ is a lightweight and reliable library for managing of the local messages queue.
  •     67 Commander - A high-level event driven consumer/producer supporting various "dialects" such as Apache Kafka.
  •     64 go-res - Package for building REST/real-time services where clients are synchronized seamlessly, using NATS and Resgate.
  •     58 event - Implementation of the pattern observer.
  •     53 hare - A user friendly library for sending messages and listening to TCP sockets.
  •     29 ami - Go client to reliable queues based on Redis Cluster Streams.
  •     26 gosd - A library for scheduling when to dispatch a message to a channel.
  •     23 hypermatch - A very fast and efficient Go library for matching events to a large set of rules
  •     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.
  •     23 go-vitotrol - Client library to Viessmann Vitotrol web service.
  •     18 jazz - A simple RabbitMQ abstraction layer for queue administration and publishing and consuming of messages.
  •     11 gaurun-client - Gaurun Client written in Go.
  •      6 go-eventbus - Simple Event Bus package for Go.

⬆ back to top

Microsoft Office

  •   4461 unioffice - Pure go library for creating and processing Office Word (.docx), Excel (.xlsx) and Powerpoint (.pptx) documents.

Microsoft Excel

Libraries for working with Microsoft Excel.

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

Microsoft Word

Libraries for working with Microsoft Word.

  •    141 godocx - Library for reading and writing Microsoft Word (Docx) files.

⬆ back to top

Miscellaneous

Dependency Injection

Libraries for working with dependency injection.

  •  13361 google/wire - Automated Initialization in Go.
  •   6135 fx - A dependency injection based application framework for Go (built on top of dig).
  •   4016 dig - A reflection based dependency injection toolkit for Go.
  •   1952 do - A dependency injection framework based on Generics.
  •    570 GoLobby/Container - GoLobby Container is a lightweight yet powerful IoC dependency injection container for the Go programming language.
  •    363 goioc/di - Spring-inspired Dependency Injection Container.
  •    235 di - A dependency injection container for go programming language.
  •    181 dingo - A dependency injection toolkit for Go, based on Guice.
  •    177 kod - A generics based dependency injection framework for Go.
  •     50 alice - Additive dependency injection container for Golang.
  •     42 gontainer - A dependency injection service container for Go projects.
  •     38 wire - Strict Runtime Dependency Injection for Golang.
  •     35 linker - A reflection based dependency injection and inversion of control library with components lifecycle support.
  •     34 boot-go - Component-based development with dependency injection using reflections for Go developers.
  •     30 nject - A type safe, reflective framework for libraries, tests, http endpoints, and service startup.
  •     26 componego - A dependency injection framework based on components, allowing dynamic dependency replacement without duplicating code in tests.
  •     21 gocontainer - Simple Dependency Injection Container.
  •     16 ore - Lightweight, generic & simple dependency injection (DI) container.
  •     15 gontainer/gontainer - A YAML-based Dependency Injection container for GO. It supports dependencies' scopes, and auto-detection of circular dependencies. Gontainer is concurrent-safe.
  •     10 kinit - Customizable dependency injection container with the global mode, cascade initialization and panic-safe finalization.
  •     10 autowire - Dependency injection using Generics and reflection.
  •      8 HnH/di - DI container library that is focused on clean API and flexibility.
  • cosban/di - A code generation based dependency injection wiring tool.

⬆ back to top

Project Layout

Unofficial set of patterns for structuring projects.

  •  50783 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  50783 this issue for more information. Nonetheless, some may find the layout useful.
  •   6760 go-blueprint - Allows users to spin up a quick Go project using a popular framework.
  •   3669 ardanlabs/service - A   3669 starter kit for building production grade scalable web service applications.
  •   3555 goxygen - Generate a modern Web project with Go and Angular, React, or Vue in seconds.
  •   2290 pagoda - Rapid, easy full-stack web development starter kit built in Go.
  •   2058 nunu - Nunu is a scaffolding tool for building Go applications.
  •   1870 modern-go-application - Go application boilerplate and example applying modern practices.
  •    699 cookiecutter-golang - A Go application boilerplate template for quick starting projects following production best practices.
  •    515 go-starter - An opinionated production-ready RESTful JSON backend template, highly integrated with VSCode DevContainers.
  •    498 golang-templates/seed - Go application GitHub repository template.
  •    323 go-todo-backend - Go Todo Backend example using modular project layout for product microservice.
  •    149 scaffold - Scaffold generates a starter Go project layout. Lets you focus on business logic implemented.
  •    132 go-sample - A sample layout for Go application projects with the real code.
  •     81 kickstart.go - Minimalistic single-file Go HTTP server template without third-party dependencies.
  •     61 gobase - A simple skeleton for golang application with basic setup for real golang application.
  •     32 go-module - Template for a typical module written on Go.
  •     26 wangyoucao577/go-project-layout - Set of practices and discussions on how to structure Go project layout.
  •     18 insidieux/inizio - Golang project layout generator with plugins.

⬆ back to top

Strings

Libraries for working with strings.

  •   1401 xstrings - Collection of useful string functions ported from other languages.
  •    984 sttr - cross-platform, cli app to perform various operations on string.
  •    239 gobeam/Stringy - String manipulation library to convert string to camel case, snake case, kebab case / slugify etc.
  •    207 strutil - String utilities.
  •     58 caps - A case conversion library.
  •     21 bexp - Go implementation of Brace Expansion mechanism to generate arbitrary strings.
  •      6 strcase - Case-insensitive implementation of the standard library's strings/bytes packages.
  • 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.

  •  10839 gopsutil - Cross-platform library for retrieving process and system utilization(CPU, Memory, Disks, etc).
  •   7035 gatus - Automated service health dashboard.
  •   4781 gofakeit - Random data generator written in go.
  •   2256 go-resiliency - Resiliency patterns for golang.
  •   2174 base64Captcha - Base64captch supports digit, number, alphabet, arithmetic, audio and digit-alphabet captcha.
  •   1459 gosms - Your own local SMS gateway in Go that can be used to send SMS.
  •   1236 go-commons-pool - Generic object pool for Golang.
  •   1212 llvm - Library for interacting with LLVM IR in pure Go.
  •   1117 shoutrrr - Notification library providing easy access to various messaging services like slack, mattermost, gotify and smtp among others.
  •   1004 stateless - A fluent library for creating state machines.
  •    944 shortid - Distributed generation of super short, unique, non-sequential, URL friendly IDs.
  •    791 health - A simple and flexible health check library for Go.
  •    490 xz - Pure golang package for reading and writing xz-compressed files.
  •    456 banner - Add beautiful banners into your Go applications.
  •    450 health - Easy to use, extensible health check library.
  •    410 gountries - Package that exposes country and subdivision data.
  •    382 conv - Package conv provides fast and intuitive conversions across Go types.
  •    377 lk - A simple licensing library for golang.
  •    311 ffmt - Beautify data display for Humans.
  •    287 go-unarr - Decompression library for RAR, TAR, ZIP and 7z archives.
  •    271 healthcheck - An opinionated and concurrent health-check HTTP handler for RESTful services.
  •    262 antch - A fast, powerful and extensible web crawling & scraping framework.
  •    258 gtree - Provide CLI, Package and Web for tree output and directories creation from Markdown or programmatically.
  •    253 battery - Cross-platform, normalized battery information library.
  •    248 bitio - Highly optimized bit-level Reader and Writer for Go.
  •    169 stats - Monitors Go MemStats + System stats such as Memory, Swap and CPU and sends via UDP anywhere you want for logging etc...
  •    162 turtle - Emojis for Go.
  •    157 captcha - Package captcha provides an easy to use, unopinionated API for captcha generation.
  •    155 archives - a cross-platform, multi-format Go library for working with archives and compression formats with a unified API and as virtual file systems compatible with io/fs.
  •    114 gommit - Analyze git commit messages to ensure they follow defined patterns.
  •    109 indigo - Distributed unique ID generator of using Sonyflake and encoded by Base58.
  •    106 gotoprom - Type-safe metrics builder wrapper library for the official Prometheus client.
  •     97 faker - Random fake data and struct generator for Go.
  •     86 persian - Some utilities for Persian language in go.
  •     83 morse - Library to convert to and from morse code.
  •     72 pdfgen - HTTP service to generate PDF from Json requests.
  •     59 xkg - X Keyboard Grabber.
  •     49 url-shortener - A modern, powerful, and robust URL shortener microservice with mysql support.
  •     49 browscap_go - GoLang Library for Browser Capabilities Project.
  •     49 datacounter - Go counters for readers/writer/http.ResponseWriter.
  •     47 xdg - FreeDesktop.org (xdg) Specs implemented in Go.
  •     47 sandid - Every grain of sand on earth has its own ID.
  •     43 autoflags - Go package to automatically define command line flags from struct fields.
  •     36 gosh - Provide Go Statistics Handler, Struct, Measure Method.
  •     31 numa - NUMA is a utility library, which is written in go. It help us to write some NUMA-AWARED code.
  •     27 metrics - Library for metrics instrumentation and Prometheus exposition.
  •     25 shellwords - A Golang library to manipulate strings according to the word parsing rules of the UNIX Bourne shell.
  •     17 avgRating - Calculate average score and rating based on Wilson Score Equation.
  •     15 anagent - Minimalistic, pluggable Golang evloop/timer handler with dependency-injection.
  •     15 varint - A faster varying length integer encoder/decoder than the one provided in the standard library.
  •     13 go-commandbus - A slight and pluggable command-bus for Go.
  •     13 hostutils - A golang library for packing and unpacking FQDNs list.
  •     11 openapi - OpenAPI 3.x parser.
  •      6 VarHandler - Generate boilerplate http input and output handling.
  •      5 sitemap-format - A simple sitemap generator, with a little syntactic sugar.
  •      5 basexx - Convert to, from, and between digit strings in various number bases.
  •      4 common - A library for server framework.
  • 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

  •   1205 lingua-go - An accurate natural language detection library, suitable for long and short text alike. Supports detecting multiple languages in mixed-language text.
  •    646 whatlanggo - Natural language detection package for Go. Supports 84 languages and 24 scripts (writing systems e.g. Latin, Cyrillic, etc).
  •    172 getlang - Fast natural language detection package.
  •     58 guesslanguage - Functions to determine the natural language of a unicode text.
  •     25 detectlanguage - Language Detection API Go Client. Supports batch requests, short phrase or single word language detection.

Morphological Analyzers

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

Slugifiers

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

Tokenizers

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

Translation

  •   3098 go-i18n - Package and an accompanying tool to work with localized text.
  •   1652 go-pinyin - CN Hanzi to Hanyu Pinyin converter.
  •    446 gotext - GNU gettext utilities for Go.
  •     58 ctxi18n - Context aware i18n with a short and consise API, pluralization, interpolation, and fs.FS support. YAML locale definitions are based on Rails i18n.
  •     58 spreak - Flexible translation and humanization library for Go, based on the concepts behind gettext.
  •     50 iuliia-go - Transliterate Cyrillic → Latin in every possible way.
  •     34 go-mystem - CGo bindings to Yandex.Mystem - russian morphology analyzer.
  •     20 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     20 xtemplate, which can extract messages as a pot file from text/html template.
  •      6 go-words - A words table and text resource library for Golang projects.

Transliteration

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

⬆ back to top

Networking

Libraries for working with various layers of the network.

  •  22223 fasthttp - Package fasthttp is a fast HTTP implementation for Go, up to 10 times faster than net/http.
  •  14255 webrtc - A pure Go implementation of the WebRTC API.
  •  14038 kcptun - Extremely simple & fast udp tunnel based on KCP protocol.
  •  10386 quic-go - An implementation of the QUIC protocol in pure Go.
  •  10102 gnet - gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go.
  •   9831 cloudflared - Cloudflare Tunnel client (formerly Argo Tunnel).
  •   8186 dns - Go library for working with DNS.
  •   6429 gopacket - Go library for packet processing with libpcap bindings.
  •   6188 GoProxy - A library to create a customized HTTP/HTTPS proxy server using Go.
  •   4176 netpoll - A high-performance non-blocking I/O networking framework, which focused on RPC scenarios, developed by ByteDance.
  •   4167 kcp-go - KCP - Fast and Reliable ARQ Protocol.
  •   4066 HTTPLab - HTTPLabs let you inspect HTTP requests and forge responses.
  •   3803 ssh - Higher-level API for building SSH servers (wraps crypto/ssh).
  •   3709 gobgp - BGP implemented in the Go Programming Language.
  •   3623 tun2socks - A pure go implementation of tun2socks powered by gVisor TCP/IP stack.
  •   3417 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.
  •   2365 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.
  •   1991 water - Simple TUN/TAP library.
  •   1739 gev - gev is a lightweight, fast non-blocking TCP network library based on Reactor mode.
  •   1675 go-getter - Go library for downloading files or directories from various sources using a URL.
  •   1547 sftp - Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt.
  •   1490 gws - High-Performance WebSocket Server & Client With AsyncIO Supporting .
  •   1417 grab - Go package for managing file downloads.
  •   1393 NFF-Go - Framework for rapid development of performant network functions for cloud and bare-metal (former YANFF).
  •   1333 ftp - Package ftp implements a FTP client as described in RFC 959.
  •   1223 mdns - Simple mDNS (Multicast DNS) client/server library in Golang.
  •   1161 gosnmp - Native Go library for performing SNMP actions.
  •    988 gmqtt - Gmqtt is a flexible, high-performance MQTT broker library that fully implements the MQTT protocol V3.1.1.
  •    974 sdns - A high-performance, recursive DNS resolver server with DNSSEC support, focused on preserving privacy.
  •    965 vssh - Go library for building network and server automation over SSH protocol.
  •    917 cidranger - Fast IP to CIDR lookup for Go.
  •    816 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.
  •    776 gaio - High performance async-io networking for Golang in proactor mode.
  •    690 go-stun - Go implementation of the STUN client (RFC 3489 and RFC 5389).
  •    689 lhttp - Powerful websocket framework, build your IM server more easily.
  •    651 peerdiscovery - Pure Go library for cross-platform local peer discovery using UDP multicast.
  •    512 gotcp - Go package for quickly writing tcp applications.
  •    495 stun - Go implementation of RFC 5389 STUN protocol.
  •    491 gopcap - Go wrapper for libpcap.
  •    441 ftpserverlib - Fully featured FTP server library.
  •    428 winrm - Go WinRM client to remotely execute commands on Windows machines.
  •    424 raw - Package raw enables reading and writing data at the device driver level for a network interface.
  •    368 arp - Package arp implements the ARP protocol, as described in RFC 826.
  •    321 dnsmonster - Passive DNS Capture/Monitoring Framework.
  •    280 ethernet - Package ethernet implements marshaling and unmarshalling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags.
  •    264 gNxI - A collection of tools for Network Management that use the gNMI and gNOI protocols.
  •    254 buffstreams - Streaming protocolbuffer data over TCP made easy.
  •    219 jazigo - Jazigo is a tool written in Go for retrieving configuration for multiple network devices.
  •    177 utp - Go uTP micro transport protocol implementation.
  •    171 tcpack - tcpack is an application protocol based on TCP to Pack and Unpack bytes stream in go program.
  •    156 canopus - CoAP Client/Server implementation (RFC 7252).
  •    155 xtcp - TCP Server Framework with simultaneous full duplex communication, graceful shutdown, and custom protocol.
  •    150 sslb - It's a Super Simples Load Balancer, just a little project to achieve some kind of performance.
  •    145 iplib - Library for working with IP addresses (net.IP, net.IPNet), inspired by python ipaddress and ruby ipaddr
  •    123 psql-wire - PostgreSQL server wire protocol. Build your own server and start serving connections..
  •    120 event - Simple I/O event notification library written in Golang.
  •    113 gldap - gldap provides an ldap server implementation and you provide handlers for its ldap operations.
  •     91 go-powerdns - PowerDNS API bindings for Golang.
  •     90 natiu-mqtt - A dead-simple, non-allocating, low level implementation of MQTT well suited for embedded systems.
  •     81 fullproxy - A fully featured scriptable and daemon configurable proxy and pivoting toolkit with SOCKS5, HTTP, raw ports and reverse proxy protocols.
  •     80 packet - Send packets over TCP and UDP. It can buffer messages and hot-swap connections if needed.
  •     80 ether - Cross-platform Go package for sending and receiving ethernet frames.
  •     77 dhcp6 - Package dhcp6 implements a DHCPv6 server, as described in RFC 3315.
  •     60 fwdctl - A simple and intuitive CLI to manage IPTables forwards in your Linux server.
  •     57 portproxy - Simple TCP proxy which adds CORS support to API's which don't support it.
  •     53 linkio - Network link speed simulation for Reader/Writer interfaces.
  •     49 bart - Package bart provides a fast routing table algorithm.
  •     28 publicip - Package publicip returns your public facing IPv4 address (internet egress).
  •     28 graval - Experimental FTP server framework.
  •     28 httpproxy - HTTP proxy handler and dialer.
  •     20 gnet - gnet is a high-performance networking framework,especially for game servers.
  •     19 goshark - Package goshark use tshark to decode IP packet and create data struct to analyse packet.
  •     16 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.
  •     14 tspool - A TCP Library use worker pool to improve performance and protect your server.
  •     12 go-sse - Go client and server implementation of HTML server-sent events.
  •      8 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
  • 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.

  •  10456 resty - Simple HTTP and REST client for Go inspired by Ruby rest-client.
  •   4371 req - Simple Go HTTP client with Black Magic (Less code and More efficiency).
  •   2645 heimdall - An enhanced http client with retry and hystrix capabilities.
  •   2145 grequests - A Go "clone" of the great and famous Requests library.
  •   2060 go-retryablehttp - Retryable HTTP client in Go.
  •   1689 sling - Sling is a Go HTTP client library for creating and sending API requests.
  •   1562 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.
  •   1090 gentleman - Full-featured plugin-driven HTTP client library.
  •    959 tls-client - net/http.Client like HTTP Client with options to select specific client TLS Fingerprints to use for requests.
  •    651 pester - Go HTTP client calls with retries, backoff, and concurrency.
  •    383 go-cleanhttp - Get easily stdlib HTTP client, which does not share any state with other clients.
  •    291 request - HTTP client for golang. If you have experience about axios or requests, you will love it. No 3rd dependency.
  •    208 azuretls-client - An easy-to-use HTTP client 100% in Go to spoof TLS/JA3 and HTTP2 fingerprint
  •     82 go-otelroundtripper - Go http.RoundTripper that emits open telemetry metrics for HTTP requests.
  •     81 fast-shot - Hit your API targets with rapid-fire precision using Go's fastest and simple HTTP Client.
  •     80 go-http-client - Make http calls simply and easily.
  •     74 go-zoox/fetch - A Powerful, Lightweight, Easy Http Client, inspired by Web Fetch API.
  •     52 rq - A nicer interface for golang stdlib HTTP client.
  •     50 httpretry - Enriches the default go HTTP client with retry functionality.
  •     22 go-req - Declarative golang HTTP client.
  •     13 axios4go - A Go HTTP client library inspired by Axios, providing a simple and intuitive API for making HTTP requests.

⬆ back to top

OpenGL

Libraries for using OpenGL in Go.

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

⬆ back to top

ORM

Libraries that implement Object-Relational Mapping or datamapping techniques.

  •  37469 GORM - The fantastic ORM library for Golang, aims to be developer friendly.
  •  15868 ent - An entity framework for Go. Simple, yet powerful ORM for modeling and querying data.
  •   6803 SQLBoiler - ORM generator. Generate a featureful and blazing-fast ORM tailored to your database schema.
  •   3987 bun - SQL-first Golang ORM. Successor of go-pg.
  •   3737 gorp - Go Relational Persistence, ORM-ish library for Go.
  •   3551 upper.io/db - Single interface for interacting with different data sources through the use of adapters that wrap mature database drivers.
  •   2384 gormt - Mysql database to golang gorm struct.
  •   2236 Prisma - Prisma Client Go, Typesafe database access for Go.
  •   1498 go-sqlbuilder - A flexible and powerful SQL string builder library plus a zero-config ORM.
  •   1464 pop/soda - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
  •   1444 reform - Better ORM for Go, based on non-empty interfaces and code generation.
  •    898 bob - SQL query builder and ORM/Factory generator for Go. Successor of SQLBoiler.
  •    774 rel - Modern Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API.
  •    307 Zoom - Blazing-fast datastore and querying engine built on Redis.
  •    179 go-sql - A easy ORM for mysql.
  •    164 grimoire - Grimoire is a database access layer and validation for golang. (Support: MySQL, PostgreSQL and SQLite3).
  •    159 golobby/orm - Simple, fast, type-safe, generic orm for developer happiness.
  •    112 go-store - Simple and fast Redis backed key-value store library for Go.
  •     52 go-firestorm - A simple ORM for Google/Firebase Cloud Firestore.
  •     23 cacheme - Schema based, typed Redis caching/memoize framework for Go.
  •     17 CQL - Built on top of GORM, adds compile-time verified queries based on auto-generated code.
  •     16 go-dbw - A simple package that encapsulates database operations.
  •     14 lore - Simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go.
  •     12 marlow - Generated ORM from project structs for compile time safety assurances.
  • 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.

Unofficial libraries for package and dependency management.

  •   8140 glide - Manage your golang vendor and vendored packages with ease. Inspired by tools like Maven, Bundler, and Pip.
  •   6561 syft - A CLI tool and Go library for generating a Software Bill of Materials (SBOM) from container images and filesystems.
  •   5531 godep - dependency tool for go, godep helps build packages reproducibly by fixing their dependencies.
  •   4928 govendor - Go Package Manager. Go vendor tool that works with the standard vendor file.
  •   2465 gopm - Go Package Manager.
  •   1185 gpm - Barebones dependency manager for Go.
  •    776 goop - Simple dependency manager for Go (golang), inspired by Bundler.
  •    491 modgv - Converts 'go mod graph' output into Graphviz's DOT language.
  •    382 gup - Update binaries installed by "go install".
  •    213 johnny-deps - Minimal dependency version using Git.
  •    164 mvn-golang - plugin that provides way for auto-loading of Golang SDK, dependency management and start build environment in Maven project infrastructure.
  •    125 VenGO - create and manage exportable isolated go virtual environments.
  •     49 gop - Build and manage your Go applications out of GOPATH.

⬆ back to top

Performance

  •  20894 jaeger - A distributed tracing system.
  •   5779 pixie - No instrumentation tracing for Golang applications via eBPF.
  •   3260 statsviz - Live visualization of your Go application runtime statistics.
  •   2018 profile - Simple profiling support package for Go.
  •    248 go-instrument - Automatically add spans to all methods and functions.
  •    157 mm-go - Generic manual memory management for golang.
  •     87 tracer - Simple, lightweight tracing.

⬆ back to top

Query Language

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

⬆ back to top

Reflection

  •    455 Deepcopier - Simple struct copying for Go.
  •     62 gotype - Golang source code parsing, usage like reflect package.
  •     49 copy - Package for fast copying structs of different types.
  •     41 go-deepcopy - Fast deep copy library.
  •     40 gpath - Library to simplify access struct fields with Go's expression in reflection.
  •     12 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.
  •      8 reflectutils - Helpers for working with reflection: struct tag parsing; recursive walking; fill value from string.
  •      3 objwalker - Walk by go objects with reflection.

⬆ back to top

Resource Embedding

  •    985 vfsgen - Generates a vfsdata.go file that statically implements the given virtual filesystem.
  •     33 debme - Create an embed.FS from an existing embed.FS subdirectory.
  •     29 rebed - Recreate folder structures and files from Go 1.16's embed.FS type
  • embed - Package embed provides access to files embedded in the running Go program.

⬆ back to top

Science and Data Analysis

Libraries for scientific computing and data analyzing.

  •   7788 gonum - Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more.
  •   2943 stats - Statistics package with common functions missing from the Golang standard library.
  •   2780 gonum/plot - gonum/plot provides an API for building and drawing plots in Go.
  •   1842 gosl - Go scientific library for linear algebra, FFT, geometry, NURBS, numerical methods, probabilities, optimisation, differential equations, and more.
  •   1310 streamtools - general purpose, graphical tool for dealing with streams of data.
  •   1220 dataframe-go - Dataframes for machine-learning and statistics (similar to pandas).
  •    941 orb - 2D geometry types with clipping, GeoJSON and Mapbox Vector Tile support.
  •    866 go-dsp - Digital Signal Processing for Go.
  •    772 chart - Simple Chart Plotting library for Go. Supports many graphs types.
  •    740 goraph - Pure Go graph theory library(data structure, algorithm visualization).
  •    714 graph - Library of basic graph algorithms.
  •    690 Poly - A Go package for engineering organisms.
  •    441 ewma - Exponentially-weighted moving averages.
  •    405 calendarheatmap - Calendar heatmap in plain Go inspired by Github contribution activity.
  •    233 go-hep - A set of libraries and tools for performing High Energy Physics analyses with ease.
  •    208 TextRank - TextRank implementation in Golang with extendable features (summarization, weighting, phrase extraction) and multithreading (goroutine) support.
  •    161 sparse - Go Sparse matrix formats for linear algebra supporting scientific and machine learning applications, compatible with gonum matrix libraries.
  •    115 go-estimate - State estimation and filtering algorithms in Go.
  •     85 pagerank - Weighted PageRank algorithm implemented in Go.
  •     74 jsonl-graph - Tool to manipulate JSONL graphs with graphviz support.
  •     74 gograph - A golang generic graph library that provides mathematical graph-theory and algorithms.
  •     55 geom - 2D geometry for golang.
  •     51 evaler - Simple floating point arithmetic expression evaluator.
  •     42 decimal - Package decimal implements arbitrary-precision decimal floating-point arithmetic.
  •     36 triangolatte - 2D triangulation library. Allows translating lines and polygons (both based on points) to the language of GPUs.
  •     35 goent - GO Implementation of Entropy Measures.
  •     27 piecewiselinear - Tiny linear interpolation library.
  •     23 godesim - Extended/multivariable ODE solver framework for event-based simulations with simple API.
  •     22 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.
  •     22 ode - Ordinary differential equation (ODE) solver which supports extended states and channel-based iteration stop conditions.
  •     20 PiHex - Implementation of the "Bailey-Borwein-Plouffe" algorithm for the hexadecimal number Pi.
  •     15 assocentity - Package assocentity returns the average distance from words to a given entity.
  •     11 rootfinding - root-finding algorithms library for finding roots of quadratic functions.
  •     11 bradleyterry - Provides a Bradley-Terry Model for pairwise comparisons.
  •     11 go-gt - Graph theory algorithms written in "Go" language.
  •      8 topk - Sliding-window and regular top-K sketches, based on the HeavyKeeper algorithm.

⬆ back to top

Security

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

  •  18159 age - A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
  •   8252 lego - Pure Go ACME client library and CLI tool (for use with Let's Encrypt).
  •   5136 CertMagic - Mature, robust, and powerful ACME client integration for fully-managed TLS certificate issuance and renewal.
  •   4215 Cameradar - Tool and library to remotely hack RTSP streams from surveillance cameras.
  •   2578 memguard - A pure Go library for handling sensitive values in memory.
  •   2422 Coraza - Enterprise-ready, modsecurity and OWASP CRS compatible WAF library.
  •   2291 secure - HTTP middleware for Go that facilitates some quick security wins.
  •   2060 acmetool - ACME (Let's Encrypt) client tool with automatic renewal.
  •   1894 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.
  •   1370 acra - Network encryption proxy to protect database-based applications from data leaks: strong selective encryption, SQL injections prevention, intrusion detection system.
  •    967 dongle - A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption.
  •    819 beelzebub - A secure low code honeypot framework, leveraging AI for System Virtualization.
  •    554 booster - Fast initramfs generator with full-disk encryption support.
  •    545 nacl - Go implementation of the NaCL set of API's.
  •    514 go-password-validator - Password validator based on raw cryptographic entropy values.
  •    464 ssh-vault - encrypt/decrypt using ssh keys.
  •    363 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.
  •    363 go-yara - Go Bindings for    138 YARA, the "pattern matching swiss knife for malware researchers (and everyone else)".
  •    361 optimus-go - ID hashing and Obfuscation using Knuth's Algorithm.
  •    338 firewalld-rest - A rest application to dynamically update firewalld rules on a linux server.
  •    321 BadActor - In-memory, application-driven jailer built in the spirit of fail2ban.
  •    288 passlib - Futureproof password hashing library.
  •    280 go-peer - A software library for creating secure and anonymous decentralized systems.
  •    198 simple-scrypt - Scrypt package with a simple, obvious API and automatic cost calibration built-in.
  •     91 argon2pw - Argon2 password hash generation with constant-time password comparison.
  •     89 luks.go - Pure Golang library to manage LUKS partitions.
  •     60 goSecretBoxPassword - A probably paranoid package for securely hashing and encrypting passwords.
  •     58 passwap - Provides a unified implementation between different password hashing algorithms
  •     55 go-generate-password - Password generator that can be used on the cli or as a library.
  •     41 go-htpasswd - Apache htpasswd Parser for Go.
  •     39 certificates - An opinionated tool for generating tls certificates.
  •     34 secureio - An keyexchanging+authenticating+encrypting wrapper and multiplexer for io.ReadWriteCloser based on XChaCha20-poly1305, ECDH and ED25519.
  •     30 sslmgr - SSL certificates made easy with a high level wrapper around acme/autocert.
  •     29 secret - Prevent your secrets from leaking into logs, std* etc.
  •     20 argon2-hashing - light wrapper around Go's argon2 package that closely mirrors with Go's standard library Bcrypt and simple-scrypt package.
  •     19 goArgonPass - Argon2 password hash and verification designed to be compatible with existing Python and PHP implementations.
  •     16 qrand - Client for the ANU Quantum Numbers (AQN) API, providing quantum-mechanically secure random data.
  •      6 multikey - An n-out-of-N keys encryption/decryption framework based on Shamir's Secret Sharing algorithm.
  •      5 Interpol - Rule-based data generator for fuzzing and penetration testing.
  •      4 entpassgen - Entropy Password Generator with extensive command line arguments to generate random strings securely including digits, passwords, and passwords built using obscure dictionary words mixed with symbols and digits.
  •      3 encid - Encode and decode encrypted integer IDs.
  • 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.

  •  13563 jsoniter - High-performance 100% compatible drop-in replacement of "encoding/json".
  •   9862 goprotobuf - Go support, in the form of a library and protocol compiler plugin, for Google's protocol buffers.
  •   7958 mapstructure - Go library for decoding generic map values into native Go structures.
  •   5670 gogoprotobuf - Protocol Buffers for Go with Gadgets.
  •   1878 go-codec - High Performance, feature-Rich, idiomatic encode, decode and rpc library for msgpack, cbor and json, with runtime-based OR code-generation support.
  •    954 csvutil - High Performance, idiomatic CSV record encoding and decoding to native Go structures.
  •    800 cbor - Small, safe, and easy CBOR encoding and decoding library.
  •    747 colfer - Code generation for the Colfer binary format.
  •    288 go-capnproto - Cap'n Proto library and parser for go.
  •    166 php_session_decoder - GoLang library for working with PHP session format and PHP Serialize/Unserialize functions.
  •    144 structomap - Library to easily and dynamically generate maps from static structures.
  •    100 binstruct - Golang binary decoder for mapping data into the structure.
  •     65 bambam - generator for Cap'n Proto schemas from go.
  •     44 bel - Generate TypeScript interfaces from Go structs/interfaces. Useful for JSON RPC.
  •     27 fwencoder - Fixed width file parser (encoding and decoding library) for Go.
  •     23 elastic - Convert slices, maps or any other unknown value across different types at run-time, no matter what.
  •     21 gotiny - Efficient Go serialization library, gotiny is almost as fast as serialization libraries that generate code.
  •     19 pletter - A standard way to wrap a proto message for message brokers.
  •     18 go-csvlib - High level and rich functionalities CSV serialization/deserialization library.
  •      9 fixedwidth - Fixed-width text formatting (UTF-8 supported).
  •      7 unitpacking - Library to pack unit vectors into as fewest bytes as possible.

⬆ back to top

Server Applications

  •  61322 Caddy - Caddy is an alternative, HTTP/2 web server that's easy to configure and use.
  •  50076 minio - Minio is a distributed object storage server.
  •  48363 etcd - Highly-available key value store for shared configuration and service discovery.
  •  43643 pocketbase - PocketBase is a realtime backend in 1 file consisting of embedded database (SQLite) with realtime subscriptions, built-in auth management and much more.
  •   9937 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.
  •   8023 RoadRunner - High-performance PHP application server, load-balancer and process manager.
  •   5799 Easegress - A cloud native high availability/performance traffic orchestration system with observability and extensibility.
  •   4040 flipt - A self contained feature flag solution written in Go and Vue.js
  •   3866 Wish - Make SSH apps, just like that!
  •   3447 devd - Local webserver for developers.
  •   3280 Fider - Fider is an open platform to collect and organize customer feedback.
  •   2867 algernon - HTTP/2 web server with built-in support for Lua, Markdown, GCSS and Amber.
  •   2455 Flagr - Flagr is an open-source feature flagging and A/B testing service.
  •   2004 Trickster - HTTP reverse proxy cache and time series accelerator.
  •   1785 discovery - A registry for resilient mid-tier load balancing and failover.
  •   1558 go-feature-flag - A simple, complete and lightweight self-hosted feature flag solution 100% Open Source.
  •    566 Clace - Clace makes internal tool deployment and management easy by implementing an app server for containerized webapps.
  •    547 Euterpe - Self-hosted music streaming server with built-in web UI and REST API.
  •    147 wd-41 - A (w)eb (d)evelopment server with automatic live-reload on file changes.
  •    143 dudeldu - A simple SHOUTcast server.
  •    136 go-proxy-cache - Simple Reverse Proxy with Caching, written in Go, using Redis.
  •    113 cortex-tenant - Prometheus remote write proxy that adds add Cortex tenant ID header based on metric labels.
  •     97 lets-proxy2 - Reverse proxy for handle https with issue certificates in fly from lets-encrypt.
  •     58 psql-streamer - Stream database events from PostgreSQL to Kafka.
  •     41 nginx-prometheus - Nginx log parser and exporter to Prometheus.
  •     35 protoxy - A proxy server that converts JSON request bodies to Protocol Buffers.
  •     15 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.
  •      8 gondola - A YAML based golang reverse proxy.
  •      2 riemann-relay - Relay to load-balance Riemann events and/or convert them to Carbon.
  • nsq - A realtime distributed messaging platform.
  • Engity's Bifröst - Highly customizable SSH server with several ways to authorize a user how to execute its session (local or in containers).
  • 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.

  •   1978 go-streams - Go stream processing library.
  •    159 machine - Go library for writing and generating stream workers with built in metrics and traceability.
  •    130 go-etl - A lightweight toolkit for data source extraction, transformation, and loading (ETL).
  •     91 stream - Go Stream, like Java 8 Stream: Filter/Map/FlatMap/Peek/Sorted/ForEach/Reduce...
  •     83 goio - An implementation of IO, Stream, Fiber for Golang, inspired by awesome Scala libraries cats and fs2.

⬆ back to top

Template Engines

Libraries and tools for templating and lexing.

  •   8815 templ - A HTML templating language that has great developer tooling.
  •   3165 quicktemplate - Fast, powerful, yet easy to use template engine. Converts templates into Go code and then compiles it.
  •   2910 pongo2 - Django-like template-engine for Go.
  •   2321 maroto - A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.
  •   1286 jet - Jet template engine.
  •    861 Razor - Razor view engine for Golang.
  •    852 fasttemplate - Simple and fast template engine. Substitutes template placeholders up to 10x faster than text/template.
  •    615 raymond - Complete handlebars implementation in Go.
  •    582 ego - Lightweight templating language that lets you write templates in Go. Templates are translated into Go and compiled.
  •    429 goview - Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
  •    295 liquid - Go implementation of Shopify Liquid templates.
  •    173 Soy - Closure templates (aka Soy templates) for Go, following the official spec.
  •    135 sprout - Useful template functions for Go templates.
  •     34 got - A Go code generator inspired by Hero and Fasttemplate. Has include files, custom tag definitions, injected Go code, language translation, and more.
  •     25 tbd - A really simple way to create text templates with placeholders - exposes extra builtin Git repo metadata.
  • htmgo - build simple and scalable systems with go + htmx
  • 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)) }.
  • extemplate - Tiny wrapper around html/template to allow for easy file-based template inheritance.

⬆ back to top

Testing

Libraries for testing codebases and generating test data.

Testing Frameworks

  •  23969 Testify - Sacred extension to the standard go testing package.
  •   8306 GoConvey - BDD-style framework with web UI and live reload.
  •   5328 keploy - Generate Testcase and Data Mocks from API calls automatically.
  •   4302 go-cmp - Package for comparing Go values in tests.
  •   3839 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.
  •   2590 httpexpect - Concise, declarative, and easy to use end-to-end HTTP and REST API testing.
  •   2369 godog - Cucumber BDD framework for Go.
  •   1841 is - Professional lightweight testing mini-framework for Go.
  •   1420 gnomock - integration testing with real dependencies (database, cache, even Kubernetes or AWS) running in Docker, without mocks.
  •   1277 go-vcr - Record and replay your HTTP interactions for fast, deterministic and accurate tests.
  •   1133 testfixtures - A helper for Rails' like test fixtures to test database applications.
  •    900 embedded-postgres - Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test.
  •    889 goblin - Mocha like testing framework of Go.
  •    838 goc - Goc is a comprehensive coverage testing system for The Go Programming Language.
  •    778 baloo - Expressive and versatile end-to-end HTTP API testing made easy.
  •    652 go-mutesting - Mutation testing for Go source code.
  •    529 gotest.tools - A collection of packages to augment the go testing package and support common patterns.
  •    441 gofight - API Handler Testing for Golang Router framework.
  •    440 go-testdeep - Extremely flexible golang deep comparison, extends the go testing package.
  •    419 testza - Full-featured test framework with nice colorized output.
  •    312 cupaloy - Simple snapshot testing addon for your test framework.
  •    276 frisby - REST API testing framework.
  •    265 got - An enjoyable golang test framework.
  •    264 endly - Declarative end to end functional testing.
  •    256 go-hit - Hit is an http integration test framework written in golang.
  •    247 go-carpet - Tool for viewing test coverage in terminal.
  •    228 commander - Tool for testing cli applications on windows, linux and osx.
  •    204 charlatan - Tool to generate fake interface implementations for tests.
  •    188 go-snaps - Jest-like snapshot testing in Golang.
  •    161 dbcleaner - Clean database for testing purpose, inspired by database_cleaner in Ruby.
  •    128 jsonassert - Package for verifying that your JSON payloads are serialized correctly.
  •    122 testcase - Idiomatic testing framework for Behavior Driven Development.
  •    106 gocrest - Composable hamcrest-like matchers for Go assertions.
  •    104 be - The minimalist generic test assertion library.
  •    102 wstest - Websocket client for unit-testing a websocket http.Handler.
  •     81 gherkingen - BDD boilerplate generator and framework.
  •     79 Gont - Go network testing toolkit for testing building complex network topologies using Linux namespaces.
  •     71 testcerts - Dynamically generate self-signed certificates and certificate authorities within your test functions.
  •     64 assert - Basic Assertion Library used along side native go testing, with building blocks for custom assertions.
  •     55 restit - Go micro framework to help writing RESTful API integration test.
  •     52 gospecify - This provides a BDD syntax for testing your Go code. It should be familiar to anybody who has used libraries such as rspec.
  •     48 gomatch - library created for testing JSON against patterns.
  •     47 fluentassert - Extensible, type-safe, fluent assertion Go library.
  •     45 dsunit - Datastore testing for SQL, NoSQL, structured files.
  •     30 Hamcrest - fluent framework for declarative Matcher objects that, when applied to input values, produce self-describing results.
  •     30 fixenv - Fixture manage engine, inspired by pytest fixtures.
  •     21 flute - HTTP client testing framework.
  •     20 schema - Quick and easy expression matching for JSON schemas used in requests and responses.
  •     17 testsql - Generate test data from SQL files before testing and clear it after finished.
  •     15 dft - Lightweight, zero dependency docker containers for testing (or more).
  •     15 gogiven - YATSPEC-like BDD testing framework for Go.
  •     14 biff - Bifurcation testing framework, BDD compatible.
  •     12 gosuite - Brings lightweight test suites with setup/teardown facilities to testing by leveraging Go1.7's Subtests.
  •     11 stop-and-go - Testing helper for concurrency.
  •      8 Tt - Simple and colorful test tools.
  •      6 trial - Quick and easy extendable assertions without introducing much boilerplate.
  •      5 envite - Dev and testing environment management framework.
  •      5 go-testpredicate - Test predicate style assertions library with extensive diagnostics output.
  •      3 go-mysql-test-container - Golang MySQL testcontainer to help with MySQL integration testing.
  •      1 arch-go - Architecture testing tool for Go projects.
  •      1 omg.testingtools - The simple library for change a values of private fields for testing.
  • ginkgo - BDD Testing Framework for Go.
  • gomega - Rspec like matcher/assertion library.
  • gocheck - More advanced testing framework alternative to gotest.
  • 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.

Mock

  •   6318 mockery - Tool to generate Go interfaces.
  •   6247 go-sqlmock - Mock SQL driver for testing database interactions.
  •   2533 gomock - Mocking framework for the Go programming language.
  •   2380 hoverfly - HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI.
  •   2139 gock - Versatile HTTP mocking made easy.
  •   2029 moq - Utility that generates a struct from any interface. The struct can be used in test code as a mock of the interface.
  •   1969 httpmock - Easy mocking of HTTP responses from external resources.
  •   1023 counterfeiter - Tool for generating self-contained mock objects.
  •    692 go-txdb - Single transaction based database driver mainly for testing purposes.
  •    660 minimock - Mock generator for Go interfaces.
  •    422 pgxmock - A mock library implementing  11242 pgx - PostgreSQL Driver and Toolkit.
  •    382 xgo - A general pureposed function mocking library.
  •    183 govcr - HTTP mock for Golang: record and replay HTTP interactions for offline testing.
  •     80 go-localstack - Tool for using localstack in AWS testing.
  •     71 timex - A test-friendly replacement for the native time package.
  •     23 mockhttp - Mock object for Go http.ResponseWriter.
  •     18 mooncake - A simple way to generate mocks for multiple purposes.
  • genmock - Go mocking system with code generator for building calls of the interface methods.

Fuzzing and delta-debugging/reducing/shrinking

  •   4808 go-fuzz - Randomized testing system.
  •   1496 gofuzz - Library for populating go objects with random values.
  •    245 Tavor - Generic fuzzing and delta-debugging framework.

Selenium and browser control tools

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

Fail injection

⬆ back to top

Text Processing

Libraries for parsing and manipulating texts.

See also Natural Language Processing and Text Analysis.

Formatters

  •   4432 go-humanize - Formatters for time, numbers, and memory size to human readable format.
  •   2219 sq - Convert data from SQL databases or document formats like CSV or Excel into formats such as JSON, Excel, CSV, HTML, Markdown, XML, and YAML.
  •    545 bytes - Formats and parses numeric byte values (10K, 2M, 3G, etc.).
  •    335 gotabulate - Easily pretty-print your tabular data with Go.
  •     84 align - A general purpose application that aligns text.
  •     82 go-fixedwidth - Fixed-width text formatting (encoder/decoder with reflection).
  •     75 address - Handles address representation, validation and formatting.
  •      5 textwrap - Wraps text at end of lines. Implementation of textwrap module from Python.

Markup Languages

  •   5507 blackfriday - Markdown processor in Go.
  •   4638 toml - TOML configuration format (encoder/decoder with reflection).
  •   3852 goldmark - A Markdown parser written in Go. Easy to extend, standard (CommonMark) compliant, well structured.
  •   2615 html-to-markdown - Convert HTML to Markdown. Even works with entire websites and can be extended through rules.
  •   1771 go-toml - Go library for the TOML format with query support and handy cli tools.
  •    760 htmlquery - An XPath query package for HTML, lets you extract data or evaluate from HTML documents by an XPath expression.
  •    624 mxj - Encode / decode XML as JSON or map[string]interface{}; extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.
  •    263 goq - Declarative unmarshalling of HTML using struct tags with jQuery syntax (uses GoQuery).
  •    107 bafi - Universal JSON, BSON, YAML, XML translator to ANY format using templates.
  •     17 go-output-format - Output go structures into multiple formats (YAML/JSON/etc) in your command line app.
  •     12 bbConvert - Converts bbCode to HTML that allows you to add support for custom bbCode tags.
  •      5 htmlyaml - Rich rendering of YAML as HTML in Go
  •      4 htree - Traverse, navigate, filter, and otherwise process trees of html.Node objects.

Parsers/Encoders/Decoders

  •   7503 sh - Shell parser and formatter.
  •   2637 gofeed - Parse RSS and Atom feeds in Go.
  •   2028 go-querystring - Go library for encoding structs into URL query parameters.
  •   1421 when - Natural EN and RU language date/time parser with pluggable rules.
  •    893 commonregex - A collection of common regular expressions for Go.
  •    557 gographviz - Parses the Graphviz DOT language.
  •    232 go-nmea - NMEA parser library for the Go language.
  •    184 godump - Pretty print any GO variable with ease, an alternative to Go's fmt.Printf("%#v").
  •    144 editorconfig-core-go - Editorconfig file parser and manipulator for Go.
  •    118 tokenizer - Parse any string, slice or infinite buffer to any tokens.
  •    113 sdp - SDP: Session Description Protocol [RFC 4566].
  •    110 go-vcard - Parse and format vCard.
  •     91 did - DID (Decentralized Identifiers) Parser and Stringer in Go.
  •     59 allot - Placeholder and wildcard text parsing for CLI tools and bots.
  •     47 normalize - Sanitize, normalize and compare fuzzy text.
  •     46 vdf - A Lexer and Parser for Valves Data Format (known as vdf) written in Go.
  •     43 gonameparts - Parses human names into individual name parts.
  •     34 go-fasttld - High performance effective top level domains (eTLD) extraction module.
  •     34 xj2go - Convert xml or json to go struct.
  •     24 codetree - Parses indented code (python, pixy, scarlet, etc.) and returns a tree structure.
  •     11 doi - Document object identifier (doi) parser in Go.
  •     10 parseargs-go - string argument parser that understands quotes and backslashes.
  •      9 encdec - Package provides a generic interface to encoders and decoders.
  •      9 ltsv - High performance LTSV (Labeled Tab Separated Value) reader for Go.
  •      7 prattle - Scan and parse LL(1) grammars simply and efficiently.
  • parth - URL path segmentation parsing.

Regular Expressions

  •    199 rex - Regular expressions builder.
  •    148 regroup - Match regex expression named groups into go struct using struct tags and automatic parsing.
  •     91 goregen - Library for generating random strings from regular expressions.
  •     83 go-wildcard - Simple and lightweight wildcard pattern matching.
  •     77 genex - Count and expand Regular Expressions into all matching Strings.

Sanitation

Scrapers

  •  23713 colly - Fast and Elegant Scraping Framework for Gophers.
  •  14261 GoQuery - GoQuery brings a syntax and a set of features similar to jQuery to the Go language.
  •   1201 xurls - Extract urls from text.
  •    675 dataflowkit - Web scraping Framework to turn websites into structured data.
  •    105 pagser - Pagser is a simple, extensible, configurable parse and deserialize html page to struct based on goquery and struct tags for golang crawler.
  •     38 Tagify - Produces a set of tags from given source.
  •     28 go-recipe - A package for scraping recipes from websites.
  •     11 walker - Seamlessly fetch paginated data from any source. Simple and high performance API scraping included.

RSS

  •    134 podcast - iTunes Compliant and RSS 2.0 Podcast Generator in Golang

Utility/Miscellaneous

  •   1136 w2vgrep - A semantic grep tool using word embeddings to find semantically similar matches. For example, searching for "death" will find "dead", "killing", "murder".
  •    624 go-runewidth - Functions to get fixed width of the character or string.
  •    192 radix - Fast string sorting algorithm.
  •    109 go-zero-width - Zero-width character detection and removal for Go.
  •     49 petrovich - Petrovich is the library which inflects Russian names to given grammatical case.
  •     20 kace - Common case conversions covering common initialisms.
  •     19 TySug - Alternative suggestions with respect to keyboard layouts.

⬆ back to top

Third-party APIs

Libraries for accessing third party APIs.

  •  10616 github - Go library for accessing the GitHub REST API v3.
  •   9562 go-openai - OpenAI ChatGPT, DALL·E, Whisper API library for Go.
  •   5240 discordgo - Go bindings for the Discord Chat API.
  •   4717 slack - Slack API in Go.
  •   4112 google - Auto-generated Google APIs for Go.
  •   3868 google-cloud - Google Cloud APIs Go Client Library.
  •   2896 aws-sdk-go - The official AWS SDK for the Go programming language.
  •   2562 minio-go - Minio Go Library for Amazon S3 compatible cloud storage.
  •   2217 stripe - Go client for the Stripe API.
  •   1501 go-jira - Go client library for Atlassian JIRA
  •   1348 facebook - Go Library that supports the Facebook Graph API.
  •   1144 anaconda - Go client library for the Twitter 1.1 API.
  •   1135 githubql - Go library for accessing the GitHub GraphQL API v4.
  •    968 webhooks - Webhook receiver for GitHub and Bitbucket.
  •    701 paypal - Wrapper for PayPal payment API.
  •    519 geo-golang - Go Library to access Google Maps, MapQuest, Nominatim, OpenCage, Bing, Mapbox, and OpenStreetMap geocoding / reverse geocoding APIs.
  •    429 lark - Feishu/Lark Open API Go SDK, Support ALL Open API and Event Callback.
  •    290 openaigo - OpenAI GPT3/GPT3.5 ChatGPT API client library for Go.
  •    269 ethrpc - Go bindings for Ethereum JSON RPC API.
  •    219 Trello - Go wrapper for the Trello API.
  •    213 go-lark - An easy-to-use unofficial SDK for Feishu and Lark Open Platform.
  •    199 go-marathon - Go library for interacting with Mesosphere's Marathon PAAS.
  •    162 wit-go - Go client for wit.ai HTTP API.
  •    159 simples3 - Simple no frills AWS S3 Library using REST with V4 Signing written in Go.
  •    151 gosip - Client library for SharePoint.
  •    147 pushover - Go wrapper for the Pushover API.
  •    143 go-trending - Go library for accessing trending repositories and developers at Github.
  •    141 Medium - Golang SDK for Medium's OAuth2 API.
  •    140 go-atlassian - Go library for accessing the Atlassian Cloud services (Jira, Jira Service Management, Jira Agile, Confluence, Admin Cloud)
  •    132 golang-tmdb - Golang wrapper for The Movie Database API v3.
  •    129 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.
  •    111 hipchat (xmpp) - A golang package to communicate with HipChat over XMPP.
  •    104 hipchat - This project implements a golang client library for the Hipchat API.
  •     98 go-gerrit - Go client library for Gerrit Code Review.
  •     90 disgo - Go API Wrapper for the Discord API.
  •     90 cachet - Go client library for Cachet (open source status page system).
  •     84 igdb - Go client for the Internet Game Database API.
  •     82 go-postman-collection - Go module to work with Postman Collections (compatible with Insomnia).
  •     82 go-redoc - Embedded OpenAPI/Swagger documentation ui for Go using ReDoc.
  •     82 gogtrends - Google Trends Unofficial API.
  •     77 airtable - Go client library for the Airtable API.
  •     76 go-unsplash - Go client library for the Unsplash.com API.
  •     74 GoFreeDB - Golang library providing common and simple database abstractions on top of Google Sheets.
  •     72 ynab - Go wrapper for the YNAB API.
  •     65 circleci - Go client library for interacting with CircleCI's API.
  •     60 mixpanel - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications.
  •     59 GoMusicBrainz - Go MusicBrainz WS2 client library.
  •     57 uptimerobot - Go wrapper and command-line client for the Uptime Robot v2 API.
  •     55 clarifai - Go client library for interfacing with the Clarifai API.
  •     54 megos - Client library for accessing an Apache Mesos cluster.
  •     51 gads - Google Adwords Unofficial API.
  •     51 go-xkcd - Go client for the xkcd API.
  •     51 spotify - Go Library to access Spotify WEB API.
  •     51 fcm - Go library for Firebase Cloud Messaging.
  •     47 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.
  •     43 patreon-go - Go library for Patreon API.
  •     41 golyrics - Golyrics is a Go library to fetch music lyrics data from the Wikia website.
  •     39 go-myanimelist - Go client library for accessing the MyAnimeList API.
  •     35 go-salesforce - Go client library for interacting with the Salesforce REST API.
  •     35 lastpass-go - Go client library for the LastPass API.
  •     32 steam - Go Library to interact with Steam game servers.
  •     31 gcm - Go library for Google Cloud Messaging.
  •     25 coinpaprika-go - Go client library for interacting with Coinpaprika's API.
  •     25 jokeapi-go - Go client for JokeAPI.
  •     24 go-imgur - Go client library for imgur
  •     24 device-check-go - Go client library for interacting with iOS DeviceCheck API v1.
  •     24 shopify - Go Library to make CRUD request to the Shopify API.
  •     21 aws-encryption-sdk-go - Unofficial Go SDK implementation of the AWS Encryption SDK.
  •     20 textbelt - Go client for the textbelt.com txt messaging API.
  •     19 brewerydb - Go library for accessing the BreweryDB API.
  •     18 codeship-go - Go client library for interacting with Codeship's API v2.
  •     17 go-aws-news - Go application and library to fetch what's new from AWS.
  •     17 go-hacknews - Tiny Go client for HackerNews API.
  •     17 go-openproject - Go client library for interacting with OpenProject API.
  •     16 bqwriter - High Level Go Library to write data into Google BigQuery at a high throughout.
  •     16 gopaapi5 - Go Client Library for Amazon Product Advertising API 5.0.
  •     15 google-analytics - Simple wrapper for easy google analytics reporting.
  •     15 goami2 - AMI v2 library for Asterisk PBX.
  •     13 go-here - Go client library around the HERE location based APIs.
  •     13 rawg-sdk-go - Go library for the RAWG Video Games Database API
  •     12 gomalshare - Go library MalShare API malshare.com
  •     12 go-sophos - Go client library for the Sophos UTM REST API with zero dependencies.
  •     11 smite - Go package to wraps access to the Smite game API.
  •     11 go-swagger-ui - Go library containing precompiled Swagger UI for serving swagger json.
  •     11 ip2location-io-go - Go wrapper for the IP2Location.io API IP2Location.io.
  •     10 goagi - Go library to build Asterisk PBX agi/fastagi applications.
  •      9 libgoffi - Library adapter toolbox for native libffi integration
  •      8 tumblr - Go wrapper for the Tumblr v2 API.
  •      8 go-chronos - Go library for interacting with the Chronos Job Scheduler
  •      8 go-hibp - Simple Go binding to the "Have I Been Pwned" APIs.
  •      7 newsapi-go - Go client for NewsAPI.
  •      7 zooz - Go client for the Zooz API.
  •      5 appstore-sdk-go - Unofficial Golang SDK for AppStore Connect API.
  •      3 dusupay-sdk-go - Unofficial Dusupay payment gateway API Client for Go
  •      3 go-restcountries - Go library for the REST Countries API.
  •      2 playlyfe - The Playlyfe Rest API Go SDK.
  •      2 TripAdvisor - Go wrapper for the TripAdvisor API.
  •      2 vl-go - Go client library around the VerifID identity verification layer API.
  •      2 fasapay-sdk-go - Unofficial Fasapay payment gateway XML API Client for Golang.
  •      2 gopensky - Go client implementation for OpenSKY Network live's API (airspace ADS-B and Mode S data).
  • go-yapla - Go client library for the Yapla v2.0 API.
  • go-telegraph - Telegraph publishing platform API client.

⬆ back to top

Utilities

General utilities and tools to make your life easier.

  •  67813 fzf - Command-line fuzzy finder written in Go.
  •  49401 dive - A tool for exploring each layer in a Docker image.
  •  22882 hub - wrap git commands with additional functionality to interact with github from the terminal.
  •  18568 lo - A Lodash like Go library based on Go 1.18+ Generics (map, filter, contains, find...)
  •  16590 sqlx - provides a set of extensions on top of the excellent built-in database/sql package.
  •  15800 ctop - Top-like interface (e.g. htop) for container metrics.
  •  14227 goreleaser - Deliver Go binaries as fast and easily as possible.
  •  10609 wuzz - Interactive cli tool for HTTP inspection.
  •   9210 usql - usql is a universal command-line interface for SQL databases.
  •   7711 peco - Simplistic interactive filtering tool.
  •   4892 lancet - A comprehensive, efficient, and reusable util function library of go.
  •   4860 go-funk - Modern Go utility library which provides helpers (map, find, contains, filter, chunk, reverse, ...).
  •   4177 godropbox - Common libraries for writing Go services/applications from Dropbox.
  •   3796 minify - Fast minifiers for HTML, CSS, JS, XML, JSON and SVG file formats.
  •   3553 panicparse - Groups similar goroutines and colorizes stack dump.
  •   3129 goreporter - Golang tool that does static analysis, unit testing, code review and generate code quality report.
  •   2958 mc - Minio Client provides minimal tools to work with Amazon S3 compatible cloud storage and filesystems.
  •   2919 mergo - Helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.
  •   2658 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.
  •   2540 retry-go - Simple library for retry mechanism.
  •   2198 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.
  •   2151 filetype - Small package to infer the file type checking the magic numbers signature.
  •   2069 Storm - Simple and powerful toolkit for BoltDB.
  •   1817 jump - Jump helps you navigate faster by learning your habits.
  •   1732 boilr - Blazingly fast CLI tool for creating projects from boilerplate templates.
  •   1727 Failsafe-go - Fault tolerance and resilience patterns for Go.
  •   1725 mimetype - Package for MIME type detection based on magic numbers.
  •   1705 mole - cli app to easily create ssh tunnels.
  •   1547 gitbatch - manage your git repositories in one place.
  •   1346 scany - Library for scanning data from a database into Go structs and more.
  •   1283 bed - A Vim-like binary editor written in Go.
  •   1131 circuitbreaker - Circuit Breakers in Go.
  •   1124 hostctl - A CLI tool to manage /etc/hosts with easy commands.
  •    987 git-time-metric - Simple, seamless, lightweight time tracking for Git.
  •    898 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.
  •    834 sesh - Sesh is a CLI that helps you create and manage tmux sessions quickly and easily using zoxide.
  •    807 immortal - *nix cross-platform (OS agnostic) supervisor.
  •    774 circuit - An efficient and feature complete Hystrix like Go implementation of the circuit breaker pattern.
  •    722 changie - Automated changelog tool for preparing releases with lots of customization options.
  •    682 clockwork - A simple fake clock for golang.
  •    649 clipboard - 📋 cross-platform clipboard package in Go.
  •    647 delve - Go debugger.
  •    634 ergo - The management of multiple local services running over different ports made easy.
  •    580 scan - Scan golang sql.Rows directly to structs, slices, or primitive types.
  •    574 remote-touchpad - Control mouse and keyboard from a smartphone.
  •    554 htcat - Parallel and Pipelined HTTP GET Utility.
  •    529 koazee - Library inspired in Lazy evaluation and functional programming that takes the hassle out of working with arrays.
  •    509 limiters - Rate limiters for distributed applications in Golang with configurable back-ends and distributed locks.
  •    493 godaemon - Utility to write daemons.
  •    491 gubrak - Golang utility library with syntactic sugar. It's like lodash, but for golang.
  •    487 go-dry - DRY (don't repeat yourself) package for Go.
  •    457 mani - CLI tool to help you manage multiple repositories.
  •    453 gopencils - Small and simple package to easily consume REST APIs.
  •    426 request - Go HTTP Requests for Humans™.
  •    422 countries - Full implementation of ISO-3166-1, ISO-4217, ITU-T E.164, Unicode CLDR and IANA ccTLD standards.
  •    400 go-rate - Timed rate limiter for Go.
  •    364 grofer - A system and resource monitoring tool written in Golang!
  •    357 config-file-validator - Cross Platform tool to validate configuration files.
  •    342 retry - The most advanced functional mechanism to perform actions repetitively until successful.
  •    336 serve - A static http server anywhere you need.
  •    320 rospo - Simple and reliable ssh tunnels with embedded ssh server in Golang.
  •    301 gotenv - Load environment variables from .env or any io.Reader in Go.
  •    295 util - Collection of useful utility functions. (strings, concurrency, manipulations, ...).
  •    266 wifiqr - Wi-Fi QR Code Generator.
  •    248 go-trigger - Go-lang global event triggerer, Register Events with an id and trigger the event from anywhere from your project.
  •    245 pattern-match - Pattern matching library.
  •    224 go-sitemap-generator - XML Sitemap generator written in Go.
  •    198 toolbox - Slice, map, multimap, struct, function, data conversion utilities. Service router, macro evaluator, tokenizer.
  •    194 Death - Managing go application shutdown with signals.
  •    183 go-bind-plugin - go:generate tool for wrapping symbols exported by golang plugins (1.8 only).
  •    169 moldova - Utility for generating random data based on an input template.
  •    167 apm - Process manager for Golang applications with an HTTP API.
  •    166 rerun - Recompiling and rerunning go apps when source changes.
  •    161 go-bsdiff - Pure Go bsdiff and bspatch libraries and CLI tools.
  •    160 goval - Evaluate arbitrary expressions in Go.
  •    159 robustly - Runs functions resiliently, catching and restarting panics.
  •    157 chyle - Changelog generator using a git repository with multiple configuration possibilities.
  •    155 cryptgo - Crytpgo is a TUI based application written purely in Go to monitor and observe cryptocurrency prices in real time!
  •    154 cmd - Library for executing shell commands on osx, windows and linux.
  •    150 filter - provide filtering, sanitizing, and conversion of Go data.
  •    144 nostromo - CLI for building powerful aliases.
  •    136 json-log-viewer - Interactive viewer for JSON logs.
  •    136 onecache - Caching library with support for multiple backend stores (Redis, Memcached, filesystem etc).
  •    134 sorty - Fast Concurrent / Parallel Sorting.
  •    131 mongo-go-pagination - Mongodb Pagination for official mongodb/mongo-go-driver package which supports both normal queries and Aggregation pipelines.
  •    128 lrserver - LiveReload server for Go.
  •    121 gitcs - Git Commits Visualizer, CLI tool to visualize your Git commits on your local machine.
  •    117 go-lock - go-lock is a lock library implementing read-write mutex and read-write trylock without starvation.
  •    113 goseaweedfs - SeaweedFS client library with almost full features.
  •    111 cookie - Cookie struct parsing and helper package.
  •    102 mssqlx - Database client library, proxy for any master slave, master master structures. Lightweight and auto balancing in mind.
  •    101 xferspdy - Xferspdy provides binary diff and patch library in golang.
  •     99 mimemagic - Pure Go ultra performant MIME sniffing library/utility.
  •     96 go-health - Health package simplifies the way you add health check to your services.
  •     92 go-pattern-match - A Pattern matching library inspired by ts-pattern.
  •     91 go-lambda-cleanup - A CLI for removing unused or previous versions of AWS Lambdas.
  •     89 equalizer - Quota manager and rate limiter collection for Go.
  •     87 countries - All you need when you are working with countries in Go.
  •     86 pgo - Convenient functions for PHP community.
  •     85 repeat - Go implementation of different backoff strategies useful for retrying operations and heartbeating.
  •     81 handy - Many utilities and helpers like string handlers/formatters and validators.
  •     79 pm - Process (i.e. goroutine) manager with an HTTP API.
  •     72 netbug - Easy remote profiling of your services.
  •     70 multitick - Multiplexor for aligned tickers.
  •     70 UNIS - Common Architecture™ for String Utilities in Go.
  •     69 goreadability - Webpage summary extractor using Facebook Open Graph and arc90's readability.
  •     66 go-astitodo - Parse TODOs in your GO code.
  •     66 retry - Simple and easy retry mechanism package for Go.
  •     65 backscanner - A scanner similar to bufio.Scanner, but it reads and returns lines in reverse order, starting at a given position and going backward.
  •     64 scan - Scan sql rows into any type powered by generics.
  •     64 dbt - A framework for running self-updating signed binaries from a central, trusted repository.
  •     63 golog - Easy and lightweight CLI tool to time track your tasks.
  •     62 minquery - MongoDB / mgo.v2 query that supports efficient pagination (cursors to continue listing documents where we left off).
  •     59 shutdown - App shutdown hooks for os.Signal handling.
  •     53 golarm - Fire alarms with system events.
  •     52 gofn - High performance utility functions written using Generics for Go 1.18+.
  •     51 slice - Type-safe functions for common Go slice operations.
  •     51 copy-pasta - Universal multi-workstation clipboard that uses S3 like backend for the storage.
  •     50 retry-go - Retrying made simple and easy for golang.
  •     50 sshman - SSH Manager for authorized_keys files on multiple remote servers.
  •     50 cvt - Easy and safe convert any value to another type.
  •     49 goback - Go simple exponential backoff package.
  •     47 go-httpheader - Go library for encoding structs into Header fields.
  •     47 set - Performant and flexible struct mapping and loose type conversion.
  •     46 gostrutils - Collections of string manipulation and conversion functions.
  •     46 slicer - Makes working with slices easier.
  •     45 ghokin - Parallelized formatter with no external dependencies for gherkin (cucumber, behat...).
  •     43 yogo - Check yopmail mails from command line.
  •     42 pointer - Package pointer contains helper routines for simplifying the creation of optional fields of basic type.
  •     41 evaluator - Evaluate an expression dynamically based on s-expression. It's simple and easy to extend.
  •     39 throttle - Throttle is an object that will perform exactly one action per duration.
  •     35 rclient - Readable, flexible, simple-to-use client for REST APIs.
  •     35 go-qr - A native, high-quality and minimalistic QR code generator.
  •     34 tome - Tome was designed to paginate simple RESTful APIs.
  •     33 mimesniffer - A MIME type sniffer for Go.
  •     33 watchhttp - Run command periodically and expose latest STDOUT or its rich delta as HTTP endpoint.
  •     32 just - Just a collection of useful functions for working with generic data structures.
  •     30 generate - runs go generate recursively on a specified path or environment variable and can filter by regex.
  •     29 goplaceholder - a small golang lib to generate placeholder images.
  •     27 ptr - Package that provide functions for simplified creation of pointers from constants of basic types.
  •     27 graterm - Provides primitives to perform ordered (sequential/concurrent) GRAceful TERMination (aka shutdown) in Go application.
  •     25 ctxutil - A collection of utility functions for contexts.
  •     24 structs - Implement simple functions to manipulate structs.
  •     22 jsend - JSend's implementation written in Go.
  •     22 go-convert - Package go-convert enables you to convert a value into another type.
  •     19 go-type - Library providing Go types for store/validation and transfer of ISO-4217, ISO-3166, and other types.
  •     18 filler - small utility to fill structs using "fill" tag.
  •     17 go-problemdetails - Go package for working with Problem Details.
  •     17 dlog - Compile-time controlled logger to make your release smaller without removing debug calls.
  •     16 okrun - go run error steamroller.
  •     16 go-countries - Lightweight lookup over ISO-3166 codes.
  •     16 rest-go - A package that provide many helpful methods for working with rest api.
  •     15 go-actuator - Production ready features for Go based web frameworks.
  •     14 go-clip - A minimalistic clipboard manager for Mac.
  •     14 go-tripper - Tripper is a circuit breaker package for Go that allows you to circuit and control the status of circuits.
  •     13 command - Command pattern for Go with thread safe serial and parallel dispatcher.
  •     13 silk - Read silk netflow files.
  •     12 blank - Verify or remove blanks and whitespace from strings.
  •     12 retry - A pretty simple library to ensure your work to be done.
  •     11 statiks - Fast, zero-configuration, static HTTP filer server.
  •     11 loncha - A high-performance slice Utilities.
  •     11 bleep - Perform any number of actions on any set of OS signals in Go.
  •     11 nfdump - Read nfdump netflow files.
  •     11 jet - Just Edit Text: a fast and powerful tool for finding and replacing file content and names using regular expressions.
  •     10 retry - A simple but highly configurable retry package for Go.
  •     10 goctx - Get your context value with high performance.
  •     10 sliceconv - Slice conversion between primitive types.
  •      7 go-pkg - A go toolkit.
  •      7 lets-go - Go module that provides common utilities for Cloud Native REST API development. Also contains AWS Specific utilities.
  •      5 olaf - Twitter Snowflake implemented in Go.
  •      5 tik - Simple and easy timing wheel package for Go.
  •      5 go-events - A go event and event'subscribe package, like wordpress hook functions.
  •      3 xpool - Yet another golang type safe object pool using generics.

⬆ back to top

UUID

Libraries for working with UUIDs.

  •   5474 uuid - Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
  •   4607 ulid - Go implementation of ULID (Universally Unique Lexicographically Sortable Identifier).
  •   4014 xid - Xid is a globally unique id generator library, ready to be safely used directly in your server code.
  •   1613 uuid - Implementation of Universally Unique Identifier (UUID). Supports both creation and parsing of UUIDs. Actively maintained fork of satori uuid.
  •    536 wuid - An extremely fast globally unique number generator.
  •     91 sno - Compact, sortable and fast unique IDs with embedded metadata.
  •     62 nanoid - A tiny and efficient Go unique string ID generator.
  •     41 goid - Generate and Parse RFC4122 compliant V4 UUIDs.
  •     25 gouid - Generate cryptographically secure random string IDs with just one allocation.
  •     18 uuid - Generate, encode, and decode UUIDs v1 with fast or cryptographic-quality random node identifier.
  •      5 uuidcheck - A tiny, dependency-free Go library that validates UUIDs against standard RFC 4122 formatting, converts UUIDv7() into UTC timestamps.
  • uniq - No hassle safe, fast unique identifiers with commands.
  • fastuuid - Fast generate UUIDv4 as string or bytes.

⬆ back to top

Validation

Libraries for validation.

  •  17460 validator - Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving.
  •   6096 govalidator - Validators and sanitizers for strings, numerics, slices and structs.
  •   3840 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.
  •   1327 govalidator - Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
  •   1087 validate - Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features.
  •    441 Zog - A  35491 Zod inspired schema builder for runtime value parsing and validation. ⬆ back to top
  •    114 jio - jio is a json schema validator similar to  21037 joi.
  •    111 checkdigit - Provide check digit algorithms (Luhn, Verhoeff, Damm) and calculators (ISBN, EAN, JAN, UPC, etc.).
  •    102 gody - 🎈 A lightweight struct validator for Go.
  •     94 validate - This package provides a framework for writing validations for Go applications.
  •     78 govalid - Fast, tag-based validation for structs.
  •     29 valix Go package for validating requests
  •     27 go-validator - Validation library using Generics.
  •     11 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.
  •      7 Validator - A lightweight model validator written in Go.Contains VFs:Min, Max, MinLength, MaxLength, Length, Enum, Regex.

Version Control

Libraries for version control.

  •   6215 go-git - highly extensible Git implementation in pure Go.
  •   2670 hercules - gaining advanced insights from Git repository history.
  •   1952 git2go - Go bindings for libgit2.
  •    106 githooks - Per-repo and shared Git hooks with version control and auto update.
  •     80 go-vcs - manipulate and inspect VCS repositories in Go.
  •     46 froggit-go - Froggit-Go is a Go library, allowing to perform actions on VCS providers.
  •     16 hgo - Hgo is a collection of Go packages providing read-access to local Mercurial repositories.
  • 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.

  •   2105 goav - Comprehensive Go bindings for FFmpeg.
  •   1249 m3u8 - Parser and generator library of M3U8 playlists for Apple HLS.
  •    901 gmf - Go bindings for FFmpeg av* libraries.
  •    730 gortsplib - Pure Go RTSP server and client library.
  •    617 go-astisub - Manipulate subtitles in GO (.srt, .stl, .ttml, .webvtt, .ssa/.ass, teletext, .smi, etc.).
  •    553 go-astits - Parse and demux MPEG Transport Streams (.ts) natively in GO.
  •    503 mp4ff - Library and tools for working with MP4 files containing video, audio, subtitles, or metadata.
  •    453 libvlc-go - Go bindings for libvlc 2.X/3.X/4.X (used by the VLC media player).
  •    438 go-astiav - Better C bindings for ffmpeg in GO.
  •     80 v4l - Video capture library for Linux, written in Go.
  •     31 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.
  •     24 go-mpd - Parser and generator library for MPEG-DASH manifest files.

⬆ back to top

Web Frameworks

Full stack web frameworks.

  •  80244 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.
  •  34973 Fiber - An Express.js inspired web framework build on Fasthttp.
  •  31817 Beego - beego is an open-source, high-performance web framework for the Go programming language.
  •  30441 Echo - High performance, minimalist Go web framework.
  •  13160 Revel - High-productivity web framework for the Go language.
  •  11956 GoFrame - GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
  •   5876 Hertz - A high-performance and strong-extensibility Go HTTP framework that helps developers build microservices.
  •   5763 Goa - Goa provides a holistic approach for developing remote APIs and microservices in Go.
  •   4042 GoFr - Gofr is an opinionated microservice development framework.
  •   3150 goravel - A Laravel-inspired web framework with ORM, authentication, queue, task scheduling, and more built-in features.
  •   2592 Huma - Framework for modern REST/GraphQL APIs with built-in OpenAPI 3, generated documentation, and a CLI.
  •   1656 Goyave - Feature-complete REST API framework aimed at clean code and fast development, with powerful built-in functionalities.
  •   1256 Atreugo - High performance and extensible micro web framework with zero memory allocations in hot paths.
  •   1200 Fuego - The framework for busy Go developers! Web framework generating OpenAPI 3 spec from source code.
  •    619 Yokai - Simple, modular, and observable Go framework for backend applications.
  •    536 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.
  •    530 iWF - iWF is an all-in-one platform for developing long-running business processes. It offers a convenient abstraction for utilizing databases, ElasticSearch, message queues, durable timers, and more, with a clean, simple, and user-friendly interface.
  •    523 rk-boot - A bootstrapper library for building enterprise go microservice with Gin and gRPC quickly and easily.
  •    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.
  •    390 Fastschema - A flexible Go web framework and Headless CMS.
  •    349 uAdmin - Fully featured web framework for Golang, inspired by Django.
  •    308 templui - Modern UI Components for Go & Templ.
  •    303 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)..
  •    292 Ginrpc - Gin parameter automatic binding tool,gin rpc tools.
  •    181 hiboot - hiboot is a high performance web application framework with auto configuration and dependency injection support.
  •    123 patron - Patron is a microservice framework following best cloud practices with a focus on productivity.
  •    120 Gone - A lightweight dependency injection and web framework inspired by Spring.
  •    116 Microservice - The framework for the creation of microservices, written in Golang.
  •     98 rux - Simple and fast web framework for build golang HTTP applications.
  •     56 Don - A highly performant and simple to use API framework.
  •     26 Lit - Highly performant declarative web framework for Golang, aiming for simplicity and quality of life.
  •      7 golamb - Golamb makes it easier to write API endpoints for use with AWS Lambda and API Gateway.
  • 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.
  • 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.

⬆ back to top

Middlewares

Actual middlewares

  •   2753 Tollbooth - Rate limit HTTP request handler.
  •   2720 CORS - Easily add CORS capabilities to your API.
  •   2155 Limiter - Dead simple rate limit middleware for Go.
  •    859 go-server-timing - Add/parse Server-Timing header.
  •    509 go-fault - Fault injection middleware for Go.
  •    151 ln-paywall - Go middleware for monetizing APIs on a per-request basis with the Lightning Network (Bitcoin).
  •     98 XFF - Handle X-Forwarded-For header and friends.
  •     75 rk-grpc - Middleware for gRPC with logging, metrics, auth, tracing etc.
  •     47 rk-gin - Middleware for Gin framework with logging, metrics, auth, tracing etc.
  •     39 formjson - Transparently handle JSON input as a standard form POST.
  •     24 client-timing - An HTTP client for Server-Timing header.
  •     15 echo-middleware - Middleware for Echo framework with logging and metrics.
  •     10 mid - Miscellaneous HTTP middleware features: idiomatic error return from handlers; receive/respond with JSON data; request tracing; and more.

Libraries for creating HTTP middlewares

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

⬆ back to top

Routers

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

⬆ back to top

WebAssembly

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

⬆ back to top

Webhooks Server

  •  10637 webhook - Tool which allows user to create HTTP endpoints (hooks) that execute commands on the server.
  •    134 WebhookX - A webhooks gateway for message receiving, processing, and reliable delivering.
  •     37 webhooked - A webhook receiver on steroids: handle, secure, format and store a Webhook payload has never been easier.

⬆ back to top

Windows

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

⬆ back to top

Workflow Frameworks

Libraries for creating Workflows.

  •   1830 Dagu - No-code workflow executor. it executes DAGs defined in a simple YAML format.
  •    368 go-taskflow - A taskflow-like General-purpose Task-parallel Programming Framework with integrated visualizer and profiler.
  •    353 Cadence-client - A framework for authoring workflows and activities running on top of the Cadence orchestration engine made by Uber.
  •    133 workflow - A tech stack agnostic Event Driven Workflow framework.
  •     25 go-dag - A framework developed in Go that manages the execution of workflows described by directed acyclic graphs.

⬆ back to top

XML

Libraries and tools for manipulating XML.

  •    762 zek - Generate a Go struct from XML.
  •    699 xpath - XPath package for Go.
  •    455 xmlquery - xmlquery is Golang XPath package for XML query.
  •     62 xml2map - XML to MAP converter written Golang.
  •     28 xmlwriter - Procedural XML generation API based on libxml2's xmlwriter module.
  •     21 XML-Comp - Simple command line XML comparer that generates diffs of folders, files and tags.

Zero Trust

Libraries and tools to implement Zero Trust architectures.

  •   4701 Cosign - Container Signing, Verification and Storage in an OCI registry.
  •   3067 OpenZiti - A full, open source zero trust overlay network. Including numerous SDKs for numerous languages such as    102 golang allowing you to embed zero trust principles directly into your applications. The OpenZiti Test Kitchen has numerous examples to draw inspiration from including a     37 zero trust ssh client - zssh
  •   1867 Spire - SPIRE (the SPIFFE Runtime Environment) is a toolchain of APIs for establishing trust between software systems across a wide variety of hosting platforms.
  •    135 in-toto - Go implementation of the in-toto (provides a framework to protect the integrity of the software supply chain) python reference implementation.
  •     85 Spiffe-Vault - Utilizes Spiffe JWT authentication with Hashicorp Vault for secretless authentication.

Code Analysis

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

  •  16187 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.
  •   6316 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#.
  •   4936 revive – ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint.
  •   2380 errcheck - Errcheck is a program for checking for unchecked errors in Go programs.
  •   1920 GoPlantUML - Library and CLI that generates text plantump class diagram containing information about structures and interfaces with the relationship among them.
  •   1900 go-critic - source code linter that brings checks that are currently not implemented in other linters.
  •    986 golines - Formatter that automatically shortens long lines in Go code.
  •    942 php-parser - A Parser for PHP written in Go.
  •    908 go-cleanarch - go-cleanarch was created to validate Clean Architecture rules, like a The Dependency Rule and interaction between packages in your Go projects.
  •    774 goast-viewer - Web based Golang AST visualizer.
  •    701 vacuum - An ultra-super-fast, lightweight OpenAPI linter and quality checking tool.
  •    654 go-mod-outdated - An easy way to find outdated dependencies of your Go projects.
  •    531 goreturns - Adds zero-value return statements to match the func return types.
  •    432 Chronos - Detects race conditions statically
  •    429 todocheck - Static code analyser which links TODO comments in code with issues in your issue tracker.
  •    383 unconvert - Remove unnecessary type conversions from Go source.
  •    347 dupl - Tool for code clone detection.
  •    324 tickgit - CLI and go package for surfacing code comment TODOs (in any language) and applying a git blameto identify the author.
  •    317 wrapcheck - A linter to check that errors from external packages are wrapped.
  •    242 gostatus - Command line tool, shows the status of repositories that contain Go packages.
  •    177 apicompat - Checks recent changes to a Go project for backwards incompatible changes.
  •    130 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.
  •    120 testifylint – A linter that checks usage of  23969 github.com/stretchr/testify.
  •     83 asty - Converts golang AST to JSON and JSON to AST.
  •     66 lint - Run linters as part of go test.
  •     61 validate - Automatically validates struct fields with tags.
  •     58 ChainJacking - Find which of your Go lang direct GitHub dependencies is susceptible to ChainJacking attack.
  •     44 usestdlibvars - A linter that detect the possibility to use variables/constants from the Go standard library.
  •     24 fatcontext - Fatcontext detects nested contexts in loops or function literals.
  •     12 golang-ifood-sdk - iFood API SDK.
  • goimports - Tool to fix (add, remove) your Go imports automatically.
  • blanket - blanket is a tool that helps you catch functions which don't have direct unit tests in your Go packages.

⬆ back to top

Editor Plugins

Plugin for text editors and IDEs.

  •  16075 vim-go - Go development plugin for Vim.
  •   5012 gocode - Autocompletion daemon for the Go programming language.
  •   3960 vscode-go - Extension for Visual Studio Code (VS Code) which provides support for the Go language.
  •   3418 GoSublime - Golang plugin collection for the text editor SublimeText 3 providing code completion and other IDE-like features.
  •   1398 go-mode - Go mode for GNU/Emacs.
  •    632 goimports-reviser - Formatting tool for imports.
  •    568 coc-go language server extension for Vim/Neovim - This plugin adds   7479 gopls features to Vim/Neovim.
  •    202 Watch - Runs a command in an acme win on file changes.
  •     90 vim-compiler-go - Vim plugin to highlight syntax errors on save.
  •     24 gounit-vim - Vim plugin for generating Go tests based on the function's or method's signature.
  •      8 Go Doc - A Visual Studio Code extension for showing definition in output and generating go doc.
  • 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

  •   5002 gotests - Generate Go tests from your source code.
  •   1713 genny - Elegant generics for Go.
  •    349 xgen - XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator.
  •    142 hasgo - Generate Haskell inspired functions for your slices.
  •    114 gonerics - Idiomatic Generics in Go.
  •    113 gocontracts - brings design-by-contract to Go by synchronizing the code with the documentation.
  •     84 options-gen - Functional options described by Dave Cheney's post "Functional options for friendly APIs".
  •     84 sqlgen - Generate gorm, xorm, sqlx, bun, sql code from SQL file or DSN.
  •     83 gounit - Generate Go tests using your own templates.
  •     73 envdoc - generate documentation for environment variables from Go source files.
  •     48 generic - flexible data type for Go.
  •     18 godal - Generate orm models corresponding to golang by specifying sql ddl file, which can be used by gorm.
  • 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

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

⬆ back to top

Software Packages

Software written in Go.

⬆ back to top

DevOps Tools

  • 113003 kubernetes - Container Cluster Manager from Google.
  •  69142 Moby - Collaborative project for the container ecosystem to assemble container-based systems.
  •  53186 traefik - Reverse proxy and load balancer with support for multiple backends.
  •  47055 Gitea - Fork of Gogs, entirely community driven.
  •  29895 minikube - Run Kubernetes locally.
  •  28764 k3s - Lightweight Kubernetes.
  •  26719 k6 - A modern load testing tool, using Go and JavaScript.
  •  23918 Vegeta - HTTP load testing tool and library. It's over 9000!
  •  18500 Hey - Hey is a tiny program that sends some load to a web application.
  •  15233 Packer - Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
  •  13800 kind - Kubernetes IN Docker - local clusters for testing Kubernetes.
  •  11183 kubeshark - API traffic analyzer for Kubernetes, inspired by Wireshark, purposely built for Kubernetes.
  •  10570 GVM - GVM provides an interface to manage Go versions.
  •   8945 Flannel - Flannel is a network fabric for containers, designed for Kubernetes.
  •   8446 Ddosify - High-performance load testing tool, written in Golang.
  •   7799 ko - Command line tool for building and deploying Go applications on Kubernetes
  •   6556 KubeVela - Cloud native application delivery.
  •   6378 script - Making it easy to write shell-like scripts in Go for DevOps and system administration tasks.
  •   6172 bombardier - Fast cross-platform HTTP benchmarking tool.
  •   5610 k3d - Little helper to run CNCF's k3s in Docker.
  •   5510 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.
  •   5200 gaia - Build powerful pipelines in any programming language.
  •   4140 Pomerium - Pomerium is an identity-aware access proxy.
  •   3705 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.
  •   3512 Fleet device management - Lightweight, programmable telemetry for servers and workstations.
  •   3409 bosun - Time Series Alerting Framework.
  •   2870 s5cmd - Blazing fast S3 and local filesystem execution tool.
  •   2358 kubeblocks - KubeBlocks is an open-source control plane that runs and manages databases, message queues and other data infrastructure on K8s.
  •   2147 kala - Simplistic, modern, and performant job scheduler.
  •   1846 fac - Command-line user interface to fix git merge conflicts.
  •   1635 ghorg - Quickly clone an entire org/users repositories into one directory - Supports GitHub, GitLab, Gitea, and Bitbucket.
  •   1625 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.
  •   1571 go-selfupdate - Enable your Go applications to self update.
  •   1344 tlm - Local cli copilot, powered by CodeLLaMa
  •   1231 uTask - Automation engine that models and executes business processes declared in yaml.
  •   1142 s3gof3r - Small utility/library optimized for high speed transfer of large objects into and out of Amazon S3.
  •   1115 PipeCD - A GitOps-style continuous delivery platform that provides consistent deployment and operations experience for any applications.
  •   1051 KusionStack - A unified programmable configuration techstack to deliver modern app in 'platform as code' and 'infra as code' approach.
  •    969 kwatch - Monitor & detect crashes in your Kubernetes(K8s) cluster instantly.
  •    961 skm - SKM is a simple and powerful SSH Keys Manager, it helps you to manage your multiple SSH keys easily!
  •    891 Scaleway-cli - Manage BareMetal Servers from Command Line (as easily as with Docker).
  •    778 cassowary - Modern cross-platform HTTP load-testing tool written in Go.
  •    674 kool - Command line tool for managing Docker environments as an easy way.
  •    671 alaz - Effortless, Low-Overhead, eBPF-based Kubernetes Monitoring.
  •    603 KubeVPN - KubeVPN offers a Cloud-Native Dev Environment that seamlessly connects to your Kubernetes cluster network.
  •    600 aurora - Cross-platform web-based Beanstalkd queue server console.
  •    537 govvv - “go build” wrapper to easily add version information into Go binaries.
  •    424 Pewpew - Flexible HTTP command line stress tester.
  •    397 jcli - Jenkins CLI allows you manage your Jenkins as an easy way.
  •    389 gobrew - Go version manager. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash.
  •    338 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.
  •    337 lstags - Tool and API to sync Docker images across different registries.
  •    331 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.
  •    329 easyssh-proxy - Golang package for easy remote execution through SSH and SCP downloading via ProxyCommand.
  •    319 s3-proxy - S3 Proxy with GET, PUT and DELETE methods and authentication (OpenID Connect and Basic Auth).
  •    314 Mora - REST server for accessing MongoDB documents and meta data.
  •    302 Balerter - A self-hosted script-based alerting manager.
  •    299 manssh - manssh is a command line tool for managing your ssh alias config easily.
  •    275 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.
  •    272 dogo - Monitoring changes in the source file and automatically compile and run (restart).
  •    228 godbg - Web-based gdb front-end application.
  •    221 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.
  •    218 Blast - A simple tool for API load testing and batch jobs.
  •    217 kcli - Command line tool for inspecting kafka topics/partitions/messages.
  •    192 gobrew - gobrew lets you easily switch between multiple versions of go.
  •    180 ostent - collects and displays system metrics and optionally relays to Graphite and/or InfluxDB.
  •    174 Dockerfile-Generator - A go library and an executable that produces valid Dockerfiles using various input channels.
  •    170 grapes - Lightweight tool designed to distribute commands over ssh with ease.
  •    165 winrm-cli - Cli tool to remotely execute commands on Windows machines.
  •    156 tf-profile - Profiler for Terraform runs. Generate global stats, resource-level stats or visualizations.
  •    145 drone-scp - Copy files and artifacts via SSH using a binary, docker or Drone CI.
  •    110 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.
  •    105 go-rocket-update - A simple way to make self updating Go applications - Supports Github and Gitlab.
  •     99 go-furnace - Hosting solution written in Go. Deploy your Application with ease on AWS, GCP or DigitalOcean.
  •     89 decompose - tool to generate and process Docker containers connections graphs.
  •     65 Dropship - Tool for deploying code via cdn.
  •     49 docker-go-mingw - Docker image for building Go binaries for Windows with MinGW toolchain.
  •     39 drone-jenkins - Trigger downstream Jenkins jobs using a binary, docker or Drone CI.
  •     39 httpref - httpref is a handy CLI reference for HTTP methods, status codes, headers, and TCP and UDP ports.
  •     35 awsenv - Small binary that loads Amazon (AWS) environment variables for a profile.
  •     33 Rodent - Rodent helps you manage Go versions, projects and track dependencies.
  •     32 lwc - A live-updating version of the UNIX wc command.
  •     23 DepCharge - Helps orchestrating the execution of commands across the many dependencies in larger projects.
  •     17 wait-for - Wait for something to happen (from the command line) before continuing. Easy orchestration of Docker services and other things.
  •     13 aptly - aptly is a Debian repository management tool.
  •      8 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.
  • Gogs - A Self Hosted Git Service in the Go Programming Language.
  • Docker - Open platform for distributed applications for developers and sysadmins.
  • gitea-github-migrator - Migrate all your GitHub repositories, issues, milestones and labels to your Gitea instance.
  • Wide - Web-based IDE for Teams using Golang.

⬆ back to top

Other Software

  •  28717 croc - Easily and securely send files or folders from one computer to another.
  •  27597 restic - De-duplicating backup program.
  •  23637 Seaweed File System - Fast, Simple and Scalable Distributed File System with O(1) disk seek.
  •  18771 Gor - Http traffic replication tool, for replaying traffic from production to stage/dev environments in real-time.
  •  11216 JuiceFS - Distributed POSIX file system built on top of Redis and AWS S3.
  •  11028 toxiproxy - Proxy to simulate network and system conditions for automated tests.
  •  10352 Comcast - Simulate bad network connections.
  •   8376 confd - Manage local application configuration files using templates and data from etcd or consul.
  •   7644 LiteIDE - LiteIDE is a simple, open source, cross-platform Go IDE.
  •   7015 scc - Sloc Cloc and Code, a very fast accurate code counter with complexity calculations and COCOMO estimates.
  •   6707 drive - Google Drive client for the commandline.
  •   5503 nes - Nintendo Entertainment System (NES) emulator written in Go.
  •   5337 Duplicacy - A cross-platform network and cloud backup tool based on the idea of lock-free deduplication.
  •   5012 blocky - Fast and lightweight DNS proxy as ad-blocker for local network with many features.
  •   2702 myLG - Command Line Network Diagnostic tool written in Go.
  •   2618 GoBoy - Nintendo Game Boy Color emulator written in Go.
  •   2488 Stack Up - Stack Up, a super simple deployment tool - just Unix - think of it like 'make' for a network of servers.
  •   2444 lgo - Interactive Go programming with Jupyter. It supports code completion, code inspection and 100% Go compatibility.
  •   2190 Documize - Modern wiki software that integrates data from SaaS tools.
  •   2052 sonic - Sonic is a Go Blogging Platform. Simple and Powerful.
  •   1985 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.
  •   1789 Gokapi - Lightweight server to share files, which expire after a set amount of downloads or days. Similar to Firefox Send, but without public upload.
  •   1606 borg - Terminal based search engine for bash snippets.
  •   1580 portal - Portal is a quick and easy command-line file transfer utility from any computer to another.
  •   1517 Plik - Plik is a temporary file upload system (Wetransfer like) in Go.
  •   1379 shell2http - Executing shell commands via http server (for prototyping or remote control).
  •   1112 vFlow - High-performance, scalable and reliable IPFIX, sFlow and Netflow collector.
  •   1039 peg - Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator.
  •    897 Go Package Store - App that displays updates for the Go packages in your GOPATH.
  •    777 GoNB - Interactive Go programming with Jupyter Notebooks (also works in VSCode, Binder and Google's Colab).
  •    752 Leaps - Pair programming service using Operational Transforms.
  •    746 gfile - Securely transfer files between two computers, without any third party, over WebRTC.
  •    741 yai - AI powered terminal assistant.
  •    676 Guora - A self-hosted Quora like web application written in Go.
  •    657 sake - sake is a command runner for local and remote hosts.
  •    636 Gebug - A tool that makes debugging of Dockerized Go applications super easy by enabling Debugger and Hot-Reload features, seamlessly.
  •    624 gocc - Gocc is a compiler kit for Go written in Go.
  •    562 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.
  •    529 Chapar - Chapar is a a cross-platform Postman alternative built with go, aims to help developers to test their api endpoints. it support http and grpc protocols.
  •    473 go-peerflix - Video streaming torrent client.
  •    470 woke - Detect non-inclusive language in your source code.
  •    376 hotswap - A complete solution to reload your go code without restarting your server, interrupting or blocking any ongoing procedure.
  •    360 ide - Browser accessible IDE. Designed for Go with Go.
  •    319 Neo-cowsay - 🐮 cowsay is reborn. for a New Era.
  •    302 wellington - Sass project management tool, extends the language with sprite functions (like Compass).
  •    301 Cherry - Tiny webchat server in Go.
  •    276 crawley - Web scraper/crawler for cli.
  •    255 tcpdog - eBPF based TCP observability.
  •    214 joincap - Command-line utility for merging multiple pcap files together.
  •    212 stew - An independent package manager for compiled binaries.
  •    184 Orbit - A simple tool for running commands and generating files from templates.
  •    165 fjira - A fuzzy-search based terminal UI application for Attlasian Jira
  •    154 vaku - CLI & API for folder-based functions in Vault like copy, move, and search.
  •     81 dp - Through SDK for data exchange with blockchain, developers can get easy access to DAPP development.
  •     78 boxed - Dropbox based blog engine.
  •     23 naclpipe - Simple NaCL EC25519 based crypto pipe tool written in Go.
  •     16 Snitch - Simple way to notify your team and many tools when someone has deployed any application via Tsuru.
  •     13 GoDocTooltip - Chrome extension for Go Doc sites, which shows function description as tooltip at function list.
  •     12 tinycare-tui - Small terminal app that shows git commits from the last 24 hours and week, current weather, some self care advice, a joke, and you current todo list tasks.
  •      9 hoofli - Generate PlantUML diagrams from Chrome or Firefox network inspections.
  • Better Go Playground - Go playground with syntax highlight, code completion and other features.
  • syncthing - Open, decentralized file synchronization tool and protocol.
  • goblin - Cloud builder for CLI's written in go lang
  • tsuru - Extensible and open source Platform as a Service software.
  • GoLand - Full featured cross-platform Go IDE.
  • 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.
  • Wave Terminal - Wave is an open-source, AI-native terminal built for seamless developer workflows with inline rendering, a modern UI, and persistent sessions.
  • Layli - Draw pretty layout diagrams as code.
  • Juju - Cloud-agnostic service deployment and orchestration - supports EC2, Azure, Openstack, MAAS and more.
  • hugo - Fast and Modern Static Website Engine.
  • zs - an extremely minimal static site generator.

⬆ back to top

Resources

Where to discover new Go libraries.

⬆ back to top

Benchmarks

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

⬆ 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

About

Awesome-go list with stars. Automatically updated.

Topics

Resources

License

Stars

Watchers

Forks