awesome-go 0,10,58,39,0,21,0,26

A curated list of awesome Go frameworks, libraries and software

Awesome Go Build Status Awesome Join the chat at

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


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!



Libraries for manipulating audio.

  • flac - A native Go FLAC decoder.
  • flac - A native Go FLAC decoder.
  • gaad - A native Go AAC bitstream parser
  • go-sox - libsox bindings for go.
  • go_mediainfo - libmediainfo bindings for go.
  • gosamplerate - libsamplerate bindings for go.
  • id3v2 - Fast and stable ID3 parsing and writing library for Go
  • mix - Sequence-based Go-native audio mixer for music apps.
  • mp3 - A native Go MP3 decoder.
  • music-theory - Music theory models in Go.
  • PortAudio - Go bindings for the PortAudio audio I/O library.
  • portmidi - Go bindings for PortMidi.
  • taglib - Go bindings for taglib.
  • vorbis - A “native” Go Vorbis decoder (uses CGO, but has no dependencies).
  • waveform - Go package capable of generating waveform images from audio streams.

Authentication & OAuth

Libraries for implementing authentications schemes.

  • authboss - A 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.
  • casbin - An authorization library that supports access control models like ACL, RBAC, ABAC.
  • Go-AWS-Auth - AWS (Amazon Web Services) request signing library.
  • go-jose - A fairly complete implementation of the JOSE working group’s JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs.
  • go-oauth2-server - A standalone, specification-compliant, OAuth2 server written in Golang.
  • go.auth - Authentication API for Go web applications.
  • gologin - chainable handlers for login with OAuth1 and OAuth2 authentication providers.
  • gorbac - provides a lightweight role-based access control (RBAC) implementation in Golang.
  • goth - provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple provides out of the box.
  • httpauth - HTTP Authentication middleware.
  • jwt - A clean and easy to use implementation of JSON Web Tokens (JWT).
  • jwt-auth - JWT middleware for goLang http servers with many configuration options.
  • jwt-go - Golang implementation of JSON Web Tokens (JWT).
  • 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.
  • permissions2 - Library for keeping track of users, login states and permissions. Uses secure cookies and bcrypt.
  • session - Go session management for web servers (including support for Google App Engine - GAE).
  • sessions - A dead simple, highly performant, highly customizable sessions service for go http servers.
  • traefik - A reverse proxy and load balancer with support for multiple backends.
  • yubigo - a Yubikey client package that provides a simple API to integrate the Yubico Yubikey into a go application.

Command Line

Standard CLI

Libraries for building standard or basic Command Line applications

  • argv - A Go library to split command line string as arguments array using the bash syntax.
  • cli - A feature-rich and easy to use command-line package based on golang tag
  • cli-init - The easy way to start building Golang command line application.
  • climax - An alternative CLI with “human face”, in spirit of Go command
  • cobra - A Commander for modern Go CLI interactions
  • complete - Write bash completions in Go + Go command bash completion.
  • docopt.go - A command-line arguments parser that will make you smile.
  • drive - Google Drive client for the commandline
  • flag - A simple but powerful command line option parsing library for Go support subcommand
  • go-arg - Struct-based argument parsing in Go
  • go-flags - go command line option parser
  • kingpin - A command line and flag parser supporting sub commands.
  • liner - A Go readline-like library for command-line interfaces.
  • mitchellh/cli - A Go library for implementing command-line interfaces.
  • mow.cli - A Go library for building CLI applications with sophisticated flag and argument parsing and validation.
  • pflag - Drop-in replacement for Go’s flag package, implementing POSIX/GNU-style –flags.
  • readline - A pure golang implementation that provide most of features in GNU-Readline under MIT license.
  • sflags - Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin and other libraries.
  • ukautz/clif - A small command line interface framework.
  • urfave/cli - A simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).
  • wlog - A simple logging interface that supports cross-platform color and concurrency.
  • wmenu - An 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

  • aurora - ANSI terminal colors that supports fmt.Printf/Sprintf
  • chalk - Intuitive package for prettifying terminal/console output.
  • color - Versatile package for colored terminal output.
  • colourize - Go library for ANSI colour text in terminals.
  • go-colorable - Colorable writer for windows.
  • go-colortext - Go library for color output in terminals.
  • go-isatty - isatty for golang.
  • gocui - Minimalist Go library aimed at creating Console User Interfaces.
  • gommon/color - Style terminal text.
  • termbox-go - Termbox is a library for creating cross-platform text-based interfaces.
  • termtables - A Go port of the Ruby library terminal-tables for simple ASCII table generation as well as providing markdown and HTML output
  • termui - Go terminal dashboard based on termbox-go and inspired by blessed-contrib.
  • uilive - A library for updating terminal output in realtime.
  • uiprogress - A flexible library to render progress bars in terminal applications.
  • uitable - A library to improve readability in terminal apps using tabular data.


Libraries for configuration parsing

  • config - JSON or YAML configuration wrapper with environment variables and flags parsing.
  • configure - Provides configuration through multiple sources, including JSON, flags and environment variables.
  • 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.
  • gcfg - read INI-style configuration files into Go structs; supports user-defined types and subsections
  • goConfig - Parse a struct as input and populates the fields of this struct with parameters fom command line, environment variables and configuration file.
  • gofigure - Go application configuration made easy
  • hjson - Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.
  • ingo - Flags persisted in an ini-like config file
  • ini - Go package for read and write INI files
  • joshbetz/config - A small configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP.
  • mini - A golang package for parsing ini-style configuration files
  • store - A lightweight configuration manager for Go
  • viper - Go configuration with fangs

Continuous Integration

Tools for help with continuous integration

  • drone - Drone is a Continuous Integration platform built on Docker, written in Go
  • goveralls - Go integration for continuous code coverage tracking system.
  • overalls - Multi-Package go project coverprofile for tools like goveralls

CSS Preprocessors

Libraries for preprocessing CSS files

  • c6 - High performance SASS compatible-implementation compiler written in Go
  • gcss - Pure Go CSS Preprocessor.
  • go-libsass - Go wrapper to the 100% Sass compatible libsass project.

Data Structures

Generic datastructures and algorithms in Go.

  • binpacker - Binary packer and unpacker helps user build custom binary stream.
  • bit - Golang set data structure with bonus bit-twiddling functions.
  • bitset - Go package implementing bitsets.
  • bloom - Bloom filters implemented in Go.
  • bloom - Golang Bloom filter implementation.
  • boomfilters - Probabilistic data structures for processing continuous, unbounded streams
  • count-min-log - A Go implementation Count-Min-Log sketch: Approximately counting with approximate counters (Like Count-Min sketch but using less memory).
  • cuckoofilter - Cuckoo filter: a good alternative to a counting bloom filter implemented in Go.
  • encoding - Integer Compression Libraries for Go.
  • go-adaptive-radix-tree - A Go implementation of Adaptive Radix Tree.
  • go-datastructures - A collection of useful, performant, and thread-safe data structures
  • go-geoindex - In-memory geo index.
  • go-rquad - Region quadtrees with efficient point location and neighbour finding.
  • gods - Go Data Structures. Containers, Sets, Lists, Stacks, Maps, BidiMaps, Trees, HashSet etc.
  • golang-set - Thread-Safe and Non-Thread-Safe high-performance sets for Go.
  • goskiplist - A skip list implementation in Go.
  • gota - An implementation of dataframes, series, and data wrangling methods for Go.
  • hilbert - Go package for mapping values to and from space-filling curves, such as Hilbert and Peano curves.
  • 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.
  • mafsa - MA-FSA implementation with Minimal Perfect Hashing
  • roaring - Go package implementing compressed bitsets.
  • skiplist - Skiplist implementation in Go
  • trie - Trie implementation in Go
  • ttlcache - An in-memory LRU string-interface{} map with expiration for golang
  • willf/bloom - Go package implementing Bloom filters.


Databases implemented in Go.

  • BigCache - Efficient key/value cache for gigabytes of data.
  • bolt - A low-level key/value database for Go.
  • buntdb - A fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support.
  • cache2go - An in-memory key:value cache which supports automatic invalidation based on timeouts.
  • cockroach - A Scalable, Geo-Replicated, Transactional Datastore
  • couchcache - A RESTful caching micro-service backed by Couchbase server.
  • dgraph - Scalable, Distributed, Low Latency, High Throughput Graph Database.
  • diskv - A home-grown disk-backed key-value store.
  • eliasdb - Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.
  • forestdb - Go bindings for ForestDB.
  • GCache - Cache library with support for expirable Cache, LFU, LRU and ARC.
  • geocache - An in-memory cache that is suitable for geolocation based applications.
  • go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
  • goleveldb - An implementation of the LevelDB key/value database in the Go.
  • groupcache - Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
  • influxdb - Scalable datastore for metrics, events, and real-time analytics
  • 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.
  • piladb - Lightweight RESTful database engine based on stack data structures.
  • pREST - Serve a RESTful API from any PostgreSQL database.
  • prometheus - Monitoring system and time series database.
  • rqlite - The lightweight, distributed, relational database built on SQLite.
  • Scribble - A tiny flat file JSON store.
  • 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.
  • Tile38 - A geolocation DB with spatial index and realtime geofencing.

Database schema migration.

  • darwin - Database schema evolution library for Go
  • 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.
  • pravasan - Simple Migration tool - currently for MySQL but planning to support soon for Postgres, SQLite, MongoDB, etc.,
  • soda - Database migration, creation, ORM, etc… for MySQL, PostgreSQL, and SQLite.
  • sql-migrate - Database migration tool. Allows embedding migrations into the application using go-bindata.

Database tools.

  • go-mysql - A 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. Support statement and row based replication.
  • orchestrator - MySQL replication topology manager & visualizer
  • pgweb - A web-based PostgreSQL database browser
  • 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.

  • dat - Go Postgres Data Access Toolkit
  • Dotsql - Go library that helps you keep sql files in one place and use it with ease.
  • goqu - An idiomatic SQL builder and query library.
  • igor - Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax.
  • ozzo-dbx - Powerful data retrieval methods as well as DB-agnostic query building capabilities.
  • scaneo - Generate Go code to convert database rows into arbitrary structs.
  • sqrl - SQL query builder, fork of Squirrel with improved performance.
  • 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

    • bgc - Datastore Connectivity for BigQuery for go.
    • firebirdsql - Firebird RDBMS SQL driver for Go
    • go-adodb - Microsoft ActiveX Object DataBase driver for go that using database/sql.
    • go-bqstreamer - BigQuery fast and concurrent stream insert.
    • go-mssqldb - Microsoft MSSQL driver prototype in go language.
    • go-oci8 - Oracle driver for go that using database/sql.
    • go-sql-driver/mysql - MySQL driver for Go.
    • go-sqlite3 - SQLite3 driver for go that using database/sql.
    • gofreetds Microsoft MSSQL driver. Go wrapper over FreeTDS.
    • pgx - PostgreSQL driver supporting features beyond those exposed by database/sql.
    • pq - Pure Go Postgres driver for database/sql.
  • NoSQL Databases

    • aerospike-client-go - Aerospike client in Go language.
    • arangolite - Lightweight golang driver for ArangoDB.
    • asc - Datastore Connectivity for Aerospike for go.
    • cayley - A graph database with support for multiple backends.
    • dsc - Datastore connectivity for SQL, NoSQL, structured files.
    • dynago - Dynago is a principle of least surprise client for DynamoDB
    • go-couchbase - Couchbase client in Go
    • go-couchdb - Yet another CouchDB HTTP API wrapper for Go
    • gocb - Official Couchbase Go SDK
    • gocql - A Go language driver for Apache Cassandra.
    • gomemcache - memcache client library for the Go programming language.
    • gorethink - Go language driver for RethinkDB
    • goriak - Go language driver for Riak KV
    • mgo - MongoDB driver for the Go language that implements a rich and well tested selection of features under a very simple API following standard Go idioms.
    • neo4j - Neo4j Rest API Bindings for Golang
    • Neo4j-GO - Neo4j REST Client in golang.
    • neoism - Neo4j client for Golang
    • redigo - Redigo is a Go client for the Redis database.
    • redis - Redis client for Golang
    • redis - A simple, powerful Redis client for Go.
    • redis - Redis-protocol compatible TCP servers/services.
  • Search and Analytic Databases

    • bleve - A modern text indexing library for go.
    • elastic - Elasticsearch client for Go.
    • elastigo - A Elasticsearch client library.
    • goes - A library to interact with Elasticsearch.
    • skizze - A probabilistic data-structures service and storage.

Date & Time

Libraries for working with dates and times.

  • carbon - A simple Time extension with a lot of util methods, ported from PHP Carbon library.
  • durafmt - A time duration formatting library for Go.
  • feiertage - A set of functions to calculate public holidays in Germany, incl. specialization on the states of Germany (Bundesländer). Things like Easter, Pentecoast, Thanksgiving…
  • go-persian-calendar - The implementation of the Persian (Solar Hijri) Calendar in Go (golang).
  • goweek - Library for working with week entity in golang.
  • now - Now is a time toolkit for golang.
  • NullTime - Nullable time.Time
  • timeutil - Useful extensions (Timedelta, Strftime, …) to the golang’s time package.

Distributed Systems

Packages that help with building Distributed Systems.

  • celeriac - A library for adding support for interacting and monitoring Celery workers, tasks and events in Go
  • flowgraph - MPI-style ready-send coordination layer.
  • 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.
  • go-jump - A port of Google’s “Jump” Consistent Hash function.
  • go-kit - A Microservice toolkit with support for service discovery, load balancing, pluggable transports, request tracking, etc.
  • gorpc - Simple, fast and scalable RPC library for high load.
  • grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC.
  • hprose - A very newbility RPC Library, support 25+ languages now.
  • jsonrpc - The jsonrpc package helps implement of JSON-RPC 2.0.
  • jsonrpc - A JSON-RPC 2.0 HTTP client implementation
  • KrakenD - Ultra performant API Gateway framework with middlewares.
  • micro - A pluggable microservice toolkit and distributed systems platform.
  • NATS - A lightweight, high performance messaging system for microservices, IoT, and cloud native systems.
  • raft - Golang implementation of the Raft consensus protocol, by HashiCorp.
  • raft - Go implementation of the Raft consensus protocol, by CoreOS.
  • ringpop-go - Scalable, fault-tolerant application-layer sharding for Go applications
  • rpcx - A distributed pluggable RPC service framework like alibaba Dubbo.
  • sleuth - A library for master-less p2p auto-discovery and RPC between HTTP services (using ZeroMQ).
  • 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.
  • torrent - BitTorrent client package.
    • dht - BitTorrent Kademlia DHT implementation.
    • go-peerflix - Video streaming torrent client.


Libraries that implement email creation and sending

  • douceur - CSS inliner for your HTML emails.
  • email - A robust and flexible email library for Go.
  • go-dkim - A DKIM library, to sign & verify email.
  • go-imap - An IMAP library for clients and servers
  • go-message - A streaming library for the Internet Message Format and mail messages
  • Gomail - Gomail is a very simple and powerful package to send emails.
  • Hectane - Lightweight SMTP client providing an HTTP API
  • hermes - Golang package that generates clean, responsive HTML e-mails
  • 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

  • agora - Dynamically typed, embeddable programming language in Go
  • anko - Scriptable interpreter written in Go
  • binder - Go to Lua binding library, based on gopher-lua
  • gisp - Simple LISP in Go
  • go-duktape - Duktape JavaScript engine bindings for Go
  • go-lua - A 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
  • golua - Go bindings for Lua C API
  • gopher-lua - a Lua 5.1 VM and compiler written in Go
  • ngaro - Embeddable Ngaro VM implementation enabling scripting in Retro
  • otto - A JavaScript interpreter written in Go
  • purl - Perl 5.18.2 embedded in Go


Libraries for handling files and file systems

  • afero - A FileSystem Abstraction System for Go.
  • notify - File system event notification library with simple API, similar to os/signal.
  • tarfs - An implementation of the FileSystem interface for tar files.


Packages for accounting and finance

  • accounting - money and currency formatting for golang
  • decimal - Arbitrary-precision fixed-point decimal numbers
  • go-finance - Comprehensive financial markets data in Go
  • go-money - Implementation of Fowler’s Money pattern
  • ofxgo - Query OFX servers and/or parse the responses (with example command-line client)
  • vat - VAT number validation & EU VAT rates


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 - A 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 - A CSRF protection middleware for Go.

Game Development

Awesome game development libraries.

  • Azul3D - A 3D game engine written in Go
  • Ebiten - A 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.
  • GarageEngine - 2d game engine written in Go working on OpenGL.
  • glop - Glop (Game Library Of Power) is a fairly simple cross-platform game library.
  • go-astar - Go implementation of the A* path finding algorithm
  • go-collada - Go package for working with the Collada file format.
  • go-sdl2 - Go bindings for the Simple DirectMedia Layer.
  • go3d - A performance oriented 2D/3D math package for Go
  • gonet - A game server skeleton implemented with golang
  • Leaf - A lightweight game server framework
  • Pixel - A hand-crafted 2D game library in Go
  • 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

Generation & 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.
  • go-linq - .NET LINQ-like query methods for Go.
  • interfaces - Command line tool for generating interface definitions.
  • jennifer - Generate arbitrary Go code without templates.
  • pkgreflect - A Go preprocessor for package scoped reflection.

Go Compilers

Tools for compiling Go to other languages

  • gopherjs - A compiler from Go to JavaScript.
  • llgo - LLVM-based compiler for Go.
  • tardisgo - Golang to Haxe to CPP/CSharp/Java/JavaScript transpiler.


Tools for managing and working with Goroutines

  • go-flow - Control goroutines execution order.
  • goworker - goworker is a Go-based background worker
  • grpool - Lightweight Goroutine pool.
  • pool - a limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation.
  • semaphore - Semaphore pattern implementation with timeout of lock/unlock operations based on channel and context.
  • tunny - A goroutine pool for golang.


Libraries for building GUI Applications

  • app - Package to create apps with GO, HTML and CSS.
  • go-astilectron - Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron)
  • go-gtk - Go bindings for GTK
  • go-qml - QML support for the Go language
  • go-sciter - Go bindings for Sciter: the Embeddable HTML/CSS/script engine for modern desktop UI development.
  • goqt - Golang bindings to the Qt cross-platform application framework.
  • gosx-notifier - OSX Desktop Notifications library for Go.
  • gotk3 - Go bindings for GTK3.
  • qt - Qt binding for Go (support for Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi)
  • 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.
  • ui - Platform-native GUI library for Go.
  • walk - Windows application library kit for Go.


Libraries, tools, and tutorials for interacting with hardware.

See go-hardware for a comprehensive list.


Libraries for manipulating images.

  • bild - A collection of image processing algorithms in pure Go.
  • bimg - Small package for fast and efficient image processing using libvips.
  • geopattern - Create beautiful generative image patterns from a string.
  • gg - 2D rendering in pure Go.
  • gift - Package of image processing filters.
  • go-cairo - Go binding for the cairo graphics library.
  • go-gd - Go binding for GD library.
  • go-nude - Nudity detection with Go.
  • go-opencv - Go bindings for OpenCV.
  • go-webcolors - Port of webcolors library from Python to Go.
  • 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 - A selection of image manipulation tools.
  • ln - 3D line art rendering in Go.
  • mpo - A decoder and conversion tool for MPO 3D Photos.
  • picfit - An image resizing server written in Go.
  • pt - A path tracing engine written in Go.
  • resize - Image resizing for the Go with common interpolation methods.
  • rez - Image resizing in pure Go and SIMD.
  • smartcrop - Finds good crops for arbitrary images and crop sizes.
  • svgo - Go Language Library for SVG generation.
  • tga - Package tga is a TARGA image format decoder/encoder.

IoT (Internet of Things)

Libraries for programming devices of the IoT.

  • connectordb - An 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.
  • mainflux - Industrial IoT Messaging and Device Management Server.
  • sensorbee - Lightweight stream processing engine for IoT.


Libraries for generating and working with log files.

  • glog - Leveled execution logs for Go.
  • go-log - Log lib supports level and multi handlers.
  • go-log - A 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 Cosole, 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.
  • log - Structured logging package for Go.
  • log - Simple, configurable and scalable Structured Logging for Go.
  • log-voyage - Full-featured logging saas written in golang.
  • log15 - Simple, powerful logging for Go
  • logdump - Package for multi-level logging
  • logex - An golang log lib, supports tracking and level, wrap by standard log lib
  • logger - Minimalistic logging library for Go.
  • logrus - a structured logger for Go.
  • logrusly - logrus plug-in to send errors to a Loggly.
  • logutils - Utilities for slightly better logging in Go (Golang) extending the standard logger.
  • logxi - A 12-factor app logger that is fast and makes you happy.
  • lumberjack - Simple rolling logger, implements io.WriteCloser.
  • mlog - A simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output.
  • ozzo-log - High performance logging supporting log severity, categorization, and filtering. Can send filtered log messages to various targets (e.g. console, network, mail).
  • seelog - logging functionality with flexible dispatching, filtering, and formatting.
  • slf - The Structured Logging Facade (SLF) for Go (like SLF4J but structured and for Go)
  • slog - The reference implementation of the Structured Logging Facade (SLF) for Go
  • spew - Implements a deep pretty printer for Go data structures to aid in debugging
  • stdlog - Stdlog is an object-oriented library providing leveled logging. It is very useful for cron jobs.
  • tail - A 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 - A structured logger for net/context aware HTTP handlers with flexible dispatching.
  • zap - Fast, structured, leveled logging in Go.
  • zerolog - Zero-allocation 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.
  • gago - Multi-population, flexible, parallel genetic algorithm.
  • go-fann - Go bindings for Fast Artificial Neural Networks(FANN) library.
  • 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
  • goml - On-line Machine Learning in Go
  • 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.
  • libsvm - libsvm golang version derived work based on LIBSVM 3.14.
  • mlgo - This project aims to provide minimalistic machine learning algorithms in Go.
  • neural-go - A multilayer perceptron network implemented in Go, with training via backpropagation.
  • probab - Probability distribution functions. Bayesian inference. Written in pure Go.
  • regommend - Recommendation & collaborative filtering engine
  • shield - Bayesian text classifier with flexible tokenizers and storage backends for Go


Libraries that implement messaging systems

  • Centrifugo - Real-time messaging (Websockets or SockJS) server in Go.
  • dbus - Native Go bindings for D-Bus.
  • drone-line - Sending Line notifications using a binary, docker or Drone CI.
  • emitter - Emits events using Go way, with wildcard, predicates, cancellation possibilities and many other good wins.
  • EventBus - The lightweight event bus with async compatibility.
  • Glue - Robust Go and Javascript Socket Library (Alternative to
  • go-longpoll - PubSub with long polling.
  • go-notify - Native implementation of the freedesktop notification spec.
  • go-nsq - the official Go package for NSQ
  • - library for golang, a realtime application framework.
  • go-vitotrol - A client library to Viessmann Vitotrol web service.
  • golongpoll - HTTP longpoll server library that makes web pub-sub simple.
  • goose - Server Sent Events in Go
  • gopush-cluster - gopush-cluster is a go push server cluster.
  • gorush - A push notification server using APNs2 and google GCM.
  • guble - A 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.
  • machinery - An asynchronous task queue/job queue based on distributed message passing.
  • mangos - Pure go implementation of the Nanomsg (“Scalable Protocols”) with transport interoperability.
  • NATS Go Client - A lightweight and high performance publish-subscribe and distributed queueing messaging system - this is the Go library.
  • nsq-event-bus - A tiny wrapper around NSQ topic and channel.
  • oplog - A generic oplog/replication system for REST APIs
  • pubsub - A simple pubsub package for go.
  • RapidMQ - RapidMQ is a lightweight and reliable library for managing of the local messages queue
  • sarama - A Go library for Apache Kafka.
  • Uniqush-Push - A redis backed unified push service for server-side notifications to mobile devices.
  • zmq4 - A Go interface to ZeroMQ version 4. Also available for version 3 and version 2.


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

  • alice - An additive dependency injection container for Golang.
  • archiver - Library and command for making and extracting .zip and .tar.gz archives
  • autoflags - Go package to automatically define command line flags from struct fields.
  • banner - Add beautiful banners into your Go applications.
  • battery - A cross-platform, normalized battery information library.
  • bitio - Highly optimized bit-level Reader and Writer for Go.
  • browscap_go - GoLang Library for Browser Capabilities Project.
  • conv - Package conv provides fast and intuitive conversions across Go types.
  • datacounter - Go counters for readers/writer/http.ResponseWriter.
  • errors - A package that provides simple error handling primitives.
  • go-chat-bot - IRC, Slack & Telegram bot written in Go.
  • go-commons-pool - A generic object pool for Golang.
  • go-multierror - A Go (golang) package for representing a list of errors as a single error.
  • go-openapi - A collection of packages to parse and utilize open-api schemas
  • go-shortid - Distributed generation of super short, unique, non-sequential, URL friendly IDs.
  • go-unarr - Decompression library for RAR, TAR, ZIP and 7z archives.
  • go.uuid - Implementation of Universally Unique Identifier (UUID). Supported both creation and parsing of UUIDs.
  • gofakeit - Random data generator written in go
  • gopsutil - A cross-platform library for retrieving process and system utilization(CPU, Memory, Disks, etc).
  • gosms - Your own local SMS gateway in Go that can be used to send SMS
  • gountries - A package that exposes country and subdivision data.
  • hanu - Framework for writing Slack bots.
  • health - A Easy to use, extensible health check library.
  • indigo - A distributed unique ID generator of using Sonyflake and encoded by Base58.
  • jobs - A persistent and flexible background jobs library.
  • margelet - A framework for building Telegram bots.
  • secdl - Lighttpd ModSecDownload algorithm ported to go to secure download urls.
  • slacker - An easy to use framework to create Slack bots
  • stats - Monitors Go MemStats + System stats such as Memory, Swap and CPU and sends via UDP anywhere you want for logging etc…
  • uuid - Generate, encode, and decode UUIDs v1 with fast or cryptographic-quality random node identifier.
  • VarHandler - Generate boilerplate http input and ouput handling.
  • werr - Error Wrapper creates an wrapper for the error type in Go which captures the File, Line and Stack of where it was called.
  • xkg - X Keyboard Grabber
  • xstrings - A collection of useful string functions ported from other languages.

Natural Language Processing

Libraries for working with human languages.

  • dpar - Transition-based statistical dependency parser.
  • go-eco - Similarity, dissimilarity and distance matrices; diversity, equitability and inequality measures; species richness estimators; coenocline models.
  • go-i18n - A package and an accompanying tool to work with localized text.
  • go-mystem - CGo bindings to Yandex.Mystem - russian morphology analyzer.
  • go-nlp - Utilities for working with discrete probability distributions and other tools useful for doing NLP work.
  • go-stem - Implementation of the porter stemming algorithm.
  • go-unidecode - ASCII transliterations of Unicode text.
  • go2vec - Reader and utility functions for word2vec embeddings.
  • gojieba - This is a Go implementation of jieba which a Chinese word splitting algorithm.
  • golibstemmer - Go bindings for the snowball libstemmer library including porter 2
  • gounidecode - Unicode transliterator (also known as unidecode) for Go
  • icu - Cgo binding for icu4c C library detection and conversion functions. Guaranteed compatibility with version 50.1.
  • libtextcat - Cgo binding for libtextcat C library. Guaranteed compatibility with version 2.2.
  • MMSEGO - This is a GO implementation of MMSEG which a Chinese word splitting algorithm.
  • paicehusk - Golang implementation of the Paice/Husk Stemming Algorithm
  • porter - This is a fairly straightforward port of Martin Porter’s C implementation of the Porter stemming algorithm.
  • porter2 - Really fast Porter 2 stemmer.
  • prose - A library for text processing that supports tokenization, part-of-speech tagging, named-entity extraction, and more.
  • RAKE.go - A Go port of the Rapid Automatic Keyword Extraction Algorithm (RAKE)
  • segment - A Go library for performing Unicode Text Segmentation as described in Unicode Standard Annex #29
  • sentences - A sentence tokenizer: converts text into a list of sentences.
  • snowball - Snowball stemmer port (cgo wrapper) for Go. Provides word stem extraction functionality Snowball native.
  • stemmer - Stemmer packages for Go programming language. Includes English and German stemmers.
  • textcat - A Go package for n-gram based text categorization, with support for utf-8 and raw text
  • whatlanggo - A natural language detection package for Go. Supports 84 languages and 24 scripts (writing systems e.g. Latin, Cyrillic, etc).
  • when - A natural EN and RU language date/time parser with pluggable rules


Libraries for working with various layers of the network

  • arp - Package arp implements the ARP protocol, as described in RFC 826.
  • buffstreams - Streaming protocolbuffer data over TCP made easy
  • canopus - CoAP Client/Server implementation (RFC 7252)
  • dhcp6 - Package dhcp6 implements a DHCPv6 server, as described in RFC 3315.
  • dns - Go library for working with DNS
  • ether - A cross-platform Go package for sending and receiving ethernet frames.
  • ethernet - Package ethernet implements marshaling and unmarshaling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags.
  • fasthttp - Package fasthttp is a fast HTTP implementation for Go, up to 10 times faster than net/http
  • ftp - Package ftp implements a FTP client as described in RFC 959.
  • go-getter - A Go library for downloading files or directories from various sources using a URL.
  • go-stun - A go implementation of the STUN client (RFC 3489 and RFC 5389).
  • gobgp - BGP implemented in the Go Programming Language.
  • golibwireshark - Package golibwireshark use libwireshark library to decode pcap file and analyse dissection data.
  • gopacket - A Go library for packet processing with libpcap bindings
  • gopcap - A Go wrapper for libpcap
  • goshark - Package goshark use tshark to decode IP packet and create data struct to analyse packet.
  • gosnmp - Native Go library for performing SNMP actions
  • gotcp - A Go package for quickly writing tcp applications
  • grab - Go package for managing file downloads
  • graval - An experimental FTP server framework.
  • jazigo - Jazigo is a tool written in Go for retrieving configuration for multiple network devices.
  • kcp-go - KCP - A Fast and Reliable ARQ Protocol.
  • kcptun - An extremely simple & fast udp tunnel based on KCP protocol
  • lhttp - A powerful websocket framework, build your IM server more easily.
  • linkio - Network link speed simulation for Reader/Writer interfaces
  • llb - It’s a very simple but quick backend for proxy servers. Can be useful for fast redirection to predefined domain with zero memory allocation and fast response.
  • mdns - Simple mDNS (Multicast DNS) client/server library in Golang
  • mqttPaho - The Paho Go Client provides an MQTT client library for connection to MQTT brokers via TCP, TLS or WebSockets.
  • portproxy - Simple TCP proxy which adds CORS support to API’s which don’t support it.
  • [publicip](https:/

Related Repositories



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



A curated list of awesome Go frameworks, libraries and software written by Ethnic Chinese. ...



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



awesome-go with :octocat: :star: and :fork_and_knife: ...



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

Top Contributors

avelino mholt shurcooL dukex matrixik kirillDanshin hoffoo joeybloggs patdhlk carlescere rs mamaar mattn h2non charneykaye codingsince1985 renatosuero johntdyer dashaus siddontang hugoleodev vishr deckarep cryptix gosuri mfzl pyros2097 sadlil chrislusf daved