8000 GitHub - ksthiele/awesome-go: A curated list of awesome Go frameworks, libraries and software
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ksthiele/awesome-go

 
 

Repository files navigation

awesome-go Awesome Go

Build Status Awesome Slack Widget Netlify Status Track Awesome List

awesome-go - Curated list awesome Go frameworks, libraries and software | Product Hunt

Sponsorships

Digital Ocean

We have no monthly cost, but we have employees working hard to maintain the Awesome Go, with money raised we can repay the effort of each person involved! All billing and distribution will be open to the entire community.

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

Contributing

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

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

Contents

Audio and Music

Libraries for manipulating audio.

  • flac - Native Go FLAC encoder/decoder with support for FLAC streams.
  • gaad - Native Go AAC bitstream parser.
  • GoAudio - Native Go Audio Processing Library.
  • gosamplerate - libsamplerate bindings for go.
  • id3v2 - ID3 decoding and encoding library for Go.
  • malgo - Mini audio library.
  • minimp3 - Lightweight MP3 decoder library.
  • mix - Sequence-based Go-native audio mixer for music apps.
  • music-theory - Music theory models in Go.
  • Oto - A low-level library to play sound on multiple platforms.
  • PortAudio - Go bindings for the PortAudio audio I/O library.
  • portmidi - Go bindings for PortMidi.
  • vorbis - "Native" Go Vorbis decoder (uses CGO, but has no dependencies).

Authentication and OAuth

Libraries for implementing authentications schemes.

  • 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.
  • branca - Golang implementation of Branca Tokens.
  • casbin - Authorization library that supports access control models like ACL, RBAC, ABAC.
  • cookiestxt - provides parser of cookies.txt file format.
  • go-email-normalizer - Golang library for providing a canonical representation of email address.
  • go-guardian - Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication that supports LDAP, Basic, Bearer token and Certificate based authentication.
  • go-jose - Fairly complete implementation of the JOSE working group's JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs.
  • go-oauth2-server - Standalone, specification-compliant, OAuth2 server written in Golang.
  • gologin - chainable handlers for login with OAuth1 and OAuth2 authentication providers.
  • gorbac - provides a lightweight role-based access control (RBAC) implementation i 10000 n Golang.
  • goth - provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.
  • httpauth - HTTP Authentication middleware.
  • jeff - Simple, flexible, secure and idiomatic web session management with pluggable backends.
  • jwt - Clean and easy to use implementation of JSON Web Tokens (JWT).
  • jwt - Lightweight JSON Web Token (JWT) library.
  • jwt - Safe, simple and fast JSON Web Tokens for Go.
  • jwt-auth - JWT middleware for Golang http servers with many configuration options.
  • loginsrv - JWT login microservice with plugable backends such as OAuth2 (Github), htpasswd, osiam.
  • oauth2 - Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine and App Engine support.
  • osin - Golang OAuth2 server library.
  • otpgen - Library to generate TOTP/HOTP codes.
  • otpgo - Time-Based One-Time Password (TOTP) and HMAC-Based One-Time Password (HOTP) library for Go.
  • paseto - Golang implementation of Platform-Agnostic Security Tokens (PASETO).
  • permissions2 - Library for keeping track of users, login states and permissions. Uses secure cookies and bcrypt.
  • rbac - Minimalistic RBAC package for Go applications.
  • scope - Easily Manage OAuth2 Scopes In Go.
  • scs - Session Manager for HTTP servers.
  • securecookie - Efficient secure cookie encoding/decoding.
  • session - Go session management for web servers (including support for Google App Engine - GAE).
  • sessiongate-go - Go session management using the SessionGate Redis module.
  • sessions - Dead simple, highly performant, highly customizable sessions service for go http servers.
  • sessionup - Simple, yet effective HTTP session management and identification package.
  • sjwt - Simple jwt generator and parser.

Blockchain

Tools for building blockchains.

  • cosmos-sdk - A Framework for Building Public Blockchains in the Cosmos Ecosystem.
  • go-ethereum - Official Go implementation of the Ethereum protocol.
  • gossamer - A Go implementation of the Polkadot Host
  • tendermint - High-performance middleware for transforming a state machine written in any programming language into a Byzantine Fault Tolerant replicated state machine using the Tendermint consensus and blockchain protocols.

Bot Building

Libraries for building and working with bots.

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

Build Automation

Libraries and tools helping with build automation.

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

Command Line

Standard CLI

Libraries for building standard or basic Command Line applications.

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

Advanced Console UIs

Libraries for building Console Applications and Console User Interfaces.

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

Configuration

Libraries for configuration parsing.

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

Continuous Integration

Tools for help with continuous integration.

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

CSS Preprocessors

Libraries for preprocessing CSS files.

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

Data Structures

Generic datastructures and algorithms in Go.

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

Database

Databases implemented in Go.

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

Database schema migration.

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

Database tools.

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

SQL query builder, libraries for building and using SQL.

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

Database Drivers

Libraries for connecting and operating databases.

  • Relational Databases

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

    • aerospike-client-go - Aerospike client in Go language.
    • arangolite - Lightweight golang driver for ArangoDB.
    • asc - Datastore Connectivity for Aerospike for go.
    • forestdb - Go bindings for ForestDB.
    • go-couchbase - Couchbase client in Go.
    • go-pilosa - Go client library for Pilosa.
    • go-rejson - Golang client for redislabs' ReJSON module using Redigo golang client. Store and manipulate structs as JSON objects in redis with ease.
    • gocb - Official Couchbase Go SDK.
    • gocosmos - REST client and standard database/sql driver for Azure Cosmos DB.
    • gocql - Go language driver for Apache Cassandra.
    • godis - redis client implement by golang, inspired by jedis.
    • godscache - A wrapper for the Google Cloud Platform Go Datastore package that adds caching using memcached.
    • gomemcache - memcache client library for the Go programming language.
    • gorethink - Go language driver for RethinkDB.
    • goriak - Go language driver for Riak KV.
    • mgm - MongoDB model-based ODM for Go (based on official MongoDB driver).
    • 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.
    • mongo-go-driver - Official MongoDB driver for the Go language.
    • neo4j - Neo4j Rest API Bindings for Golang.
    • Neo4j-GO - Neo4j REST Client in golang.
    • neoism - Neo4j client for Golang.
    • qmgo - The MongoDB driver for Go. It‘s based on official MongoDB driver but easier to use like Mgo.
    • redeo - Redis-protocol compatible TCP servers/services.
    • redigo - Redigo is a Go client for the Redis database.
    • redis - Redis client for Golang.
    • xredis - Typesafe, customizable, clean & easy to use Redis client.
  • Search and Analytic Databases.

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

    • cachego - Golang Cache component for multiple drivers.
    • cayley - Graph database with support for multiple backends.
    • dsc - Datastore connectivity for SQL, NoSQL, structured files.
    • 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).

Date and Time

Libraries for working with dates and times.

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

Distributed Systems

Packages that help with building Distributed Systems.

  • arpc - More effective network communication, support two-way-calling, notify, broadcast.
  • celeriac - Library for adding support for interacting and monitoring Celery workers, tasks and events in Go.
  • consistent - Consistent hashing with bounded loads.
  • consistenthash - Consistent hashing with configurable replicas.
  • dht - BitTorrent Kademlia DHT implementation.
  • digota - grpc ecommerce microservice.
  • dot - distributed sync using operational transformation/OT.
  • doublejump - A revamped Google's jump consistent hash.
  • dragonboat - A feature complete and high performance multi-group Raft library in Go.
  • drmaa - Job submission library for cluster schedulers based on the DRMAA standard.
  • dynamolock - DynamoDB-backed distributed locking implementation.
  • dynatomic - A library for using DynamoDB as an atomic counter.
  • emitter-io - High performance, distributed, secure and low latency publish-subscribe platform built with MQTT, Websockets and love.
  • failured - adaptive accrual failure detector for distributed systems.
  • flowgraph - flow-based programming package.
  • gleam - Fast and scalable distributed map/reduce system written in pure Go and Luajit, combining Go's high concurrency with Luajit's high performance, runs standalone or distributed.
  • glow - Easy-to-Use scalable distributed big data processing, Map-Reduce, DAG execution, all in pure Go.
  • gmsec - A Go distributed systems development framework.
  • go-health - Library for enabling asynchronous dependency health checks in your service.
  • go-jump - Port of Google's "Jump" Consistent Hash function.
  • go-kit - Microservice toolkit with support for service discovery, load balancing, pluggable transports, request tracking, etc.
  • go-micro - A distributed systems development framework.
  • go-mysql-lock - MySQL based distributed lock.
  • go-pdu - A decentralized identity-based social network.
  • go-sundheit - A library built to provide support for defining async service health checks for golang services.
  • go-zero - A web and rpc framework. It's born to ensure the stability of the busy sites with resilient design. Builtin goctl greatly improves the development productivity.
  • gorpc - Simple, fast and scalable RPC library for high load.
  • grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC.
  • hprose - Very newbility RPC Library, support 25+ languages now.
  • jsonrpc - The jsonrpc package helps implement of JSON-RPC 2.0.
  • jsonrpc - JSON-RPC 2.0 HTTP client implementation.
  • KrakenD - Ultra performant API Gateway framework with middlewares.
  • liftbridge - Lightweight, fault-tolerant message streams for NATS.
  • micro - A distributed systems runtime for the cloud and beyond.
  • NATS - Lightweight, high performance messaging system for microservices, IoT, and cloud native systems.
  • outboxer - Outboxer is a go library that implements the outbox pattern.
  • pglock - PostgreSQL-backed distributed locking implementation.
  • pjrpc - Golang JSON-RPC Server-Client with Protobuf spec.
  • raft - Golang implementation of the Raft consensus protocol, by HashiCorp.
  • raft - Go implementation of the Raft consensus protocol, by CoreOS.
  • rain - BitTorrent client and library.
  • redis-lock - Simplified distributed locking implementation using Redis.
  • resgate - Realtime API Gateway for building REST, real time, and RPC APIs, where all clients are synchronized seamlessly.
  • ringpop-go - Scalable, fault-tolerant application-layer sharding for Go applications.
  • rpcx - Distributed pluggable RPC service framework like alibaba Dubbo.
  • Semaphore - A straightforward (micro) service orchestrator.
  • sleuth - Library for master-less p2p auto-discovery and RPC between HTTP services (using ZeroMQ).
  • torrent - BitTorrent client package.

Dynamic DNS

Tools for updating dynamic DNS records.

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

Email

Libraries and tools that implement email creation and sending.

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

Embeddable Scripting Languages

Embedding other languages inside your go code.

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

Error Handling

Libraries for handling errors.

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

File Handling

Libraries for handling files and file systems.

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

Financial

Packages for accounting and finance.

  • accounting - money and currency formatting for golang.
  • ach - A reader, writer, and valdiator for Automated Clearing House (ACH) files.
  • currency - Handles currency amounts, provides currency information and formatting.
  • currency - High performant & accurate currency computation package.
  • decimal - Arbitrary-precision fixed-point decimal numbers.
  • fastme - Fast extensible matching engine Go implementation.
  • go-finance - Comprehensive financial markets data in Go.
  • go-finance - Library of financial functions for time value of money (annuities), cash flow, interest rate conversions, bonds and depreciation calculations.
  • go-finance - Module to fetch exchange rates, check VAT numbers via VIES and check IBAN bank account numbers.
  • go-finnhub - Client for stock market, forex and crypto data from finnhub.io. Access real-time financial market data from 60+ stock exchanges, 10 forex brokers, and 15+ crypto exchanges.
  • go-money - Implementation of Fowler's Money pattern.
  • ofxgo - Query OFX servers and/or parse the responses (with example command-line client).
  • orderbook - Matching Engine for Limit Order Book in Golang.
  • payme - QR code generator (ASCII & PNG) for SEPA payments.
  • sleet - One unified interface for multiple Payment Service Providers (PsP) to process online payment.
  • techan - Technical analysis library with advanced market analysis and trading strategies.
  • ticker - Terminal stock watcher and stock position tracker.
  • transaction - Embedded transactional database of accounts, running in multithreaded mode.
  • vat - VAT number validation & EU VAT rates.

Forms

Libraries for working with forms.

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

Functional

Packages to support functional programming in Go.

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

Game Development

Awesome game development libraries.

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

Generation and Generics

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

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

Geographic

Geographic tools and servers

  • geoserver - geoserver Is a Go Package For Manipulating a GeoServer Instance via the GeoServer REST API.
  • gismanager - Publish Your GIS Data(Vector Data) to PostGIS and Geoserver.
  • mbtileserver - A simple Go-based server for map tiles stored in mbtiles format.
  • osm - Library for reading, writing and working with OpenStreetMap data and APIs.
  • pbf - OpenStreetMap PBF golang encoder/decoder.
  • S2 geojson - Convert geojson to s2 cells & demonstrating some S2 geometry features on map.
  • S2 geometry - S2 geometry library in Go.
  • simplefeatures - simplesfeatures is a 2D geometry library that provides Go types that model geometries, as well as algorithms that operate on them.
  • Tile38 - Geolocation DB with spatial index and realtime geofencing.
  • WGS84 - Library for Coordinate Conversion and Transformation (ETRS89, OSGB36, NAD83, RGF93, Web Mercator, UTM).

Go Compilers

Tools for compiling Go to other languages.

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

Goroutines

Tools for managing and working with Goroutines.

  • ants - A high-performance and low-cost goroutine pool in Go.
  • artifex - Simple in-memory job queue for Golang using worker-based dispatching.
  • async - An alternative sync library for Go (Future, Promise, Locks).
  • async - A safe way to execute functions asynchronously, recovering them in case of panic.
  • breaker - Flexible mechanism to make execution flow interruptible.
  • channelify - Transform your function to return channels for easy and powerful parallel processing.
  • concurrency-limiter - Concurrency limiter with support for timeouts , dynamic priority and context cancellation of goroutines.
  • conexec - A concurrent toolkit to help execute funcs concurrently in an efficient and safe way. It supports specifying the overall timeout to avoid blocking and uses goroutine pool to improve efficiency.
  • cyclicbarrier - CyclicBarrier for golang.
  • execpool - A pool built around exec.Cmd that spins up a given number of processes in advance and attaches stdin and stdout to them when needed. Very similar to FastCGI or Apache Prefork MPM but works for any command.
  • go-floc - Orchestrate goroutines with ease.
  • go-flow - Control goroutines execution order.
  • go-tools/multithreading - Manage a pool of goroutines using this lightweight library with a simple API.
  • go-trylock - TryLock support on read-write lock for Golang.
  • go-waitgroup - Like sync.WaitGroup with error handling and concurrency control.
  • go-workers - Easily and safely run workers for large data processing pipelines.
  • goccm - Go Concurrency Manager package limits the number of goroutines that allowed to run concurrently.
  • gohive - A highly performant and easy to use Goroutine pool for Go.
  • gollback - asynchronous simple function utilities, for managing execution of closures and callbacks.
  • gowl - Gowl is a process management and process monitoring tool at once. An infinite worker pool gives you the ability to control the pool and processes and monitor their status.
  • goworker - goworker is a Go-based background worker.
  • gowp - gowp is concurrency limiting goroutine pool.
  • gpool - manages a resizeable pool of context-aware goroutines to bound concurrency.
  • grpool - Lightweight Goroutine pool.
  • hands - A process controller used to control the execution and return strategies of multiple goroutines.
  • Hunch - Hunch provides functions like: All, First, Retry, Waterfall etc., that makes asynchronous flow control more intuitive.
  • kyoo - Provides an unlimited job queue and concurrent worker pools.
  • neilotoole/errgroup - Drop-in alternative to sync/errgroup, limited to a pool of N worker goroutines.
  • nursery - Structured concurrency in Go.
  • oversight - Oversight is a complete implementation of the Erlang supervision trees.
  • parallel-fn - Run functions in parallel.
  • pond - Minimalistic and High-performance goroutine worker pool written in Go.
  • pool - Limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation.
  • queue - Gives you a sync.WaitGroup like queue group accessibility. Helps you to throttle and limit goroutines, wait for the end of the all goroutines and much more.
  • routine - go routine control with context, support: Main, Go, Pool and some useful Executors.
  • semaphore - Semaphore pattern implementation with timeout of lock/unlock operations based on channel and context.
  • semaphore - Fast resizable semaphore implementation based on CAS (faster than channel-based semaphore implementations).
  • stl - Software transactional locks based on Software Transactional Memory (STM) concurrency control mechanism.
  • threadpool - Golang threadpool implementation.
  • tunny - Goroutine pool for golang.
  • worker-pool - goworker is a Go simple async worker pool.
  • workerpool - Goroutine pool that limits the concurrency of task execution, not the number of tasks queued.

GUI

Libraries for building GUI Applications.

Toolkits

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

Interaction

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

Hardware

Libraries, tools, and tutorials for interacting with hardware.

See go-hardware for a comprehensive list.

Images

Libraries for manipulating images.

  • bild - Collection of image processing algorithms in pure Go.
  • bimg - Small package for fast and efficient image processing using libvips.
  • cameron - An avatar generator for Go.
  • canvas - Vector graphics to PDF, SVG or rasterized image.
  • darkroom - An image proxy with changeable storage backends and image processing engines with focus on speed and resiliency.
  • draft - Generate High Level Microservice Architecture diagrams for GraphViz using simple YAML syntax.
  • geopattern - Create beautiful generative image patterns from a string.
  • gg - 2D rendering in pure Go.
  • gift - Package of image processing filters.
  • gltf - Efficient and robust glTF 2.0 reader, writer and validator.
  • go-cairo - Go binding for the cairo graphics library.
  • go-gd - Go binding for GD library.
  • go-nude - Nudity detection with Go.
  • go-opencv - Go bindings for OpenCV.
  • go-webcolors - Port of webcolors library from Python to Go.
  • go-webp - Library for encode and decode webp pictures, using libwebp.
  • gocv - Go package for computer vision using OpenCV 3.3+.
  • goimagehash - Go Perceptual image hashing package.
  • goimghdr - The imghdr module determines the type of image contained in a file for Go.
  • govatar - Library and CMD tool for generating funny avatars.
  • govips - A lightning fast image processing and resizing library for Go.
  • gridder - A Grid based 2D Graphics library.
  • image2ascii - Convert image to ASCII.
  • imagick - Go binding to ImageMagick's MagickWand C API.
  • imaginary - Fast and simple HTTP microservice for image resizing.
  • imaging - Simple Go image processing package.
  • img - Selection of image manipulation tools.
  • ln - 3D line art rendering in Go.
  • mergi - Tool & Go library for image manipulation (Merge, Crop, Resize, Watermark, Animate).
  • mort - Storage and image processing server written in Go.
  • mpo - Decoder and conversion tool for MPO 3D Photos.
  • picfit - An image resizing server written in Go.
  • pt - Path tracing engine written in Go.
  • resize - Image resizing for Go with common interpolation methods.
  • rez - Image resizing in pure Go and SIMD.
  • scout - Scout is a standalone open source software solution for DIY video security.
  • smartcrop - Finds good crops for arbitrary images and crop sizes.
  • steganography - Pure Go Library for LSB steganography.
  • stegify - Go tool for LSB steganography, capable of hiding any file within an image.
  • svgo - Go Language Library for SVG generation.
  • tga - Packag 629A e tga is a TARGA image format decoder/encoder.
  • webp-server - Simple and minimal image server capable of storing, resizing, converting and caching images.

IoT (Internet of Things)

Libraries for programming devices of the IoT.

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

Job Scheduler

Libraries for scheduling jobs.

  • clockwerk - Go package to schedule periodic jobs using a simple, fluent syntax.
  • cronticker - A ticker implementation to support cron schedules.
  • go-cron - Simple Cron library for go that can execute closures or functions at varying intervals, from once a second to once a year on a specific date and time. Primarily for web applications and long running daemons.
  • go-quartz - Simple, zero-dependency scheduling library for Go.
  • gocron - Easy and fluent Go job scheduling. This is an actively maintained fork of jasonlvhit/gocron.
  • gron - Define time-based tasks using a simple Go API and Gron’s scheduler will run them accordingly.
  • JobRunner - Smart and featureful cron job scheduler with job queuing and live monitoring built in.
  • jobs - Persistent and flexible background jobs library.
  • leprechaun - Job scheduler that supports webhooks, crons and classic scheduling.
  • sched - A job scheduler with the ability to fast-forward time.
  • scheduler - Cronjobs scheduling made easy.
  • tasks - An easy to use in-process scheduler for recurring tasks in Go.

JSON

Libraries for working with JSON.

  • ajson - Abstract JSON for golang with JSONPath support.
  • ask - Easy access to nested values in maps and slices. Works in combination with encoding/json and other packages that "Unmarshal" arbitrary data into Go data-types.
  • dynjson - Client-customizable JSON formats for dynamic APIs.
  • ej - Write and read JSON from different sources succinctly.
  • epoch - Contains primitives for marshaling/unmarshaling Unix timestamp/epoch to/from build-in time.Time type in JSON.
  • fastjson - Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection.
  • gjo - Small utility to create JSON objects.
  • GJSON - Get a JSON value with one line of code.
  • go-jsonerror - Go-JsonError is ment to allow us to easily create json response errors that follow the JsonApi spec.
  • go-respond - Go package for handling common HTTP JSON responses.
  • gojq - JSON query in Golang.
  • gojson - Automatically generate Go (golang) struct definitions from example JSON.
  • JayDiff - JSON diff utility written in Go.
  • jettison - Fast and flexible JSON encoder for Go.
  • JSON-to-Go - Convert JSON to Go struct.
  • JSON-to-Proto - Convert JSON to Protobuf online.
  • json2go - Advanced JSON to Go struct conversion. Provides package that can parse multiple JSON documents and create struct to fit them all.
  • jsonapi-errors - Go bindings based on the JSON API errors reference.
  • jsondiff - JSON diff library for Go based on RFC6902 (JSON Patch).
  • jsonf - Console tool for highlighted formatting and struct query fetching JSON.
  • jsongo - Fluent API to make it easier to create Json objects.
  • jsonhal - Simple Go package to make custom structs marshal into HAL compatible JSON responses.
  • jsonic - Utilities to handle and query JSON without defining structs in a type safe manner.
  • jzon - JSON library with standard compatible API/behavior.
  • kazaam - API for arbitrary transformation of JSON documents.
  • mapslice-json - Go MapSlice for ordered marshal/ unmarshal of maps in JSON.
  • mp - Simple cli email parser. It currently takes stdin and outputs JSON.
  • OjG - Optimized JSON for Go is a high performance parser with a variety of additional JSON tools including JSONPath.
  • omg.jsonparser - Simple JSON parser with validation by condition via golang struct fields tags.
  • ujson - Fast and minimal JSON parser and transformer that works on unstructured JSON.
  • vjson - Go package for validating JSON objects with declaring a JSON schema with fluent API.

Logging

Libraries for generating and working with log files.

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

Machine Learning

Libraries for Machine Learning.

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

Messaging