Awesome-go list with stars. Automatically updated

Related tags

go aws lambda awesome stars
Overview

About

This repository is a clone of Awesome Go but with stars. All repositories are still sorted alphabetically.

Why?

Some of the viewers might be against this idea because "stars don't mean anything" or "stars != code quality". Yet stars are about numbers, and numbers talk for themselves. First of all, stars may help some newcomers who are not familiar with Go ecosystem and want to find some good framework for the first project. This list will help them to find a few popular web-frameworks, libraries or tools for a quick start. Secondly, people like me might often use a such list of projects to find something trending or they just want to find similar libraries to run benchmarks.

How?

This repository is updated every day by the script which is be run by scheduler.

Contents

Audio and Music

Libraries for manipulating audio.

  •    825 Oto - A low-level library to play sound on multiple platforms.
  •    452 PortAudio - Go bindings for the PortAudio audio I/O library.
  •    342 music-theory - Music theory models in Go.
  •    338 waveform - Go package capable of generating waveform images from audio streams.
  •    258 portmidi - Go bindings for PortMidi.
  •    190 id3v2 - ID3 decoding and encoding library for Go.
  •    158 flac - Native Go FLAC encoder/decoder with support for FLAC streams.
  •    150 malgo - Mini audio library.
  •    138 mix - Sequence-based Go-native audio mixer for music apps.
  •    137 GoAudio - Native Go Audio Processing Library.
  •     84 gaad - Native Go AAC bitstream parser.
  •     55 minimp3 - Lightweight MP3 decoder library.
  •     28 vorbis - "Native" Go Vorbis decoder (uses CGO, but has no dependencies).
  •     11 gosamplerate - libsamplerate bindings for go.

Authentication and OAuth

Libraries for implementing authentications schemes.

  •   3694 oauth2 - Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine and App Engine support.
  •   3213 goth - provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.
  •   2694 authboss - Modular authentication system for the web. It tries to remove as much boilerplate and "hard things" as possible so that each time you start a new web project in Go, you can plug it in, configure, and start building your app without having to build an authentication system each time.
  •   1789 loginsrv - JWT login microservice with plugable backends such as OAuth2 (Github), htpasswd, osiam.
  •   1777 go-jose - Fairly complete implementation of the JOSE working group's JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs.
  •   1771 go-oauth2-server - Standalone, specification-compliant, OAuth2 server written in Golang.
  •   1673 osin - Golang OAuth2 server library.
  •   1401 gologin - chainable handlers for login with OAuth1 and OAuth2 authentication providers.
  •   1186 gorbac - provides a lightweight role-based access control (RBAC) implementation in Golang.
  •    892 scs - Session Manager for HTTP servers.
  •    518 paseto - Golang implementation of Platform-Agnostic Security Tokens (PASETO).
  •    430 permissions2 - Library for keeping track of users, login states and permissions. Uses secure cookies and bcrypt.
  •    272 jwt - Safe, simple and fast JSON Web Tokens for Go.
  •    271 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.
  •    257 jwt - Lightweight JSON Web Token (JWT) library.
  •    225 jeff - Simple, flexible, secure and idiomatic web session management with pluggable backends.
  •    206 httpauth - HTTP Authentication middleware.
  •    204 jwt-auth - JWT middleware for Golang http servers with many configuration options.
  •    153 branca - Golang implementation of Branca Tokens.
  •    112 sessionup - Simple, yet effective HTTP session management and identification package.
  •    105 session - Go session management for web servers (including support for Google App Engine - GAE).
  •     90 jwt - Clean and easy to use implementation of JSON Web Tokens (JWT).
  •     90 sjwt - Simple jwt generator and parser.
  •     79 rbac - Minimalistic RBAC package for Go applications.
  •     59 sessions - Dead simple, highly performant, highly customizable sessions service for go http servers.
  •     51 securecookie - Efficient secure cookie encoding/decoding.
  •     21 go-email-normalizer - Golang library for providing a canonical representation of email address.
  •     20 otpgo - Time-Based One-Time Password (TOTP) and HMAC-Based One-Time Password (HOTP) library for Go.
  •     12 scope - Easily Manage OAuth2 Scopes In Go.
  •      9 sessiongate-go - Go session management using the SessionGate Redis module.
  •      6 cookiestxt - provides parser of cookies.txt file format.
  •      3 otpgen - Library to generate TOTP/HOTP codes.
  •      1 casbin - Authorization library that supports access control models like ACL, RBAC, ABAC.

Bot Building

Libraries for building and working with bots.

  •   2938 olivia - A chatbot built with an artificial neural network.
  •   2917 telegram-bot-api - Simple and clean Telegram bot client.
  •   1939 telebot - Telegram bot framework written in Go.
  •    694 Kelp - official trading and market-making bot for the Stellar DEX. Works out-of-the-box, written in Golang, compatible with centralized exchanges and custom trading strategies.
  •    684 go-chat-bot - IRC, Slack & Telegram bot written in Go.
  •    563 Golang CryptoTrading Bot - A golang implementation of a console-based trading bot for cryptocurrency exchanges.
  •    521 slacker - Easy to use framework to create Slack bots.
  •    313 tbot - Telegram bot server with API similar to net/http.
  •    194 go-sarah - Framework to build bot for desired chat services including LINE, Slack, Gitter and more.
  •    174 go-twitch-irc - Libary to write bots for twitch.tv chat
  •    169 Tenyks - Service oriented IRC bot using Redis and JSON for messaging.
  •    135 hanu - Framework for writing Slack bots.
  •    107 go-tgbot - Pure Golang Telegram Bot API wrapper, generated from swagger file, session-based router and middleware.
  •     63 margelet - Framework for building Telegram bots.
  •     50 ephemeral-roles - A Discord bot for managing ephemeral roles based upon voice channel member presence.
  •     45 slackscot - Another framework for building Slack bots.
  •     39 slack-bot - Ready to use Slack Bot for lazy developers: Custom commands, Jenkins, Jira, Bitbucket, Github...
  •     36 govkbot - Simple Go VK bot library.
  •     17 micha - Go Library for Telegram bot api.
  •     13 echotron - Library for Telegram Bots written in pure Go.
  • go-joe - A general-purpose bot library inspired by Hubot but written in Go.

Build Automation

Libraries and tools helping with build automation.

  •   4043 realize - Go build system with file watchers and live reload. Run, build and watch file changes with custom paths.
  •   3584 Task - simple "Make" alternative.
  •   1575 mmake - Modern Make.
  •    234 goyek - Create build pipelines in Go.
  •    114 taskctl - Concurrent task runner.
  •     95 1build - Command line tool to frictionlessly manage project-specific commands.
  •     50 gaper - Builds and restarts a Go project when it crashes or some watched file changes.
  •     16 anko - Simple application watcher for multiple programming languages.
  • gilbert - Build system and task runner for Go projects.

Command Line

Standard CLI

Libraries for building standard or basic Command Line applications.

  •  22042 cobra - Commander for modern Go CLI interactions.
  •  16033 urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).
  •   3066 kingpin - Command line and flag parser supporting sub commands.
  •   2101 Dnote - A simple command line notebook with multi-device sync.
  •   1962 go-flags - go command line option parser.
  •   1475 pflag - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
  •   1341 mitchellh/cli - Go library for implementing command-line interfaces.
  •   1181 go-arg - Struct-based argument parsing in Go.
  •    789 liner - Go readline-like library for command-line interfaces.
  •    774 complete - Write bash completions in Go + Go command bash completion.
  •    741 mow.cli - Go library for building CLI applications with sophisticated flag and argument parsing and validation.
  •    720 flaggy - A robust and idiomatic flags package with excellent subcommand support.
  •    602 ops - Unikernel Builder/Orchestrator.
  •    579 cli - Feature-rich and easy to use command-line package based on golang struct tags.
  •    338 argparse - Command line argument parser inspired by Python's argparse module.
  •    186 climax - Alternative CLI with "human face", in spirit of Go command.
  •    162 hiboot cli - cli application framework with auto configuration and dependency injection.
  •    148 commandeer - Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags.
  •    137 wmenu - Easy to use menu structure for cli applications that prompts users to make choices.
  •    130 sflags - Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin and other libraries.
  •    115 flag - Simple but powerful command line option parsing library for Go supporting subcommand.
  •    108 ukautz/clif - Small command line interface framework.
  •    101 job - JOB, make your short-term command as a long-term job.
  •     90 cli - Simple and complete API for building command line interfaces in Go.
  •     78 env - Tag-based environment configuration for structs.
  •     76 cmdr - A POSIX/GNU style, getopt-like command-line UI Go library.
  •     71 clîr - A Simple and Clear CLI library. Dependency free.
  •     52 gocmd - Go library for building command line applications.
  •     51 wlog - Simple logging interface that supports cross-platform color and concurrency.
  •     45 strumt - Library to create prompt chain.
  •     36 flagvar - A collection of flag argument types for Go's standard flag package.
  •     35 go-getoptions - Go option parser inspired on the flexibility of Perl’s GetOpt::Long.
  •     33 cmd - Extends the standard flag package to support sub commands and more in idomatic way.
  •     30 argv - Go library to split command line string as arguments array using the bash syntax.
  •     23 go-commander - Go library to simplify CLI workflow.
  •     15 sand - Simple API for creating interpreters and so much more.
  •     13 ts - Timestamp convert & compare tool.
  •      7 command-chain - A go library for configure and run command chains - such like pipelining in unix shells.
  •      4 go-andotp - A CLI program to encrypt/decrypt   3050 andOTP files. Can be used as library as well.

Advanced Console UIs

Libraries for building Console Applications and Console User Interfaces.

  •  11035 termui - Go terminal dashboard based on termbox-go and inspired by  14345 blessed-contrib.
  •   7221 gocui - Minimalist Go library aimed at creating Console User Interfaces.
  •   4079 termbox-go - Termbox is a library for creating cross-platform text-based interfaces.
  •   3990 go-prompt - Library for building a powerful interactive prompt, inspired by   7138 python-prompt-toolkit.
  •   1918 progressbar - Basic thread-safe progress bar that works in every OS.
  •   1803 uiprogress - Flexible library to render progress bars in terminal applications.
  •   1716 termdash - Go terminal dashboard based on termbox-go and inspired by  11035 termui.
  •   1691 asciigraph - Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
  •   1389 pterm - A library to beautify console output on every platform with many combinable components.
  •   1314 uilive - Library for updating terminal output in realtime.
  •   1311 mpb - Multi progress bar for terminal applications.
  •   1108 aurora - ANSI terminal colors that supports fmt.Printf/Sprintf.
  •    863 gookit/color - Terminal color rendering tool library, support 16 colors, 256 colors, RGB color rendering output, compatible with Windows.
  •    613 uitable - Library to improve readability in terminal apps using tabular data.
  •    534 go-colorable - Colorable writer for windows.
  •    525 go-isatty - isatty for golang.
  •    397 gommon/color - Style terminal text.
  •    374 chalk - Intuitive package for prettifying terminal/console output.
  •    317 simpletable - Simple tables in terminal with Go.
  •    291 tabby - A tiny library for super simple Golang tables.
  •    207 go-colortext - Go library for color output in terminals.
  •    178 yacspin - Yet Another CLi Spinner package, for working with terminal spinners.
  •    135 box-cli-maker - Make Highly Customized Boxes for your CLI.
  •     78 cfmt - Contextual fmt inspired by bootstrap color classes.
  •     55 tabular - Print ASCII tables from command line utilities without the need to pass large sets of data to the API.
  •     33 ctc - The non-invasive cross-platform terminal color library does not need to modify the Print method.
  •     25 cfmt - Simple and convenient formatted stylized output fully compatible with fmt library.
  •     24 colourize - Go library for ANSI colour text in terminals.
  •     19 marker - Easiest way to match and mark strings for colorful terminal outputs.
  •      9 go-ataman - Go library for rendering ANSI colored text templates in terminals.
  •      8 table - Small library for terminal color based tables .

Configuration

Libraries for configuration parsing.

  •  16017 viper - Go configuration with fangs.
  •   3934 godotenv - Go port of Ruby's dotenv library (Loads environment variables from .env).
  •   3651 kelseyhightower/envconfig - Go library for managing configuration data from environment variables.
  •   2527 ini - Go package to read and write INI files.
  •   1921 env - Parse environment variables to Go structs (with defaults).
  •    609 konfig - Composable, observable and performant config handling for Go for the distributed processing era.
  •    519 koanf - Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line.
  •    396 confita - Load configuration in cascade from multiple backends into a struct.
  •    298 cleanenv - Minimalistic configuration reader (from files, ENV, and wherever you want).
  •    256 config - Cloud native application configuration. Bind ENV to structs in only two lines.
  •    253 store - Lightweight configuration manager for Go.
  •    251 gookit/config - application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge.
  •    240 config - JSON or YAML configuration wrapper with environment variables and flags parsing.
  •    239 hjson - Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.
  •    228 aconfig - Simple, useful and opinionated config loader.
  •    205 joshbetz/config - Small configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP.
  •    201 envconfig - Read your configuration from environment variables.
  •    155 fig - Tiny library for reading configuration from a file and from environment variables (with validation & defaults).
  •    150 gcfg - read INI-style configuration files into Go structs; supports user-defined types and subsections.
  •    148 goConfig - Parses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.
  •    146 config - A lightweight yet powerful config package for Go projects.
  •    107 xdg - Go implementation of the XDG Base Directory Specification and XDG user directories.
  •     96 envh - Helpers to manage environment variables.
  •     93 envcfg - Un-marshaling environment variables to Go structs.
  •     91 onion - Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP.
  •     84 harvester - Harvester, a easy to use static and dynamic configuration package supportig seeding, env vars and Consul integration.
  •     74 configuro - opinionated configuration loading & validation framework from ENV and Files focused towards 12-Factor compliant applications.
  •     63 xdg - Cross platform package that follows the XDG Standard.
  •     59 gofigure - Go application configuration made easy.
  •     54 configure - Provides configuration through multiple sources, including JSON, flags and environment variables.
  •     40 go-aws-ssm - Go package that fetches parameters from AWS System Manager - Parameter Store.
  •     39 configuration - Library for initializing configuration structs from env variables, files, flags and 'default' tag.
  •     35 ingo - Flags persisted in an ini-like config file.
  •     35 gone/jconf - Modular JSON configuration. Keep you config structs along with the code they configure and delegate parsing to submodules without sacrificing full config serialization.
  •     32 go-up - A simple configuration library with recursive placeholders resolution and no magic.
  •     32 uConfig - Lightweight, zero-dependency, and extendable configuration management.
  •     28 mini - Golang package for parsing ini-style configuration files.
  •     26 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.
  •     23 genv - Read environment variables easily with dotenv support.
  •     19 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.
  •     10 go-ssm-config - Go utility for loading configuration parameters from AWS SSM (Parameter Store).
  •     10 envconf - Configuration from environment.
  •      5 go-ini - A Go package that marshals and unmarshals INI-files.
  •      4 swap - Instantiate/configure structs recursively, based on build environment. (YAML, TOML, JSON and env).
  •      4 typenv - Minimalistic, zero dependency, typed environment variables library.
  •      4 nasermirzaei89/env - Simple useful package for read environment variables.
  •      2 gonfig - Tag-based configuration parser which loads values from different providers into typesafe struct.

Continuous Integration

Tools for help with continuous integration.

  •  23394 drone - Drone is a Continuous Integration platform built on Docker, written in Go.
  •   3454 CDS - Enterprise-Grade CI/CD and DevOps Automation Open Source Platform.
  •    690 goveralls - Go integration for Coveralls.io continuous code coverage tracking system.
  •    106 overalls - Multi-Package go project coverprofile for tools like goveralls.
  •     65 duci - A simple ci server no needs domain specific languages.
  •     51 gomason - Test, Build, Sign, and Publish your go binaries from a clean workspace.
  •     14 roveralls - Recursive coverage testing tool.

CSS Preprocessors

Libraries for preprocessing CSS files.

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

Data Structures

Generic datastructures and algorithms in Go.

  •  10126 gods - Go Data Structures. Containers, Sets, Lists, Stacks, Maps, BidiMaps, Trees, HashSet etc.
  •   6078 go-datastructures - Collection of useful, performant, and thread-safe data structures.
  •   1981 golang-set - Thread-Safe and Non-Thread-Safe high-performance sets for Go.
  •   1632 gota - Implementation of dataframes, series, and data wrangling methods for Go.
  •   1357 boomfilters - Probabilistic data structures for processing continuous, unbounded streams.
  •   1233 roaring - Go package implementing compressed bitsets.
  •   1223 willf/bloom - Go package implementing Bloom filters.
  •    878 gocache - A complete Go cache library with mutiple stores (memory, memcache, redis, ...), chainable, loadable, metrics cache and more.
  •    800 cuckoofilter - Cuckoo filter: a good alternative to a counting bloom filter implemented in Go.
  •    749 hyperloglog - HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction.
  •    697 bitset - Go package implementing bitsets.
  •    538 trie - Trie implementation in Go.
  •    531 algorithms - Algorithms and data structures.CLRS study.
  •    330 go-geoindex - In-memory geo index.
  •    284 gostl - Data structure and algorithm library for go, designed to provide functions similar to C++ STL.
  •    268 go-edlib - Go string comparison and edit distance algorithms library (Levenshtein, LCS, Hamming, Damerau levenshtein, Jaro-Winkler, etc.) compatible with Unicode.
  •    251 merkletree - Implementation of a merkle tree providing an efficient and secure verification of the contents of data structures.
  •    235 ttlcache - In-memory string-interface{} cache with various time-based expiration options and callbacks.
  •    233 hilbert - Go package for mapping values to and from space-filling curves, such as Hilbert and Peano curves.
  •    226 goskiplist - Skip list implementation in Go.
  •    222 deque - Fast ring-buffer deque (double-ended queue).
  •    180 go-adaptive-radix-tree - Go implementation of Adaptive Radix Tree.
  •    164 binpacker - Binary packer and unpacker helps user build custom binary stream.
  •    159 skiplist - Very fast Go Skiplist implementation.
  •    156 cuckoo-filter - Cuckoo filter: a comprehensive cuckoo filter, which is configurable and space optimized compared with other implements, and all features mentioned in original paper is available.
  •    144 levenshtein - Implementation to calculate levenshtein distance in Go.
  •    144 bloom - Bloom filters implemented in Go.
  •    139 goconcurrentqueue - Concurrent FIFO queue.
  •    136 iter - Go implementation of C++ STL iterators and algorithms.
  •    119 ring - Go implementation of a high performance, thread safe bloom filter.
  •    115 go-rquad - Region quadtrees with efficient point location and neighbour finding.
  •    106 encoding - Integer Compression Libraries for Go.
  •    103 bit - Golang set data structure with bonus bit-twiddling functions.
  •     99 remember-go - A universal interface for caching slow database queries (backed by redis, memcached, ristretto, or in-memory).
  •     94 conjungo - A small, powerful and flexible merge library.
  •     72 skiplist - Skiplist implementation in Go.
  •     67 go-mcache - Fast in-memory key:value store/cache library. Pointer caches.
  •     61 bloom - Golang Bloom filter implementation.
  •     57 levenshtein - Levenshtein distance and similarity metrics with customizable edit costs and Winkler-like bonus for common prefix.
  •     53 count-min-log - Go implementation Count-Min-Log sketch: Approximately counting with approximate counters (Like Count-Min sketch but using less memory).
  •     44 crunch - Go package implementing buffers for handling various datatypes easily.
  •     36 nan - Zero allocation Nullable structures in one library with handy conversion functions, marshallers and unmarshallers.
  •     34 concurrent-writer - Highly concurrent drop-in replacement for bufio.Writer.
  •     34 hide - ID type with marshalling to/from hash to prevent sending IDs to clients.
  •     33 goset - A useful Set collection implementation for Go.
  •     30 pipeline - An implementation of pipelines with fan-in and fan-out.
  •     28 deque - A highly optimized double-ended queue.
  •     27 typ - Null Types, Safe primitive type conversion and fetching value from complex structures.
  •     26 timedmap - Map with expiring key-value pairs.
  •     19 null - Nullable Go types that can be marshalled/unmarshalled to/from JSON.
  •     18 dict - Python-like dictionaries (dict) for Go.
  •     18 go-ef - A Go implementation of the Elias-Fano encoding.
  •     15 cmap - a thread-safe concurrent map for go, support using interface{} as key and auto scale up shards.
  •     15 mspm - Multi-String Pattern Matching Algorithm for information retrieval.
  •     14 set - Simple set data structure implementation in Go using LinkedHashMap.
  •     14 ptrie - An implementation of prefix tree.
  •     11 treap - Persistent, fast ordered map using tree heaps.
  •     10 parapipe - FIFO Pipeline which parallels execution on each stage while maintaining the order of messages and results.
  •      9 gofal - fractional api for Go.
  •      6 parsefields - Tools for parse JSON-like logs for collecting unique fields and events.
  •      5 dsu - Disjoint Set data structure implementation in Go.
  •      5 ordered-concurrently - Go module that processes work concurrently and returns output in a channel in the order of input.
  •      4 bloomfilter - Yet another Bloomfilter implementation in Go, compatible with Java's Guava library.
  •      3 goterator - Iterator implementation to provide map and reduce functionalities.
  •      3 slices - Functions that operate on slices; like package strings but adapted to work with slices.

Database

Databases implemented in Go.

  •  37360 prometheus - Monitoring system and time series database.
  •  28236 tidb - TiDB is a distributed SQL database. Inspired by the design of Google F1.
  •  21679 influxdb - Scalable datastore for metrics, events, and real-time analytics.
  •  20795 cockroach - Scalable, Geo-Replicated, Transactional Datastore.
  •  16258 dgraph - Scalable, Distributed, Low Latency, High Throughput Graph Database.
  •  10379 groupcache - Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
  •   9379 badger - Fast key-value store in Go.
  •   8555 rqlite - The lightweight, distributed, relational database built on SQLite.
  •   5113 go-cache - In-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
  •   4936 BigCache - Efficient key/value cache for gigabytes of data.
  •   4553 bbolt - An embedded key/value database for Go.
  •   4463 VictoriaMetrics - fast, resource-effective and scalable open source time series database. May be used as long-term remote storage for Prometheus. Supports PromQL.
  •   4384 goleveldb - Implementation of the  25612 LevelDB key/value database in Go.
  •   3659 ledisdb - Ledisdb is a high performance NoSQL like Redis based on LevelDB.
  •   3303 buntdb - Fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support.
  •   2896 immudb - immudb is a lightweight, high-speed immutable database for systems and applications written in Go.
  •   2599 tiedot - Your NoSQL database powered by Golang.
  •   1663 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.
  •   1574 GCache - Cache library with support for expirable Cache, LFU, LRU and ARC.
  •   1563 cache2go - In-memory key:value cache which supports automatic invalidation based on timeouts.
  •   1191 CovenantSQL - CovenantSQL is a SQL database on blockchain.
  •   1167 fastcache - fast thread-safe inmemory cache for big number of entries. Minimizes GC overhead.
  •   1154 rosedb - An embedded k-v database based on LSM+WAL, supports string, list, hash, set, zset.
  •   1068 diskv - Home-grown disk-backed key-value store.
  •    820 Databunker - Personally identifiable information (PII) storage service built to comply with GDPR and CCPA.
  •    813 eliasdb - Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.
  •    813 moss - Moss is a simple LSM key-value storage engine written in 100% Go.
  •    797 pogreb - Embedded key-value store for read-heavy workloads.
  •    790 godis - A Golang implemented high-performance Redis server and cluster.
  •    764 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).
  •    703 column - High-performance, columnar, embeddable in-memory store with bitmap indexing and transactions.
  •    397 levigo - Levigo is a Go wrapper for LevelDB.
  •    289 pudge - Fast and simple key/value store written using Go's standard library.
  •    213 Vasto - A distributed high-performance key-value store. On Disk. Eventual consistent. HA. Able to grow or shrink without service interruption.
  •    211 Kivik - Kivik provides a common Go and GopherJS client library for CouchDB, PouchDB, and similar databases.
  •    187 piladb - Lightweight RESTful database engine based on stack data structures.
  •    127 Scribble - Tiny flat file JSON store.
  •     98 slowpoke - Key-value store with persistence.
  •     89 cache - In-memory key:value store with expiration time, 0 dependencies, <100 LoC, 100% coverage.
  •     66 bcache - Eventually consistent distributed in-memory cache Go library.
  •     65 unitdb - Fast timeseries database for IoT, realtime messaging applications. Access unitdb with pubsub over tcp or websocket using github.com/unit-io/unitd application.
  •     53 couchcache - RESTful caching micro-service backed by Couchbase server.
  •     41 hare - A simple database management system that stores each table as a text file of line-delimited JSON.
  •     37 clusteredBigCache - BigCache with clustering support and individual item expiration.
  •     25 Coffer - Simple ACID key-value database that supports transactions.
  •     15 tempdb - Key-value store for temporary items.
  •      3 ttlcache - In-memory key value storage with TTL for each record.

Database schema migration.

  •   6673 migrate - Database migrations. CLI and Golang library.
  •   2163 sql-migrate - Database migration tool. Allows embedding migrations into the application using go-bindata.
  •   1735 goose - Database migration tool. You can manage your database's evolution by creating incremental SQL or Go scripts.
  •   1077 soda - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
  •    909 skeema - Pure-SQL schema management system for MySQL, with support for sharding and external online schema change tools.
  •    627 gormigrate - Database schema migration helper for Gorm ORM.
  •    119 darwin - Database schema evolution library for Go.
  •    114 migrator - Dead simple Go database migration library.
  •     79 go-pg-migrations - A Go package to help write migrations with go-pg/pg.
  •     26 go-fixtures - Django style fixtures for Golang's excellent built-in database/sql library.
  •     24 pravasan - Simple Migration tool - currently for MySQL but planning to soon support Postgres, SQLite, MongoDB, etc.
  •     24 avro - Discover SQL schemas and convert them to AVRO schemas. Query SQL records into AVRO bytes.
  •      8 migrator - MySQL database migrator designed to run migrations to your features and manage database schema update with intuitive go code.
  •      7 schema - Library to embed schema migrations for database/sql-compatible databases inside your Go binaries.
  •      4 go-pg-migrate - CLI-friendly package for go-pg migrations management.

Database tools.

  •  12099 vitess - vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.
  •   6910 pgweb - Web-based PostgreSQL database browser.
  •   5713 kingshard - kingshard is a high performance proxy for MySQL powered by Golang.
  •   4121 orchestrator - MySQL replication topology manager & visualizer.
  •   3508 go-mysql-elasticsearch - Sync your MySQL data into Elasticsearch automatically.
  •   3111 go-mysql - Go toolset to handle MySQL protocol and replication.
  •   2700 pREST - Simplify and accelerate development, instant, realtime, high-performance on any Postgres application, existing or new.
  •    636 chproxy - HTTP proxy for ClickHouse database.
  •    411 pg_timetable - Advanced scheduling for PostgreSQL.
  •    287 clickhouse-bulk - Collects small insterts and sends big requests to ClickHouse servers.
  •    173 myreplication - MySql binary log replication listener. Supports statement and row based replication.
  •    140 octillery - Go package for sharding databases ( Supports every ORM or raw SQL ).
  •     59 dbbench - Database benchmarking tool with support for several databases and scripts.
  •     34 datagen - A fast data generator that's multi-table aware and supports multi-row DML.
  •     28 prep - Use prepared SQL statements without changing your code.
  •     12 rwdb - rwdb provides read replica capability for multiple database servers setup.

SQL query builder, libraries for building and using SQL.

  •   3991 Squirrel - Go library that helps you build SQL queries.
  •   2802 xo - Generate idiomatic Go code for databases based on existing schema definitions or custom queries supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server.
  •   1230 gendry - Non-invasive SQL builder and powerful data binder.
  •   1082 goqu - Idiomatic SQL builder and query library.
  •    590 Dotsql - Go library that helps you keep sql files in one place and use them with ease.
  •    536 ozzo-dbx - Powerful data retrieval methods as well as DB-agnostic query building capabilities.
  •    426 jet - Framework for writing type-safe SQL queries in Go, with ability to easily convert database query result into desired arbitrary object structure.
  •    298 dbq - Zero boilerplate database operations for Go.
  •    226 sqrl - SQL query builder, fork of Squirrel with improved performance.
  •    154 sqlingo - A lightweight DSL to build SQL in Go.
  •    105 sq - Type-safe SQL builder and struct mapper for Go.
  •     85 igor - Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax.
  •     52 godbal - Database Abstraction Layer (dbal) for go. Support SQL builder and get result easily.
  •     36 buildsqlx - Go database query builder library for PostgreSQL.
  •     20 qry - Tool that generates constants from files with raw SQL queries.
  •     18 sqlf - Fast SQL query builder.
  •     16 gosql - SQL Query builder with better null values support.
  •      8 mpath - MPTT (Modified Preorder Tree Traversal) package for SQL records - materialized path realisation.
  •      0 ormlite - Lightweight package containing some ORM-like features and helpers for sqlite databases.
  • hasql - Library for accessing multi-host SQL database installations.
  • Squalus - Thin layer over the Go SQL package that makes it easier to perform queries.

Database Drivers

Libraries for connecting and operating databases.

  • Relational Databases
    •  10998 go-sql-driver/mysql - MySQL driver for Go.
    •   6621 pq - Pure Go Postgres driver for database/sql.
    •   4914 go-sqlite3 - SQLite3 driver for go that uses database/sql.
    •   4209 pgx - PostgreSQL driver supporting features beyond those exposed by database/sql.
    •   1410 go-mssqldb - Microsoft MSSQL driver for Go.
    •    551 go-oci8 - Oracle driver for go that uses database/sql.
    •    260 godror - Oracle driver for Go, using the ODPI-C driver.
    •    151 firebirdsql - Firebird RDBMS SQL driver for Go.
    •    120 go-adodb - Microsoft ActiveX Object DataBase driver for go that uses database/sql.
    •    104 gofreetds - Microsoft MSSQL driver. Go wrapper over FreeTDS.
    •     74 avatica - Apache Avatica/Phoenix SQL driver for database/sql.
    •     67 Sqinn-Go - SQLite with pure Go.
    •     15 bgc - Datastore Connectivity for BigQuery for go.
    •      5 pig - Simple   4209 pgx wrapper to execute and    297 scan query results easily.
  • NoSQL Databases
    •  11813 redis - Redis client for Golang.
    •   8467 redigo - Redigo is a Go client for the Redis database.
    •   5833 mongo-go-driver - Official MongoDB driver for the Go language.
    •   1900 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.
    •   1565 gorethink - Go language driver for RethinkDB.
    •   1353 gomemcache - memcache client library for the Go programming language.
    •    521 qmgo - The MongoDB driver for Go. It‘s based on official MongoDB driver but easier to use like Mgo.
    •    397 redeo - Redis-protocol compatible TCP servers/services.
    •    375 neoism - Neo4j client for Golang.
    •    365 aerospike-client-go - Aerospike client in Go language.
    •    326 gocb - Official Couchbase Go SDK.
    •    324 mgm - MongoDB model-based ODM for Go (based on official MongoDB driver).
    •    312 go-couchbase - Couchbase client in Go.
    •    168 go-rejson - Golang client for redislabs' ReJSON module using Redigo golang client. Store and manipulate structs as JSON objects in redis with ease.
    •     92 godis - redis client implement by golang, inspired by jedis.
    •     76 Neo4j-GO - Neo4j REST Client in golang.
    •     69 arangolite - Lightweight golang driver for ArangoDB.
    •     46 go-pilosa - Go client library for Pilosa.
    •     30 forestdb - Go bindings for ForestDB.
    •     26 goriak - Go language driver for Riak KV.
    •     26 neo4j - Neo4j Rest API Bindings for Golang.
    •     15 xredis - Typesafe, customizable, clean & easy to use Redis client.
    •      8 godscache - A wrapper for the Google Cloud Platform Go Datastore package that adds caching using memcached.
    •      6 asc - Datastore Connectivity for Aerospike for go.
    •      3 gocosmos - REST client and standard database/sql driver for Azure Cosmos DB.
    • gocql - Go language driver for Apache Cassandra.
  • Search and Analytic Databases.
    •   7622 bleve - Modern text indexing library for go.
    •   6016 elastic - Elasticsearch client for Go.
    •   5805 riot - Go Open Source, Distributed, Simple and efficient Search Engine.
    •   3461 go-elasticsearch - Official Elasticsearch client for Go.
    •    947 elastigo - Elasticsearch client library.
    •    738 elasticsql - Convert sql to elasticsearch dsl in Go.
    •     78 skizze - probabilistic data-structures service and storage.
    •     24 goes - Library to interact with Elasticsearch.
  • Multiple Backends.
    •  13844 cayley - Graph database with support for multiple backends.
    •    344 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).
    •    156 cachego - Golang Cache component for multiple drivers.
    •     22 dsc - Datastore connectivity for SQL, NoSQL, structured files.

Date and Time

Libraries for working with dates and times.

  •   3119 now - Now is a time toolkit for golang.
  •   1448 dateparse - Parse date's without knowing format in advance.
  •    597 carbon - Simple Time extension with a lot of util methods, ported from PHP Carbon library.
  •    389 durafmt - Time duration formatting library for Go.
  •    186 timeutil - Useful extensions (Timedelta, Strftime, ...) to the golang's time package.
  •    153 gostradamus - A Go package for working with dates.
  •     97 go-persian-calendar - The implementation of the Persian (Solar Hijri) Calendar in Go (golang).
  •     89 iso8601 - Efficiently parse ISO8601 date-times without regex.
  •     74 timespan - For interacting with intervals of time, defined as a start time and a duration.
  •     72 date - Augments Time for working with dates, date ranges, time spans, periods, and time-of-day.
  •     39 feiertage - Set of functions to calculate public holidays in Germany, incl. specialization on the states of Germany (Bundesländer). Things like Easter, Pentecost, Thanksgiving...
  •     35 go-sunrise - Calculate the sunrise and sunset times for a given location.
  •     25 go-str2duration - Convert string to duration. Support time.Duration returned string and more.
  •     19 kair - Date and Time - Golang Formatting Library.
  •     11 NullTime - Nullable time.Time.
  •     10 cronrange - Parses Cron-style time range expressions, checks if the given time is within any ranges.
  •      9 tuesday - Ruby-compatible Strftime function.
  •      7 strftime - C99-compatible strftime formatter.
  •      5 go-week - An efficient package to work with ISO8601 week dates.

Distributed Systems

Packages that help with building Distributed Systems.

  •  36351 raft - Go implementation of the Raft consensus protocol, by CoreOS.
  •  20491 go-kit - Microservice toolkit with support for service discovery, load balancing, pluggable transports, request tracking, etc.
  •  16211 go-micro - A distributed systems development framework.
  •  13971 grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC.
  •  10177 micro - A distributed systems runtime for the cloud and beyond.
  •   9499 NATS - Lightweight, high performance messaging system for microservices, IoT, and cloud native systems.
  •   9218 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.
  •   5760 rpcx - Distributed pluggable RPC service framework like alibaba Dubbo.
  •   4828 raft - Golang implementation of the Raft consensus protocol, by HashiCorp.
  •   4259 KrakenD - Ultra performant API Gateway framework with middlewares.
  •   4177 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.
  •   3922 torrent - BitTorrent client package.
  •   3691 dragonboat - A feature complete and high performance multi-group Raft library in Go.
  •   2959 glow - Easy-to-Use scalable distributed big data processing, Map-Reduce, DAG execution, all in pure Go.
  •   2917 emitter-io - High performance, distributed, secure and low latency publish-subscribe platform built with MQTT, Websockets and love.
  •   2838 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.
  •   2102 liftbridge - Lightweight, fault-tolerant message streams for NATS.
  •   1167 hprose - Very newbility RPC Library, support 25+ languages now.
  •    687 ringpop-go - Scalable, fault-tolerant application-layer sharding for Go applications.
  •    636 gorpc - Simple, fast and scalable RPC library for high load.
  •    613 rain - BitTorrent client and library.
  •    595 go-health - Library for enabling asynchronous dependency health checks in your service.
  •    432 redis-lock - Simplified distributed locking implementation using Redis.
  •    408 go-sundheit - A library built to provide support for defining async service health checks for golang services.
  •    393 digota - grpc ecommerce microservice.
  •    384 consistent - Consistent hashing with bounded loads.
  •    336 sleuth - Library for master-less p2p auto-discovery and RPC between HTTP services (using   7060 ZeroMQ).
  •    327 go-jump - Port of Google's "Jump" Consistent Hash function.
  •    189 dht - BitTorrent Kademlia DHT implementation.
  •    183 arpc - More effective network communication, support two-way-calling, notify, broadcast.
  •    178 jsonrpc - JSON-RPC 2.0 HTTP client implementation.
  •    149 jsonrpc - The jsonrpc package helps implement of JSON-RPC 2.0.
  •     67 celeriac - Library for adding support for interacting and monitoring Celery workers, tasks and events in Go.
  •     60 doublejump - A revamped Google's jump consistent hash.
  •     57 dot - distributed sync using operational transformation/OT.
  •     55 Semaphore - A straightforward (micro) service orchestrator.
  •     53 outboxer - Outboxer is a go library that implements the outbox pattern.
  •     41 flowgraph - flow-based programming package.
  •     33 drmaa - Job submission library for cluster schedulers based on the DRMAA standard.
  •     28 go-pdu - A decentralized identity-based social network.
  •     21 go-mysql-lock - MySQL based distributed lock.
  •     14 dynatomic - A library for using DynamoDB as an atomic counter.
  •     13 gmsec - A Go distributed systems development framework.
  •      9 consistenthash - Consistent hashing with configurable replicas.
  • pglock - PostgreSQL-backed distributed locking implementation.
  • 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.

Dynamic DNS

Tools for updating dynamic DNS records.

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

Email

Libraries and tools that implement email creation and sending.

  •   8671 MailHog - Email and SMTP testing with web and API interface.
  •   2291 hermes - Golang package that generates clean, responsive HTML e-mails.
  •   1766 email - A robust and flexible email library for Go.
  •   1297 go-imap - IMAP library for clients and servers.
  •    736 SendGrid - SendGrid's Go library for sending email.
  •    531 mailgun-go - Go library for sending mail with the Mailgun API.
  •    248 email-verifier - A Go library for email verification without sending any emails.
  •    209 go-message - Streaming library for the Internet Message Format and mail messages.
  •    207 Hectane - Lightweight SMTP client providing an HTTP API.
  •    194 douceur - CSS inliner for your HTML emails.
  •    165 go-simple-mail - Very simple package to send emails with SMTP Keep Alive and two timeouts: Connect and Send.
  •     82 mailchain - Send encrypted emails to blockchain addresses written in Go.
  •     71 go-premailer - Inline styling for HTML mail in Go.
  •     69 go-dkim - DKIM library, to sign & verify email.
  •     63 smtp - SMTP server protocol state machine.
  •     11 go-email-validator - Modular email validator for syntax, disposable, smtp, etc... checking.
  • chasquid - SMTP server written in Go.

Embeddable Scripting Languages

Embedding other languages inside your go code.

  •   4148 gopher-lua - Lua 5.1 VM and compiler written in Go.
  •   2324 tengo - Bytecode compiled script language for Go.
  •   2252 goja - ECMAScript 5.1(+) implementation in Go.
  •   2109 go-lua - Port of the Lua 5.2 VM to pure Go.
  •   1827 expr - Expression evaluation engine for Go: fast, non-Turing complete, dynamic typing, static typing.
  •   1277 go-python - naive go bindings to the CPython C-API.
  •   1140 anko - Scriptable interpreter written in Go.
  •    820 cel-go - Fast, portable, non-Turing complete expression evaluation with gradual typing.
  •    800 go-php - PHP bindings for Go.
  •    764 go-duktape - Duktape JavaScript engine bindings for Go.
  •    545 golua - Go bindings for Lua C API.
  •    461 gisp - Simple LISP in Go.
  •    339 gval - A highly customizable expression language written in Go.
  •     75 gentee - Embeddable scripting programming language.
  •     51 binder - Go to Lua binding library, based on   4148 gopher-lua.
  •     31 purl - Perl 5.18.2 embedded in Go.
  •     20 ngaro - Embeddable Ngaro VM implementation enabling scripting in Retro.
  •     10 ecal - A simple embeddable scripting language which supports concurrent event processing.

Error Handling

Libraries for handling errors.

  •   7027 errors - Package that provides simple error handling primitives.
  •   1291 go-multierror - Go (golang) package for representing a list of errors as a single error.
  •    816 eris - A better way to handle, trace, and log errors in Go. Compatible with the standard error library and github.com/pkg/errors.
  •    749 errorx - A feature rich error package with stack traces, composition of errors and more.
  •    660 tracerr - Golang errors with stack trace and source fragments.
  •    396 errlog - Hackable package that determines responsible source code for an error (and some other fast-debugging features). Pluggable to any logger in-place.
  •    216 emperror - Error handling tools and best practices for Go libraries and applications.
  •     96 errors - Drop-in replacement for the standard library errors package and github.com/pkg/errors. Provides various error handling primitives.
  •     23 errors - Drop-in replacement for builting Go errors. This is a minimal error handling package with custom error types, user friendly messages, Unwrap & Is. With very easy to use and straightforward helper functions.
  •      6 Falcon - A Simple Yet Highly Powerful Package For Error Handling.
  •      3 errors - Simple golang error handling with classification primitives.
  •      2 errors - The most simple error wrapper with awesome performance and minimal memory overhead.

File Handling

Libraries for handling files and file systems.

  •   3831 afero - FileSystem Abstraction System for Go.
  •   2430 pdfcpu - PDF processor.
  •    664 notify - File system event notification library with simple API, similar to os/signal.
  •    319 copy - Copy directory recursively.
  •    191 bigfile - A file transfer system, support to manage files with http api, rpc call and ftp client.
  •    148 afs - Abstract File Storage (mem, scp, zip, tar, cloud: s3, gs) for Go.
  •    110 vfs - A pluggable, extensible, and opinionated set of filesystem functionality for Go across a number of filesystem types such as os, S3, and GCS.
  •     86 go-csv-tag - Load csv file using tag.
  •     67 opc - Load Open Packaging Conventions (OPC) files for Go.
  •     64 skywalker - Package to allow one to concurrently go through a filesystem with ease.
  •     63 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, ...).
  •     46 tarfs - Implementation of the FileSystem interface for tar files.
  •     34 checksum - Compute message digest, like MD5 and SHA256, for large files.
  •     29 baraka - A library to process http file uploads easily.
  •     27 go-gtfs - Load gtfs files in go.
  •     24 flop - File operations library which aims to mirror feature parity with GNU cp.
  •     21 parquet - Read and write parquet files.
  •     17 gut/yos - Simple and reliable package for file operations like copy/move/diff/list on files, directories and symbolic links.
  •     14 go-decent-copy - Copy files for humans.
  •      8 todotxt - Go library for Gina Trapani's todo.txt files, supports parsing and manipulating of task lists in the   1210 todo.txt format.
  •      6 higgs - A tiny cross-platform Go library to hide/unhide files and directories.
  • stl - Modules to read and write STL (stereolithography) files. Concurrent algorithm for reading.

Financial

Packages for accounting and finance.

  •   3106 decimal - Arbitrary-precision fixed-point decimal numbers.
  •    954 go-money - Implementation of Fowler's Money pattern.
  •    660 accounting - money and currency formatting for golang.
  •    534 go-finance - Comprehensive financial markets data in Go.
  •    469 techan - Technical analysis library with advanced market analysis and trading strategies.
  •    260 currency - Handles currency amounts, provides currency information and formatting.
  •    210 orderbook - Matching Engine for Limit Order Book in Golang.
  •     99 go-finance - Library of financial functions for time value of money (annuities), cash flow, interest rate conversions, bonds and depreciation calculations.
  •     92 transaction - Embedded transactional database of accounts, running in multithreaded mode.
  •     88 ofxgo - Query OFX servers and/or parse the responses (with example command-line client).
  •     82 vat - VAT number validation & EU VAT rates.
  •     58 sleet - One unified interface for multiple Payment Service Providers (PsP) to process online payment.
  •     56 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.
  •     39 currency - High performant & accurate currency computation package.
  •     24 fastme - Fast extensible matching engine Go implementation.
  •      5 go-finance - Module to fetch exchange rates, check VAT numbers via VIES and check IBAN bank account numbers.
  •      5 payme - QR code generator (ASCII & PNG) for SEPA payments.

Forms

Libraries for working with forms.

  •   1168 nosurf - CSRF protection middleware for Go.
  •    780 binding - Binds form and JSON data from net/http Request to struct.
  •    670 gorilla/csrf - CSRF protection for Go web applications & services.
  •    474 form - Decodes url.Values into Go value(s) and Encodes Go value(s) into url.Values. Dual Array and Full map support.
  •    222 conform - Keeps user input in check. Trims, sanitizes & scrubs data based on struct tags.
  •    161 formam - decode form's values into a struct.
  •    121 forms - Framework-agnostic library for parsing and validating form/JSON data which supports multipart forms and files.
  •     57 qs - Go module for encoding structs into URL query parameters.
  •     25 bind - Bind form data to any Go values.
  •      9 queryparam - Decode url.Values into usable struct values of standard or custom types.

Functional

Packages to support functional programming in Go.

  •   1199 go-underscore - Useful collection of helpfully functional Go collection utilities.
  •    179 fpGo - Monad, Functional Programming features for Golang.
  •     91 fuego - Functional Experiment in Go.
  •     76 gofp - A lodash like powerful utility library for Golang.

Game Development

Awesome game development libraries.

  •   4699 Ebiten - dead simple 2D game library in Go.
  •   4036 Leaf - Lightweight game server framework.
  •   3521 Pixel - Hand-crafted 2D game library in Go.
  •   1866 goworld - Scalable game server engine, featuring space-entity framework and hot-swapping.
  •   1727 nano - Lightweight, facility, high performance golang based game server framework.
  •   1558 go-sdl2 - Go bindings for the Simple DirectMedia Layer.
  •   1481 g3n - Go 3D Game Engine.
  •   1381 engo - Engo is an open-source 2D game engine written in Go. It follows the Entity-Component-System paradigm.
  •   1212 termloop - Terminal-based game engine for Go, built on top of Termbox.
  •   1142 gonet - Game server skeleton implemented with golang.
  •   1065 Pitaya - Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK.
  •    893 Oak - Pure Go game engine.
  •    613 raylib-go - Go bindings for raylib, a simple and easy-to-use library to learn videogames programming.
  •    489 Azul3D - 3D game engine written in Go.
  •    430 go-astar - Go implementation of the A* path finding algorithm.
  •    200 go3d - Performance oriented 2D/3D math package for Go.
  •     56 prototype - Cross-platform (Windows/Linux/Mac) library for creating desktop games using a minimal API.
  •     24 tile - Data-oriented and cache-friendly 2D Grid library (TileMap), includes pathfinding, observers and import/export.

Generation and Generics

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

  •   2547 go-linq - .NET LINQ-like query methods for Go.
  •   2062 jennifer - Generate arbitrary Go code without templates.
  •   1295 gen - Code generation tool for ‘generics’-like functionality.
  •    893 goderive - Derives functions from input types.
  •    517 GoWrap - Generate decorators for Go interfaces using simple templates.
  •    300 interfaces - Command line tool for generating interface definitions.
  •    210 go-enum - Code generation for enums from code comments.
  •     96 pkgreflect - Go preprocessor for package scoped reflection.
  •     48 efaceconv - Code generation tool for high performance conversion from interface{} to immutable type without allocations.
  •     37 gotype - Golang source code parsing, usage like reflect package.
  •     27 generis - Code generation tool providing generics, free-form macros, conditional compilation and HTML templating.
  •     18 go-xray - Helpers for making the use of reflection easier.
  •     11 typeregistry - A library to create type dynamically.

Geographic

Geographic tools and servers

  •   7484 Tile38 - Geolocation DB with spatial index and realtime geofencing.
  •   1230 S2 geometry - S2 geometry library in Go.
  •    246 mbtileserver - A simple Go-based server for map tiles stored in mbtiles format.
  •    167 osm - Library for reading, writing and working with OpenStreetMap data and APIs.
  •     62 WGS84 - Library for Coordinate Conversion and Transformation (ETRS89, OSGB36, NAD83, RGF93, Web Mercator, UTM).
  •     55 geoserver - geoserver Is a Go Package For Manipulating a GeoServer Instance via the GeoServer REST API.
  •     38 gismanager - Publish Your GIS Data(Vector Data) to PostGIS and Geoserver.
  •     26 pbf - OpenStreetMap PBF golang encoder/decoder.
  •     13 S2 geojson - Convert geojson to s2 cells & demonstrating some S2 geometry features on map.

Go Compilers

Tools for compiling Go to other languages.

  •  10266 gopherjs - Compiler from Go to JavaScript.
  •    406 tardisgo - Golang to Haxe to CPP/CSharp/Java/JavaScript transpiler.
  •    269 c4go - Transpile C code to Go code.
  •     24 f4go - Transpile FORTRAN 77 code to Go code.

Goroutines

Tools for managing and working with Goroutines.

  •   5860 ants - A high-performance and low-cost goroutine pool in Go.
  •   2567 goworker - goworker is a Go-based background worker.
  •   2394 tunny - Goroutine pool for golang.
  •    636 grpool - Lightweight Goroutine pool.
  •    617 pool - Limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation.
  •    569 workerpool - Goroutine pool that limits the concurrency of task execution, not the number of tasks queued.
  •    300 gowp - gowp is concurrency limiting goroutine pool.
  •    224 pond - Minimalistic and High-performance goroutine worker pool written in Go.
  •    202 go-floc - Orchestrate goroutines with ease.
  •    167 go-flow - Control goroutines execution order.
  •    115 semaphore - Fast resizable semaphore implementation based on CAS (faster than channel-based semaphore implementations).
  •    108 go-workers - Easily and safely run workers for large data processing pipelines.
  •    107 artifex - Simple in-memory job queue for Golang using worker-based dispatching.
  •     97 breaker - Flexible mechanism to make execution flow interruptible.
  •     85 semaphore - Semaphore pattern implementation with timeout of lock/unlock operations based on channel and context.
  •     83 async - A safe way to execute functions asynchronously, recovering them in case of panic.
  •     80 neilotoole/errgroup - Drop-in alternative to sync/errgroup, limited to a pool of N worker goroutines.
  •     79 gpool - manages a resizeable pool of context-aware goroutines to bound concurrency.
  •     75 worker-pool - goworker is a Go simple async worker pool.
  •     67 cyclicbarrier - CyclicBarrier for golang.
  •     60 threadpool - Golang threadpool implementation.
  •     58 gollback - asynchronous simple function utilities, for managing execution of closures and callbacks.
  •     54 Hunch - Hunch provides functions like: All, First, Retry, Waterfall etc., that makes asynchronous flow control more intuitive.
  •     41 routine - go routine control with context, support: Main, Go, Pool and some useful Executors.
  •     32 kyoo - Provides an unlimited job queue and concurrent worker pools.
  •     30 parallel-fn - Run functions in parallel.
  •     30 nursery - Structured concurrency in Go.
  •     23 async - An alternative sync library for Go (Future, Promise, Locks).
  •     21 goccm - Go Concurrency Manager package limits the number of goroutines that allowed to run concurrently.
  •     20 go-waitgroup - Like sync.WaitGroup with error handling and concurrency control.
  •     18 stl - Software transactional locks based on Software Transactional Memory (STM) concurrency control mechanism.
  •     18 go-trylock - TryLock support on read-write lock for Golang.
  •     12 gohive - A highly performant and easy to use Goroutine pool for Go.
  •     12 channelify - Transform your function to return channels for easy and powerful parallel processing.
  •     10 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.
  •      9 queue - Gives you a sync.WaitGroup like queue group accessibility. Helps you to throttle and limit goroutines, wait for the end of the all goroutines and much more.
  •      9 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.
  •      7 hands - A process controller used to control the execution and return strategies of multiple goroutines.
  •      5 go-tools/multithreading - Manage a pool of goroutines using this lightweight library with a simple API.
  •      4 concurrency-limiter - Concurrency limiter with support for timeouts , dynamic priority and context cancellation of goroutines.
  • oversight - Oversight is a complete implementation of the Erlang supervision trees.

GUI

Libraries for building GUI Applications.

Toolkits

  •  13365 fyne - Cross platform native GUIs designed for Go based on Material Design. Supports: Linux, macOS, Windows, BSD, iOS and Android.
  •   8602 qt - Qt binding for Go (support for Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi).
  •   8503 webview - Cross-platform webview window with simple two-way JavaScript bindings (Windows / macOS / Linux).
  •   7899 ui - Platform-native GUI library for Go. Cross platform.
  •   5508 walk - Windows application library kit for Go.
  •   4894 app - Package to create apps with GO, HTML and CSS. Supports: MacOS, Windows in progress.
  •   3874 go-astilectron - Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron).
  •   2106 go-sciter - Go bindings for Sciter: the Embeddable HTML/CSS/script engine for modern desktop UI development. Cross platform.
  •   1506 gotk3 - Go bindings for GTK3.
  •    320 gowd - Rapid and simple desktop UI development with GO, HTML, CSS and NW.js. Cross platform.
  • go-gtk - Go bindings for GTK.
  • Wails - Mac, Windows, Linux desktop apps with HTML UI using built-in OS HTML renderer.

Interaction

  •   6712 robotgo - Go Native cross-platform GUI system automation. Control the mouse, keyboard and other.
  •   1857 systray - Cross platform Go library to place an icon and menu in the notification area.
  •    540 gosx-notifier - OSX Desktop Notifications library for Go.
  •    209 trayhost - Cross-platform Go library to place an icon in the host operating system's taskbar.
  •     17 go-appindicator - Go bindings for libappindicator3 C library.
  •     12 mac-activity-tracker - OSX library to notify about any (pluggable) activity on your machine.
  •      9 mac-sleep-notifier - OSX Sleep/Wake notifications in golang.

Hardware

Libraries, tools, and tutorials for interacting with hardware.

See   1173 go-hardware for a comprehensive list.

Images

Libraries for manipulating images.

  •   4116 gocv - Go package for computer vision using OpenCV 3.3+.
  •   3797 imaging - Simple Go image processing package.
  •   3701 imaginary - Fast and simple HTTP microservice for image resizing.
  •   3236 bild - Collection of image processing algorithms in pure Go.
  •   2914 ln - 3D line art rendering in Go.
  •   2908 gg - 2D rendering in pure Go.
  •   2655 resize - Image resizing for Go with common interpolation methods.
  •   1953 pt - Path tracing engine written in Go.
  •   1680 svgo - Go Language Library for SVG generation.
  •   1524 smartcrop - Finds good crops for arbitrary images and crop sizes.
  •   1484 picfit - An image resizing server written in Go.
  •   1479 bimg - Small package for fast and efficient image processing using libvips.
  •   1449 gift - Package of image processing filters.
  •   1320 imagick - Go binding to ImageMagick's MagickWand C API.
  •   1234 go-opencv - Go bindings for OpenCV.
  •   1126 geopattern - Create beautiful generative image patterns from a string.
  •    936 stegify - Go tool for LSB steganography, capable of hiding any file within an image.
  •    730 canvas - Vector graphics to PDF, SVG or rasterized image.
  •    551 image2ascii - Convert image to ASCII.
  •    493 draft - Generate High Level Microservice Architecture diagrams for GraphViz using simple YAML syntax.
  •    486 govips - A lightning fast image processing and resizing library for Go.
  •    442 govatar - Library and CMD tool for generating funny avatars.
  •    436 mort - Storage and image processing server written in Go.
  •    414 goimagehash - Go Perceptual image hashing package.
  •    333 go-nude - Nudity detection with Go.
  •    200 rez - Image resizing in pure Go and SIMD.
  •    164 darkroom - An image proxy with changeable storage backends and image processing engines with focus on speed and resiliency.
  •    139 mergi - Tool & Go library for image manipulation (Merge, Crop, Resize, Watermark, Animate).
  •    137 img - Selection of image manipulation tools.
  •    111 gltf - Efficient and robust glTF 2.0 reader, writer and validator.
  •    106 go-cairo - Go binding for the cairo graphics library.
  •    101 steganography - Pure Go Library for LSB steganography.
  •     69 cameron - An avatar generator for Go.
  •     52 go-gd - Go binding for GD library.
  •     42 gridder - A Grid based 2D Graphics library.
  •     36 goimghdr - The imghdr module determines the type of image contained in a file for Go.
  •     28 tga - Package tga is a TARGA image format decoder/encoder.
  •     25 go-webcolors - Port of webcolors library from Python to Go.
  •     16 webp-server - Simple and minimal image server capable of storing, resizing, converting and caching images.
  •      7 mpo - Decoder and conversion tool for MPO 3D Photos.

IoT (Internet of Things)

Libraries for programming devices of the IoT.

  •   7210 gobot - Gobot is a framework for robotics, physical computing, and the Internet of Things.
  •   1767 flogo - Project Flogo is an Open Source Framework for IoT Edge Apps & Integration.
  •   1450 mainflux - Industrial IoT Messaging and Device Management Server.
  •    979 gatt - Gatt is a Go package for building Bluetooth Low Energy peripherals.
  •    276 connectordb - Open-Source Platform for Quantified Self & IoT.
  •    241 devices - Suite of libraries for IoT devices, experimental for x/exp/io.
  •    203 sensorbee - Lightweight stream processing engine for IoT.
  •    183 huego - An extensive Philips Hue client library for Go.
  •     52 iot - IoT is a simple framework for implementing a Google IoT Core device.
  •     48 eywa - Project Eywa is essentially a connection manager that keeps track of connected devices.
  • periph - Peripherals I/O to interface with low-level board facilities.

Job Scheduler

Libraries for scheduling jobs.

  •    903 gocron - Easy and fluent Go job scheduling. This is an actively maintained fork of   2595 jasonlvhit/gocron.
  •    862 gron - Define time-based tasks using a simple Go API and Gron’s scheduler will run them accordingly.
  •    854 JobRunner - Smart and featureful cron job scheduler with job queuing and live monitoring built in.
  •    482 jobs - Persistent and flexible background jobs library.
  •    368 scheduler - Cronjobs scheduling made easy.
  •    202 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.
  •    144 go-quartz - Simple, zero-dependency scheduling library for Go.
  •    107 clockwerk - Go package to schedule periodic jobs using a simple, fluent syntax.
  •     82 leprechaun - Job scheduler that supports webhooks, crons and classic scheduling.
  •     45 tasks - An easy to use in-process scheduler for recurring tasks in Go.
  •     28 clockwork - Simple and intuitive job scheduling library in Go.
  •      1 cronticker - A ticker implementation to support cron schedules.

JSON

Libraries for working with JSON.

  •   8522 GJSON - Get a JSON value with one line of code.
  •   2371 gojson - Automatically generate Go (golang) struct definitions from example JSON.
  •   1254 fastjson - Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection.
  •    192 kazaam - API for arbitrary transformation of JSON documents.
  •    171 gojq - JSON query in Golang.
  •    118 jsondiff - JSON diff library for Go based on RFC6902 (JSON Patch).
  •    108 jettison - Fast and flexible JSON encoder for Go.
  •     96 jsongo - Fluent API to make it easier to create Json objects.
  •     95 gjo - Small utility to create JSON objects.
  •     85 JayDiff - JSON diff utility written in Go.
  •     83 json2go - Advanced JSON to Go struct conversion. Provides package that can parse multiple JSON documents and create struct to fit them all.
  •     61 ajson - Abstract JSON for golang with JSONPath support.
  •     61 jsonf - Console tool for highlighted formatting and struct query fetching JSON.
  •     45 ujson - Fast and minimal JSON parser and transformer that works on unstructured JSON.
  •     44 mp - Simple cli email parser. It currently takes stdin and outputs JSON.
  •     41 go-respond - Go package for handling common HTTP JSON responses.
  •     10 go-jsonerror - Go-JsonError is ment to allow us to easily create json response errors that follow the JsonApi spec.
  •      9 jsonapi-errors - Go bindings based on the JSON API errors reference.
  •      9 jsonhal - Simple Go package to make custom structs marshal into HAL compatible JSON responses.
  •      7 ej - Write and read JSON from different sources succinctly.
  •      7 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.
  •      6 dynjson - Client-customizable JSON formats for dynamic APIs.
  •      5 epoch - Contains primitives for marshaling/unmarshaling Unix timestamp/epoch to/from build-in time.Time type in JSON.
  •      4 jzon - JSON library with standard compatible API/behavior.
  •      4 mapslice-json - Go MapSlice for ordered marshal/ unmarshal of maps in JSON.
  •      2 jsonic - Utilities to handle and query JSON without defining structs in a type safe manner.
  • JSON-to-Proto - Convert JSON to Protobuf online.
  • JSON-to-Go - Convert JSON to Go struct.

Logging

Libraries for generating and working with log files.

  •  18110 logrus - Structured logger for Go.
  •  12926 zap - Fast, structured, leveled logging in Go.
  •   4849 zerolog - Zero-allocation JSON logger.
  •   4472 spew - Implements a deep pretty printer for Go data structures to aid in debugging.
  •   2738 glog - Leveled execution logs for Go.
  •   2604 lumberjack - Simple rolling logger, implements io.WriteCloser.
  •   2120 tail - Go package striving to emulate the features of the BSD tail program.
  •   1545 seelog - Logging functionality with flexible dispatching, filtering, and formatting.
  •   1143 log - Structured logging package for Go.
  •   1012 log15 - Simple, powerful logging for Go.
  •    394 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.
  •    378 phuslu/log - Structured Logging Made Easy.
  •    347 logxi - 12-factor app logger that is fast and makes you happy.
  •    293 logutils - Utilities for slightly better logging in Go (Golang) extending the standard logger.
  •    275 log - Simple, configurable and scalable Structured Logging for Go.
  •    263 go-logger - Simple logger of Go Programs, with level handlers.
  •    229 httpretty - Pretty-prints your regular HTTP requests on your terminal for debugging (similar to http.DumpRequest).
  •    183 sqldb-logger - A logger for Go SQL database driver without modify existing *sql.DB stdlib usage.
  •    176 rollingwriter - RollingWriter is an auto-rotate io.Writer implementation with multi policies to provide log file rotation.
  •    148 logger - Minimalistic logging library for Go.
  •    135 xlog - Structured logger for net/context aware HTTP handlers with flexible dispatching.
  •    127 logur - An opinionated logger interface and collection of logging best practices with adapters and integrations for well-known libraries ( 18110 logrus,  20491 go-kit log,  12926 zap,   4849 zerolog, etc).
  •    114 glg - glg is simple and fast leveled logging library for Go.
  •    114 ozzo-log - High performance logging supporting log severity, categorization, and filtering. Can send filtered log messages to various targets (e.g. console, network, mail).
  •     88 log-voyage - Full-featured logging saas written in golang.
  •     45 stdlog - Stdlog is an object-oriented library providing leveled logging. It is very useful for cron jobs.
  •     42 go-cronowriter - Simple writer that rotate log files automatically based on current date and time, like cronolog.
  •     39 gologger - Simple easy to use log lib for go, logs in Colored Console, Simple Console, File or Elasticsearch.
  •     37 logex - Golang log lib, supports tracking and level, wrap by standard log lib.
  •     37 go-log - Log4j implementation in Go.
  •     35 gone/log - Fast, extendable, full-featured, std-lib source compatible log library.
  •     28 go-log - Log lib supports level and multi handlers.
  •     26 journald - Go implementation of systemd Journal's native API for logging.
  •     26 logrusly -  18110 logrus plug-in to send errors to a Loggly.
  •     26 distillog - distilled levelled logging (think of it as stdlib + log levels).
  •     24 mlog - Simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output.
  •     24 log - Structured log interface for Go cleanly separates logging facade from its implementation.
  •     17 gomol - Multiple-output, structured logging for Go with extensible logging outputs.
  •     15 zkits-logger - A powerful zero-dependency JSON logger.
  •     14 glo - PHP Monolog inspired logging facility with identical severity levels.
  •     12 logrusiowriter - io.Writer implementation using  18110 logrus logger.
  •     11 go-log - Simple and configurable Logging in Go, with level, formatters and writers.
  •     10 logmatic - Colorized logger for Golang with dynamic log level configuration.
  •      9 logdump - Package for multi-level logging.
  •      9 logo - Golang logger to different configurable writers.
  •      8 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 go-log - A logging library with strack traces, object dumping and optional timestamps.
  •      6 xlog - Plugin architecture and flexible log system for Go, with level ctrl, multiple log target and custom log format.
  •      5 kemba - A tiny debug logging tool inspired by   9612 debug, great for CLI tools and applications.
  •      1 yell - Yet another minimalistic logging library.

Machine Learning

Libraries for Machine Learning.

  •   7881 GoLearn - General Machine Learning library for Go.
  •   4063 gorgonia - graph-based computational library like Theano for Go that provides primitives for building various machine learning and neural network algorithms.
  •   1740 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.
  •   1479 gosseract - Go package for OCR (Optical Character Recognition), by using Tesseract C++ library.
  •   1289 gorse - An offline recommender system backend based on collaborative filtering written in Go.
  •   1194 goml - On-line Machine Learning in Go.
  •    734 eaopt - An evolutionary optimization library.
  •    707 bayesian - Naive Bayesian Classification for Golang.
  •    686 CloudForest - Fast, flexible, multi-threaded ensembles of decision trees for machine learning in pure Go.
  •    480 gobrain - Neural Networks written in go.
  •    381 ocrserver - A simple OCR API server, seriously easy to be deployed by Docker and Heroku.
  •    333 onnx-go - Go Interface to Open Neural Network Exchange (ONNX).
  •    315 go-deep - A feature-rich neural network library in Go.
  •    290 regommend - Recommendation & collaborative filtering engine.
  •    185 go-galib - Genetic Algorithms library written in Go / golang.
  •    181 Goptuna - Bayesian optimization framework for black-box functions written in Go. Everything will be optimized.
  •    173 goRecommend - Recommendation Algorithms library written in Go.
  •    141 shield - Bayesian text classifier with flexible tokenizers and storage backends for Go.
  •    107 goga - Genetic algorithm library for Go.
  •    103 go-fann - Go bindings for Fast Artificial Neural Networks(FANN) library.
  •     67 libsvm - libsvm golang version derived work based on LIBSVM 3.14.
  •     66 gonet - Neural Network for Go.
  •     65 goscore - Go Scoring API for PMML.
  •     62 neural-go - Multilayer perceptron network implemented in Go, with training via backpropagation.
  •     58 go-pr - Pattern recognition package in Go lang.
  •     58 neat - Plug-and-play, parallel Go framework for NeuroEvolution of Augmenting Topologies (NEAT).
  •     56 go-featureprocessing - Fast and convenient feature processing for low latency machine leraning in Go.
  •     44 fonet - A Deep Neural Network library written in Go.
  •     41 golinear - liblinear bindings for Go.
  •     35 Varis - Golang Neural Network.
  •     28 godist - Various probability distributions, and associated methods.
  •     28 go-cluster - Go implementation of the k-modes and k-prototypes clustering algorithms.
  •     16 probab - Probability distribution functions. Bayesian inference. Written in pure Go.
  •     15 evoli - Genetic Algorithm and Particle Swarm Optimization library.
  •     12 ddt - Dynamic decision tree, create trees defining customizable rules.
  •     11 GoMind - A simplistic Neural Network Library in Go.
  •     10 randomforest - Easy to use Random Forest library for Go.

Messaging

Libraries that implement messaging systems.

  •   7364 sarama - Go library for Apache Kafka.
  •   5543 gorush - Push notification server using   2512 APNs2 and google    104 GCM.
  •   5355 machinery - Asynchronous task queue/job queue based on distributed message passing.
  •   5109 Centrifugo - Real-time messaging (Websockets or SockJS) server in Go.
  •   4139 go-socket.io - socket.io library for golang, a realtime application framework.
  •   3410 NATS Go Client - Lightweight and high performance publish-subscribe and distributed queueing messaging system - this is the Go library.
  •   3179 Benthos - A message streaming bridge between a range of protocols.
  •   2746 Confluent Kafka Golang Client - confluent-kafka-go is Confluent's Golang client for Apache Kafka and the Confluent Platform.
  •   2512 APNs2 - HTTP/2 Apple Push Notification provider for Go — Send push notifications to iOS, tvOS, Safari and OSX apps.
  •   2464 Mercure - Server and library to dispatch server-sent updates using the Mercure protocol (built on top of Server-Sent Events).
  •   2165 melody - Minimalist framework for dealing with websocket sessions, includes broadcasting and automatic ping/pong handling.
  •   1984 gopush-cluster - gopush-cluster is a go push server cluster.
  •   1927 go-nsq - the official Go package for NSQ.
  •   1313 Asynq - A simple, reliable, and efficient distributed task queue for Go built on top of Redis.
  •   1258 Uniqush-Push - Redis backed unified push service for server-side notifications to mobile devices.
  •   1107 Beaver - A real time messaging server to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps.
  •    938 EventBus - The lightweight event bus with async compatibility.
  •    917 zmq4 - Go interface to ZeroMQ version 4. Also available for    131 version 3 and     18 version 2.
  •    897 Gollum - A n:m multiplexer that gathers messages from different sources and broadcasts them to a set of destinations.
  •    592 dbus - Native Go bindings for D-Bus.
  •    557 golongpoll - HTTP longpoll server library that makes web pub-sub simple.
  •    414 mangos - Pure go implementation of the Nanomsg ("Scalability Protocols") with transport interoperability.
  •    406 emitter - Emits events using Go way, with wildcard, predicates, cancellation possibilities and many other good wins.
  •    377 Glue - Robust Go and Javascript Socket Library (Alternative to Socket.io).
  •    351 pubsub - Simple pubsub package for go.
  •    210 Bus - Minimalist message bus implementation for internal communication.
  •    184 rabtap - RabbitMQ swiss army knife cli app.
  •    180 messagebus - messagebus is a Go simple async message bus, perfect for using as event bus when doing event sourcing, CQRS, DDD.
  •    148 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.
  •    106 oplog - Generic oplog/replication system for REST APIs.
  •    104 hub - A Message/Event Hub for Go applications, using publish/subscribe pattern with support for alias like rabbitMQ exchanges.
  •     89 rabbus - A tiny wrapper over amqp exchanges and queues.
  •     75 drone-line - Sending Line notifications using a binary, docker or Drone CI.
  •     67 nsq-event-bus - A tiny wrapper around NSQ topic and channel.
  •     65 go-mq - RabbitMQ client with declarative configuration.
  •     62 RapidMQ - RapidMQ is a lightweight and reliable library for managing of the local messages queue.
  •     58 redisqueue - redisqueue provides a producer and consumer of a queue that uses Redis streams.
  •     55 Commander - A high-level event driven consumer/producer supporting various "dialects" such as Apache Kafka.
  •     53 go-notify - Native implementation of the freedesktop notification spec.
  •     49 go-res - Package for building REST/real-time services where clients are synchronized seamlessly, using NATS and Resgate.
  •     39 event - Implementation of the pattern observer.
  •     28 hare - A user friendly library for sending messages and listening to TCP sockets.
  •     20 ami - Go client to reliable queues based on Redis Cluster Streams.
  •     18 gosd - A library for scheduling when to dispatch a message to a channel.
  •     16 go-vitotrol - Client library to Viessmann Vitotrol web service.
  •     15 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.
  •     12 jazz - A simple RabbitMQ abstraction layer for queue administration and publishing and consuming of messages.
  •      9 gaurun-client - Gaurun Client written in Go.

Microsoft Office

  •   2889 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.

  •   8926 excelize - Golang library for reading and writing Microsoft Excel™ (XLSX) files.
  •   5021 xlsx - Library to simplify reading the XML format used by recent version of Microsoft Excel in Go programs.
  •    136 xlsx - Fast and safe way to read/update your existing Microsoft Excel files in Go programs.
  •    121 go-excel - A simple and light reader to read a relate-db-like excel as a table.
  •     15 goxlsxwriter - Golang bindings for libxlsxwriter for writing XLSX (Microsoft Excel) files.

Miscellaneous

Dependency Injection

Libraries for working with dependency injection.

  •   2060 fx - A dependency injection based application framework for Go (built on top of dig).
  •   1949 dig - A reflection based dependency injection toolkit for Go.
  •    203 container - A powerful IoC Container with fluent and easy-to-use interface.
  •    105 dingo - A dependency injection toolkit for Go, based on Guice.
  •     91 di - A dependency injection container for go programming language.
  •     82 goioc/di - Spring-inspired Dependency Injection Container.
  •     44 alice - Additive dependency injection container for Golang.
  •     32 linker - A reflection based dependency injection and inversion of control library with components lifecycle support.
  •     32 wire - Strict Runtime Dependency Injection for Golang.
  •     14 gocontainer - Simple Dependency Injection Container.
  •      5 kinit - Customizable dependency injection container with the global mode, cascade initialization and panic-safe finalization.
  •      4 nject/npoint - A type safe, reflective framework based on types for libraries, tests, and endpoints.

Project Layout

Unofficial set of patterns for structuring projects.

  •  24541 golang-standards/project-layout - Set of common historical and emerging project layout patterns in the Go ecosystem.
  •    949 modern-go-application - Go application boilerplate and example applying modern practices.
  •    457 cookiecutter-golang - A Go application boilerplate template for quick starting projects following production best practices.
  •    179 golang-templates/seed - Go application GitHub repository template.
  •     96 scaffold - Scaffold generates a starter Go project layout. Lets you focus on business logic implemented.
  •     86 go-sample - A sample layout for Go application projects with the real code.
  •     79 go-todo-backend - Go Todo Backend example using modular project layout for product microservice.
  •      9 gobase - A simple skeleton for golang application with basic setup for real golang application.
  •      9 insidieux/inizio - Golang project layout generator with plugins.
  •      4 wangyoucao577/go-project-layout - Set of practices and discussions on how to structure Go project layout.

Strings

Libraries for working with strings.

  •    901 xstrings - Collection of useful string functions ported from other languages.
  •    121 strutil - String utilities.
  •     67 gobeam/Stringy - String manipulation library to convert string to camel case, snake case, kebab case / slugify etc.
  • go-formatter - Implements replacement fields surrounded by curly braces {} format strings.

Uncategorized

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

  •   6457 gopsutil - Cross-platform library for retrieving process and system utilization(CPU, Memory, Disks, etc).
  •   3249 archiver - Library and command for making and extracting .zip and .tar.gz archives.
  •   1910 gofakeit - Random data generator written in go.
  •   1548 gatus - Automated service health dashboard.
  •   1337 gosms - Your own local SMS gateway in Go that can be used to send SMS.
  •   1205 go-resiliency - Resiliency patterns for golang.
  •   1125 base64Captcha - Base64captch supports digit, number, alphabet, arithmetic, audio and digit-alphabet captcha.
  •    963 go-commons-pool - Generic object pool for Golang.
  •    713 llvm - Library for interacting with LLVM IR in pure Go.
  •    680 shortid - Distributed generation of super short, unique, non-sequential, URL friendly IDs.
  •    424 health - Easy to use, extensible health check library.
  •    370 conv - Package conv provides fast and intuitive conversions across Go types.
  •    346 banner - Add beautiful banners into your Go applications.
  •    311 gountries - Package that exposes country and subdivision data.
  •    275 stateless - A fluent library for creating state machines.
  •    230 ffmt - Beautify data display for Humans.
  •    217 shoutrrr - Notification library providing easy access to various messaging services like slack, mattermost, gotify and smtp among others.
  •    208 lk - A simple licensing library for golang.
  •    207 antch - A fast, powerful and extensible web crawling & scraping framework.
  •    188 battery - Cross-platform, normalized battery information library.
  •    172 healthcheck - An opinionated and concurrent health-check HTTP handler for RESTful services.
  •    156 bitio - Highly optimized bit-level Reader and Writer for Go.
  •    152 stats - Monitors Go MemStats + System stats such as Memory, Swap and CPU and sends via UDP anywhere you want for logging etc...
  •    138 go-unarr - Decompression library for RAR, TAR, ZIP and 7z archives.
  •    122 turtle - Emojis for Go.
  •     95 gommit - Analyze git commit messages to ensure they follow defined patterns.
  •     90 gotoprom - Type-safe metrics builder wrapper library for the official Prometheus client.
  •     84 indigo - Distributed unique ID generator of using Sonyflake and encoded by Base58.
  •     78 captcha - Package captcha provides an easy to use, unopinionated API for captcha generation.
  •     68 morse - Library to convert to and from morse code.
  •     54 persian - Some utilities for Persian language in go.
  •     52 pdfgen - HTTP service to generate PDF from Json requests.
  •     51 xkg - X Keyboard Grabber.
  •     40 faker - Random fake data and struct generator for Go.
  •     37 browscap_go - GoLang Library for Browser Capabilities Project.
  •     36 datacounter - Go counters for readers/writer/http.ResponseWriter.
  •     35 autoflags - Go package to automatically define command line flags from struct fields.
  •     30 sandid - Every grain of sand on earth has its own ID.
  •     28 url-shortener - A modern, powerful, and robust URL shortener microservice with mysql support.
  •     25 xdg - FreeDesktop.org (xdg) Specs implemented in Go.
  •     25 gosh - Provide Go Statistics Handler, Struct, Measure Method.
  •     20 metrics - Library for metrics instrumentation and Prometheus exposition.
  •     15 shellwords - A Golang library to manipulate strings according to the word parsing rules of the UNIX Bourne shell.
  •     13 anagent - Minimalistic, pluggable Golang evloop/timer handler with dependency-injection.
  •     10 avgRating - Calculate average score and rating based on Wilson Score Equation.
  •      9 hostutils - A golang library for packing and unpacking FQDNs list.
  •      6 numa - NUMA is a utility library, which is written in go. It help us to write some NUMA-AWARED code.
  •      4 VarHandler - Generate boilerplate http input and output handling.
  • go-openapi - Collection of packages to parse and utilize open-api schemas.

Natural Language Processing

Libraries for working with human languages.

  •   2764 prose - Library for text processing that supports tokenization, part-of-speech tagging, named-entity extraction, and more. English only.
  •   1686 go-i18n - Package and an accompanying tool to work with localized text.
  •   1589 gse - Go efficient text segmentation; support english, chinese, japanese and other.
  •   1533 gojieba - This is a Go implementation of  26536 jieba which a Chinese word splitting algorithm.
  •   1119 when - Natural EN and RU language date/time parser with pluggable rules.
  •    971 go-pinyin - CN Hanzi to Hanyu Pinyin converter.
  •    931 spaGO - Self-contained Machine Learning and Natural Language Processing library in Go.
  •    571 kagome - JP morphological analyzer written in pure Go.
  •    497 whatlanggo - Natural language detection package for Go. Supports 84 languages and 24 scripts (writing systems e.g. Latin, Cyrillic, etc).
  •    369 nlp - Extract values from strings and fill your structs with nlp.
  •    330 nlp - Go Natural Language Processing library supporting LSA (Latent Semantic Analysis).
  •    302 sentences - Sentence tokenizer: converts text into a list of sentences.
  •    116 getlang - Fast natural language detection package.
  •     90 go-unidecode - ASCII transliterations of Unicode text.
  •     89 go-nlp - Utilities for working with discrete probability distributions and other tools useful for doing NLP work.
  •     82 RAKE.go - Go port of the Rapid Automatic Keyword Extraction Algorithm (RAKE).
  •     73 gounidecode - Unicode transliterator (also known as unidecode) for Go.
  •     65 textcat - Go package for n-gram based text categorization, with support for utf-8 and raw text.
  •     63 segment - Go library for performing Unicode Text Segmentation as described in Unicode Standard Annex #29
  •     61 go-stem - Implementation of the porter stemming algorithm.
  •     59 MMSEGO - This is a GO implementation of MMSEG which a Chinese word splitting algorithm.
  •     49 stemmer - Stemmer packages for Go programming language. Includes English and German stemmers.
  •     41 go2vec - Reader and utility functions for word2vec embeddings.
  •     40 porter2 - Really fast Porter 2 stemmer.
  •     34 petrovich - Petrovich is the library which inflects Russian names to given grammatical case.
  •     29 address - Handles address representation, validation and formatting.
  •     27 snowball - Snowball stemmer port (cgo wrapper) for Go. Provides word stem extraction functionality Snowball native.
  •     26 paicehusk - Golang implementation of the Paice/Husk Stemming Algorithm.
  •     25 go-localize - Simple and easy to use i18n (Internationalization and localization) engine - used for translating locale strings.
  •     25 go-mystem - CGo bindings to Yandex.Mystem - russian morphology analyzer.
  •     23 iuliia-go - Transliterate Cyrillic → Latin in every possible way.
  •     19 icu - Cgo binding for icu4c C library detection and conversion functions. Guaranteed compatibility with version 50.1.
  •     18 golibstemmer - Go bindings for the snowball libstemmer library including porter 2.
  •     15 govader - Go implementation of   3048 VADER Sentiment Analysis.
  •     12 transliterator - Provides one-way string transliteration with supporting of language-specific transliteration rules.
  •     12 shamoji - The shamoji is word filtering package written in Go.
  •     12 gotokenizer - A tokenizer based on the dictionary and Bigram language models for Golang. (Now only support chinese segmentation)
  •     10 detectlanguage - Language Detection API Go Client. Supports batch requests, short phrase or single word language detection.
  •     10 libtextcat - Cgo binding for libtextcat C library. Guaranteed compatibility with version 2.2.
  •      8 porter - This is a fairly straightforward port of Martin Porter's C implementation of the Porter stemming algorithm.
  •      7 gosentiwordnet - Sentiment analyzer using sentiwordnet lexicon in Go.

Networking

Libraries for working with various layers of the network.

  •  15449 fasthttp - Package fasthttp is a fast HTTP implementation for Go, up to 10 times faster than net/http.
  •  12490 kcptun - Extremely simple & fast udp tunnel based on KCP protocol.
  •   7373 webrtc - A pure Go implementation of the WebRTC API.
  •   5633 dns - Go library for working with DNS.
  •   5511 quic-go - An implementation of the QUIC protocol in pure Go.
  •   4763 gnet - gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go.
  •   4210 gopacket - Go library for packet processing with libpcap bindings.
  •   3701 HTTPLab - HTTPLabs let you inspect HTTP requests and forge responses.
  •   2998 kcp-go - KCP - Fast and Reliable ARQ Protocol.
  •   2235 gobgp - BGP implemented in the Go Programming Language.
  •   2058 ssh - Higher-level API for building SSH servers (wraps crypto/ssh).
  •   1949 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.
  •   1260 water - Simple TUN/TAP library.
  •   1190 go-getter - Go library for downloading files or directories from various sources using a URL.
  •   1162 gev - gev is a lightweight, fast non-blocking TCP network library based on Reactor mode.
  •   1065 NFF-Go - Framework for rapid development of performant network functions for cloud and bare-metal (former YANFF).
  •   1014 sftp - Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt.
  •    864 grab - Go package for managing file downloads.
  •    810 ftp - Package ftp implements a FTP client as described in RFC 959.
  •    777 mdns - Simple mDNS (Multicast DNS) client/server library in Golang.
  •    732 gosnmp - Native Go library for performing SNMP actions.
  •    718 vssh - Go library for building network and server automation over SSH protocol.
  •    624 lhttp - Powerful websocket framework, build your IM server more easily.
  •    618 cidranger - Fast IP to CIDR lookup for Go.
  •    492 peerdiscovery - Pure Go library for cross-platform local peer discovery using UDP multicast.
  •    483 gotcp - Go package for quickly writing tcp applications.
  •    466 stun - Go implementation of RFC 5389 STUN protocol.
  •    445 go-stun - Go implementation of the STUN client (RFC 3489 and RFC 5389).
  •    425 gopcap - Go wrapper for libpcap.
  •    397 raw - Package raw enables reading and writing data at the device driver level for a network interface.
  •    385 gmqtt - Gmqtt is a flexible, high-performance MQTT broker library that fully implements the MQTT protocol V3.1.1.
  •    381 tcp_server - Go library for building tcp servers faster.
  •    364 gaio - High performance async-io networking for Golang in proactor mode.
  •    314 winrm - Go WinRM client to remotely execute commands on Windows machines.
  •    256 arp - Package arp implements the ARP protocol, as described in RFC 826.
  •    251 ftpserverlib - Fully featured FTP server library.
  •    244 buffstreams - Streaming protocolbuffer data over TCP made easy.
  •    225 ethernet - Package ethernet implements marshaling and unmarshaling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags.
  •    183 gNxI - A collection of tools for Network Management that use the gNMI and gNOI protocols.
  •    171 nbio - High-performance, non-blocking, event-driven, easy-to-use, least-dependency networking framework written in Go.
  •    166 jazigo - Jazigo is a tool written in Go for retrieving configuration for multiple network devices.
  •    158 utp - Go uTP micro transport protocol implementation.
  •    144 canopus - CoAP Client/Server implementation (RFC 7252).
  •    130 sslb - It's a Super Simples Load Balancer, just a little project to achieve some kind of performance.
  •    119 xtcp - TCP Server Framework with simultaneous full duplex communication, graceful shutdown, and custom protocol.
  •     70 dhcp6 - Package dhcp6 implements a DHCPv6 server, as described in RFC 3315.
  •     69 ether - Cross-platform Go package for sending and receiving ethernet frames.
  •     56 packet - Send packets over TCP and UDP. It can buffer messages and hot-swap connections if needed.
  •     49 linkio - Network link speed simulation for Reader/Writer interfaces.
  •     45 portproxy - Simple TCP proxy which adds CORS support to API's which don't support it.
  •     45 iplib - Library for working with IP addresses (net.IP, net.IPNet), inspired by python ipaddress and ruby ipaddr
  •     36 go-powerdns - PowerDNS API bindings for Golang.
  •     26 graval - Experimental FTP server framework.
  •     23 publicip - Package publicip returns your public facing IPv4 address (internet egress).
  •     23 panoptes-stream - A cloud native distributed streaming network telemetry (gNMI, Juniper JTI and Cisco MDT).
  •     20 golibwireshark - Package golibwireshark use libwireshark library to decode pcap file and analyse dissection data.
  •     12 gohooks - GoHooks make it easy to send and consume secured web-hooks from a Go application. Inspired by Spatie's Laravel Webhook Client and Server.
  •     11 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.
  •     11 goshark - Package goshark use tshark to decode IP packet and create data struct to analyse packet.
  •      9 httpproxy - HTTP proxy handler and dialer.
  •      9 tspool - A TCP Library use worker pool to improve performance and protect your server.
  • mqttPaho - The Paho Go Client provides an MQTT client library for connection to MQTT brokers via TCP, TLS or WebSockets.

HTTP Clients

Libraries for making HTTP requests.

  •   4420 resty - Simple HTTP and REST client for Go inspired by Ruby rest-client.
  •   1963 heimdall - An enchanced http client with retry and hystrix capabilities.
  •   1796 grequests - A Go "clone" of the great and famous Requests library.
  •   1331 sling - Sling is a Go HTTP client library for creating and sending API requests.
  •    903 gentleman - Full-featured plugin-driven HTTP client library.
  •    554 pester - Go HTTP client calls with retries, backoff, and concurrency.
  •    125 request - HTTP client for golang. If you have experience about axios or requests, you will love it. No 3rd dependency.
  •     39 rq - A nicer interface for golang stdlib HTTP client.
  •     25 go-http-client - Make http calls simply and easily.
  •     14 httpretry - Enriches the default go HTTP client with retry functionality.

OpenGL

Libraries for using OpenGL in Go.

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

ORM

Libraries that implement Object-Relational Mapping or datamapping techniques.

  •  24268 GORM - The fantastic ORM library for Golang, aims to be developer friendly.
  •   7514 ent - An entity framework for Go. Simple, yet powerful ORM for modeling and querying data.
  •   4692 go-pg - PostgreSQL ORM with focus on PostgreSQL specific features and performance.
  •   4033 SQLBoiler - ORM generator. Generate a featureful and blazing-fast ORM tailored to your database schema.
  •   3500 gorp - Go Relational Persistence, ORM-ish library for Go.
  •   2599 upper.io/db - Single interface for interacting with different data sources through the use of adapters that wrap mature database drivers.
  •   1268 gormt - Mysql database to golang gorm struct.
  •   1147 reform - Better ORM for Go, based on non-empty interfaces and code generation.
  •   1077 pop/soda - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
  •    620 go-queryset - 100% type-safe ORM with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support based on GORM.
  •    595 go-sqlbuilder - A flexible and powerful SQL string builder library plus a zero-config ORM.
  •    367 rel - Modern Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API.
  •    276 Zoom - Blazing-fast datastore and querying engine built on Redis.
  •    190 beego orm - Powerful orm framework for go. Support: pq/mysql/sqlite3.
  •    150 grimoire - Grimoire is a database access layer and validation for golang. (Support: MySQL, PostgreSQL and SQLite3).
  •    142 go-sql - A easy ORM for mysql.
  •    102 go-store - Simple and fast Redis backed key-value store library for Go.
  •     24 go-firestorm - A simple ORM for Google/Firebase Cloud Firestore.
  •      7 lore - Simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go.
  •      6 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).

Package Management

Official tooling for dependency and package management

  • go modules - Modules are the unit of source code interchange and versioning. The go command has direct support for working with modules, including recording and resolving dependencies on other modules.

Official experimental tooling for package management

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

Unofficial libraries for package and dependency management.

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

Performance

  •  13720 jaeger - A distributed tracing system.
  •   1655 pixie - No instrumentation tracing for Golang applications via eBPF.
  •   1496 profile - Simple profiling support package for Go.
  •   1380 statsviz - Live visualization of your Go application runtime statistics.
  •     45 tracer - Simple, lightweight tracing.

Query Language

  •   7758 graphql-go - Implementation of GraphQL for Go.
  •   6196 gqlgen - go generate based graphql server library.
  •   3779 graphql - GraphQL server with a focus on ease of use.
  •   1694 gojsonq - A simple Go package to Query over JSON Data.
  •    933 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.
  •    245 jsonql - JSON query expression library in Golang.
  •    213 rql - Resource Query Language for REST API.
  •     53 graphql - graphql parser + utilities.
  •     52 jsonslice - Jsonpath queries with advanced filters.
  •     33 api-fu - Comprehensive GraphQL implementation.
  •     26 straf - Easily Convert Golang structs to GraphQL objects.
  •     22 rqp - Query Parser for REST API. Filtering, validations, both AND, OR operations are supported directly in the query.
  •      5 jsonpath - A query library for retrieving part of JSON based on JSONPath syntax.
  •      4 gws - Apollos' "GraphQL over Websocket" client and server implementation.

Resource Embedding

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

Science and Data Analysis

Libraries for scientific computing and data analyzing.

  •   4968 gonum - Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more.
  •   2009 stats - Statistics package with common functions missing from the Golang standard library.
  •   1919 gonum/plot - gonum/plot provides an API for building and drawing plots in Go.
  •   1587 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.
  •    737 go-dsp - Digital Signal Processing for Go.
  •    679 chart - Simple Chart Plotting library for Go. Supports many graphs types.
  •    641 goraph - Pure Go graph theory library(data structure, algorith visualization).
  •    558 dataframe-go - Dataframes for machine-learning and statistics (similar to pandas).
  •    455 graph - Library of basic graph algorithms.
  •    401 orb - 2D geometry types with clipping, GeoJSON and Mapbox Vector Tile support.
  •    335 ewma - Exponentially-weighted moving averages.
  •    263 calendarheatmap - Calendar heatmap in plain Go inspired by Github contribution activity.
  •    153 gohistogram - Approximate histograms for data streams.
  •    142 TextRank - TextRank implementation in Golang with extendable features (summarization, weighting, phrase extraction) and multithreading (goroutine) support.
  •    116 sparse - Go Sparse matrix formats for linear algebra supporting scientific and machine learning applications, compatible with gonum matrix libraries.
  •     76 go-estimate - State estimation and filtering algorithms in Go.
  •     70 pagerank - Weighted PageRank algorithm implemented in Go.
  •     47 geom - 2D geometry for golang.
  •     44 evaler - Simple floating point arithmetic expression evaluator.
  •     25 goent - GO Implementation of Entropy Measures.
  •     23 triangolatte - 2D triangulation library. Allows translating lines and polygons (both based on points) to the language of GPUs.
  •     22 decimal - Package decimal implements arbitrary-precision decimal floating-point arithmetic.
  •     18 piecewiselinear - Tiny linear interpolation library.
  •     16 godesim - Extended/multivariable ODE solver framework for event-based simulations with simple API.
  •     15 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.
  •     14 PiHex - Implementation of the "Bailey-Borwein-Plouffe" algorithm for the hexadecimal number Pi.
  •     13 ode - Ordinary differential equation (ODE) solver which supports extended states and channel-based iteration stop conditions.
  •      6 assocentity - Package assocentity returns the average distance from words to a given entity.
  •      5 rootfinding - root-finding algorithms library for finding roots of quadratic functions.
  •      5 go-gt - Graph theory algorithms written in "Go" language.
  •      4 bradleyterry - Provides a Bradley-Terry Model for pairwise comparisons.

Security

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

  •   4671 lego - Pure Go ACME client library and CLI tool (for use with Let's Encrypt).
  •   2597 Cameradar - Tool and library to remotely hack RTSP streams from surveillance cameras.
  •   1956 memguard - A pure Go library for handling sensitive values in memory.
  •   1853 acmetool - ACME (Let's Encrypt) client tool with automatic renewal.
  •   1764 secure - HTTP middleware for Go that facilitates some quick security wins.
  •   1304 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.
  •    769 acra - Network encryption proxy to protect database-based applications from data leaks: strong selective encryption, SQL injections prevention, intrusion detection system.
  •    507 nacl - Go implementation of the NaCL set of API's.
  •    306 firewalld-rest - A rest application to dynamically update firewalld rules on a linux server.
  •    297 BadActor - In-memory, application-driven jailer built in the spirit of fail2ban.
  •    290 ssh-vault - encrypt/decrypt using ssh keys.
  •    278 optimus-go - ID hashing and Obfuscation using Knuth's Algorithm.
  •    278 go-password-validator - Password validator based on raw cryptographic entropy values.
  •    242 passlib - Futureproof password hashing library.
  •    211 go-yara - Go Bindings for    120 YARA, the "pattern matching swiss knife for malware researchers (and everyone else)".
  •    171 simple-scrypt - Scrypt package with a simple, obvious API and automatic cost calibration built-in.
  •     86 argon2pw - Argon2 password hash generation with constant-time password comparison.
  •     42 goSecretBoxPassword - A probably paranoid package for securely hashing and encrypting passwords.
  •     20 certificates - An opinionated tool for generating tls certificates.
  •     19 go-generate-password - Password generator that can be used on the cli or as a library.
  •     16 secureio - An keyexchanging+authenticating+encrypting wrapper and multiplexer for io.ReadWriteCloser based on XChaCha20-poly1305, ECDH and ED25519.
  •     14 goArgonPass - Argon2 password hash and verification designed to be compatible with existing Python and PHP implementations.
  •     12 argon2-hashing - light wrapper around Go's argon2 package that closely mirrors with Go's standard library Bcrypt and simple-scrypt package.
  •     11 sslmgr - SSL certificates made easy with a high level wrapper around acme/autocert.
  • Interpol - Rule-based data generator for fuzzing and penetration testing.
  • autocert - Auto provision Let's Encrypt certificates and start a TLS server.

Serialization

Libraries and tools for binary serialization.

  •   9455 jsoniter - High-performance 100% compatible drop-in replacement of "encoding/json".
  •   7734