Skip to content

A curated list of awesome Go frameworks, libraries and software

License

Notifications You must be signed in to change notification settings

ivolkoff/awesome-go

 
 

Repository files navigation

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

Authentication and OAuth

Libraries for implementing authentications schemes.

  • authboss 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.
  • casbin casbin - Authorization library that supports access control models like ACL, RBAC, ABAC.
  • cookiestxt cookiestxt - provides parser of cookies.txt file format.
  • Go-AWS-Auth Go-AWS-Auth - AWS (Amazon Web Services) request signing library.
  • go-jose 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 go-oauth2-server - Standalone, specification-compliant, OAuth2 server written in Golang.
  • gologin gologin - chainable handlers for login with OAuth1 and OAuth2 authentication providers.
  • gorbac gorbac - provides a lightweight role-based access control (RBAC) implementation in Golang.
  • goth goth - provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.
  • httpauth httpauth - HTTP Authentication middleware.
  • jwt jwt - Clean and easy to use implementation of JSON Web Tokens (JWT).
  • jwt-auth jwt-auth - JWT middleware for Golang http servers with many configuration options.
  • jwt-go jwt-go - Golang implementation of JSON Web Tokens (JWT).
  • loginsrv loginsrv - JWT login microservice with plugable backends such as OAuth2 (Github), htpasswd, osiam.
  • oauth2 oauth2 - Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine and App Engine support.
  • osin osin - Golang OAuth2 server library.
  • permissions2 permissions2 - Library for keeping track of users, login states and permissions. Uses secure cookies and bcrypt.
  • securecookie securecookie - Efficient secure cookie encoding/decoding.
  • session session - Go session management for web servers (including support for Google App Engine - GAE).
  • sessiongate-go sessiongate-go - Go session management using the SessionGate Redis module.
  • sessions sessions - Dead simple, highly performant, highly customizable sessions service for go http servers.
  • traefik traefik - Reverse proxy and load balancer with support for multiple backends.
  • yubigo yubigo - 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 argv - Go library to split command line string as arguments array using the bash syntax.
  • cli cli - Feature-rich and easy to use command-line package based on golang struct tags.
  • cli cli - Simple and complete API for building command line interfaces in Go.
  • cli-init cli-init - The easy way to start building Golang command line applications.
  • climax - Alternative CLI with "human face", in spirit of Go command.
  • cobra cobra - Commander for modern Go CLI interactions.
  • complete complete - Write bash completions in Go + Go command bash completion.
  • docopt.go docopt.go - Command-line arguments parser that will make you smile.
  • drive drive - Google Drive client for the commandline.
  • env env - Tag-based environment configuration for structs.
  • flag flag - Simple but powerful command line option parsing library for Go supporting subcommand.
  • go-arg go-arg - Struct-based argument parsing in Go.
  • go-flags go-flags - go command line option parser.
  • kingpin kingpin - Command line and flag parser supporting sub commands.
  • liner liner - Go readline-like library for command-line interfaces.
  • mitchellh/cli mitchellh/cli - Go library for implementing command-line interfaces.
  • mow.cli mow.cli - Go library for building CLI applications with sophisticated flag and argument parsing and validation.
  • pflag pflag - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
  • readline readline - Pure golang implementation that provides most features in GNU-Readline under MIT license.
  • sflags sflags - Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin and other libraries.
  • ukautz/clif ukautz/clif - Small command line interface framework.
  • urfave/cli urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).
  • wlog wlog - Simple logging interface that supports cross-platform color and concurrency.
  • wmenu 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.

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

Configuration

Libraries for configuration parsing.

  • config config - JSON or YAML configuration wrapper with environment variables and flags parsing.
  • configure configure - Provides configuration through multiple sources, including JSON, flags and environment variables.
  • env env - Parse environment variables to Go structs (with defaults).
  • envcfg envcfg - Un-marshaling environment variables to Go structs.
  • envconf envconf - Configuration from environment.
  • envconfig envconfig - Read your configuration from environment variables.
  • envh envh - Helpers to manage environment variables.
  • gcfg gcfg - read INI-style configuration files into Go structs; supports user-defined types and subsections.
  • goConfig goConfig - Parses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.
  • godotenv godotenv - Go port of Ruby's dotenv library (Loads environment variables from .env).
  • gofigure gofigure - Go application configuration made easy.
  • gone/jconf 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.
  • hjson hjson - Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.
  • ingo ingo - Flags persisted in an ini-like config file.
  • ini ini - Go package to read and write INI files.
  • joshbetz/config joshbetz/config - Small configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP.
  • mini mini - Golang package for parsing ini-style configuration files.
  • store store - Lightweight configuration manager for Go.
  • viper viper - Go configuration with fangs.
  • xdg xdg - Cross platform package that follows the XDG Standard.

Continuous Integration

Tools for help with continuous integration.

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

CSS Preprocessors

Libraries for preprocessing CSS files.

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

Data Structures

Generic datastructures and algorithms in Go.

  • binpacker binpacker - Binary packer and unpacker helps user build custom binary stream.
  • bit bit - Golang set data structure with bonus bit-twiddling functions.
  • bitset bitset - Go package implementing bitsets.
  • bloom bloom - Bloom filters implemented in Go.
  • bloom bloom - Golang Bloom filter implementation.
  • boomfilters boomfilters - Probabilistic data structures for processing continuous, unbounded streams.
  • concurrent-writer concurrent-writer - Highly concurrent drop-in replacement for bufio.Writer.
  • count-min-log count-min-log - Go implementation Count-Min-Log sketch: Approximately counting with approximate counters (Like Count-Min sketch but using less memory).
  • cuckoofilter cuckoofilter - Cuckoo filter: a good alternative to a counting bloom filter implemented in Go.
  • encoding encoding - Integer Compression Libraries for Go.
  • go-adaptive-radix-tree go-adaptive-radix-tree - Go implementation of Adaptive Radix Tree.
  • go-datastructures go-datastructures - Collection of useful, performant, and thread-safe data structures.
  • go-ef go-ef - A Go implementation of the Elias-Fano encoding.
  • go-geoindex go-geoindex - In-memory geo index.
  • go-rquad go-rquad - Region quadtrees with efficient point location and neighbour finding.
  • gods gods - Go Data Structures. Containers, Sets, Lists, Stacks, Maps, BidiMaps, Trees, HashSet etc.
  • golang-set golang-set - Thread-Safe and Non-Thread-Safe high-performance sets for Go.
  • goset goset - A useful Set collection implementation for Go.
  • goskiplist goskiplist - Skip list implementation in Go.
  • gota gota - Implementation of dataframes, series, and data wrangling methods for Go.
  • hilbert hilbert - Go package for mapping values to and from space-filling curves, such as Hilbert and Peano curves.
  • hyperloglog hyperloglog - HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction.
  • levenshtein levenshtein - Levenshtein distance and similarity metrics with customizable edit costs and Winkler-like bonus for common prefix.
  • levenshtein levenshtein - Implementation to calculate levenshtein distance in Go.
  • mafsa mafsa - MA-FSA implementation with Minimal Perfect Hashing.
  • merkletree merkletree - Implementation of a merkle tree providing an efficient and secure verification of the contents of data structures.
  • roaring roaring - Go package implementing compressed bitsets.
  • skiplist skiplist - Skiplist implementation in Go.
  • trie trie - Trie implementation in Go.
  • ttlcache ttlcache - In-memory LRU string-interface{} map with expiration for golang.
  • willf/bloom willf/bloom - Go package implementing Bloom filters.

Database

Databases implemented in Go.

  • badger badger - Fast key-value store in Go.
  • BigCache BigCache - Efficient key/value cache for gigabytes of data.
  • bolt bolt - Low-level key/value database for Go.
  • buntdb buntdb - Fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support.
  • cache2go cache2go - In-memory key:value cache which supports automatic invalidation based on timeouts.
  • cockroach cockroach - Scalable, Geo-Replicated, Transactional Datastore.
  • couchcache couchcache - RESTful caching micro-service backed by Couchbase server.
  • dgraph dgraph - Scalable, Distributed, Low Latency, High Throughput Graph Database.
  • diskv diskv - Home-grown disk-backed key-value store.
  • eliasdb eliasdb - Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.
  • forestdb forestdb - Go bindings for ForestDB.
  • GCache GCache - Cache library with support for expirable Cache, LFU, LRU and ARC.
  • geocache geocache - In-memory cache that is suitable for geolocation based applications.
  • go-cache go-cache - In-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
  • goleveldb goleveldb - Implementation of the LevelDB LevelDB key/value database in Go.
  • groupcache groupcache - Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
  • influxdb influxdb - Scalable datastore for metrics, events, and real-time analytics.
  • ledisdb ledisdb - Ledisdb is a high performance NoSQL like Redis based on LevelDB.
  • levigo levigo - Levigo is a Go wrapper for LevelDB.
  • moss moss - Moss is a simple LSM key-value storage engine written in 100% Go.
  • piladb piladb - Lightweight RESTful database engine based on stack data structures.
  • prometheus prometheus - Monitoring system and time series database.
  • rqlite rqlite - The lightweight, distributed, relational database built on SQLite.
  • Scribble Scribble - Tiny flat file JSON store.
  • tempdb tempdb - Key-value store for temporary items.
  • tidb tidb - TiDB is a distributed SQL database. Inspired by the design of Google F1.
  • tiedot tiedot - Your NoSQL database powered by Golang.
  • Tile38 Tile38 - Geolocation DB with spatial index and realtime geofencing.

Database schema migration.

  • darwin darwin - Database schema evolution library for Go.
  • go-fixtures go-fixtures - Django style fixtures for Golang's excellent built-in database/sql library.
  • goose goose - Database migration tool. You can manage your database's evolution by creating incremental SQL or Go scripts.
  • gormigrate gormigrate - Database schema migration helper for Gorm ORM.
  • migrate migrate - Database migrations. CLI and Golang library.
  • pravasan pravasan - Simple Migration tool - currently for MySQL but planning to soon support Postgres, SQLite, MongoDB, etc.
  • soda soda - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
  • sql-migrate sql-migrate - Database migration tool. Allows embedding migrations into the application using go-bindata.

Database tools.

  • chproxy chproxy - HTTP proxy for ClickHouse database.
  • go-mysql go-mysql - Go toolset to handle MySQL protocol and replication.
  • go-mysql-elasticsearch go-mysql-elasticsearch - Sync your MySQL data into Elasticsearch automatically.
  • kingshard kingshard - kingshard is a high performance proxy for MySQL powered by Golang.
  • myreplication myreplication - MySql binary log replication listener. Supports statement and row based replication.
  • orchestrator orchestrator - MySQL replication topology manager & visualizer.
  • pgweb pgweb - Web-based PostgreSQL database browser.
  • pREST pREST - Serve a RESTful API from any PostgreSQL database.
  • rwdb rwdb - rwdb provides read replica capability for multiple database servers setup.
  • vitess 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 dat - Go Postgres Data Access Toolkit.
  • Dotsql Dotsql - Go library that helps you keep sql files in one place and use them with ease.
  • goqu goqu - Idiomatic SQL builder and query library.
  • igor igor - Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax.
  • ozzo-dbx ozzo-dbx - Powerful data retrieval methods as well as DB-agnostic query building capabilities.
  • scaneo scaneo - Generate Go code to convert database rows into arbitrary structs.
  • sqrl sqrl - SQL query builder, fork of Squirrel with improved performance.
  • Squirrel Squirrel - Go library that helps you build SQL queries.
  • xo 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 avatica - Apache Phoenix/Avatica SQL driver for database/sql.
    • bgc bgc - Datastore Connectivity for BigQuery for go.
    • firebirdsql firebirdsql - Firebird RDBMS SQL driver for Go.
    • go-adodb go-adodb - Microsoft ActiveX Object DataBase driver for go that uses database/sql.
    • go-bqstreamer go-bqstreamer - BigQuery fast and concurrent stream insert.
    • go-mssqldb go-mssqldb - Microsoft MSSQL driver for Go.
    • go-oci8 go-oci8 - Oracle driver for go that uses database/sql.
    • go-sql-driver/mysql go-sql-driver/mysql - MySQL driver for Go.
    • go-sqlite3 go-sqlite3 - SQLite3 driver for go that uses database/sql.
    • gofreetds gofreetds - Microsoft MSSQL driver. Go wrapper over FreeTDS.
    • pgx pgx - PostgreSQL driver supporting features beyond those exposed by database/sql.
    • pq pq - Pure Go Postgres driver for database/sql.
  • NoSQL Databases

    • aerospike-client-go aerospike-client-go - Aerospike client in Go language.
    • arangolite arangolite - Lightweight golang driver for ArangoDB.
    • asc asc - Datastore Connectivity for Aerospike for go.
    • cayley cayley - Graph database with support for multiple backends.
    • dsc dsc - Datastore connectivity for SQL, NoSQL, structured files.
    • dynago dynago - Dynago is a principle of least surprise client for DynamoDB.
    • go-couchbase go-couchbase - Couchbase client in Go.
    • go-couchdb go-couchdb - Yet another CouchDB HTTP API wrapper for Go.
    • gocb gocb - Official Couchbase Go SDK.
    • gocql - Go language driver for Apache Cassandra.
    • gomemcache gomemcache - memcache client library for the Go programming language.
    • gorethink gorethink - Go language driver for RethinkDB.
    • goriak 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 - Neo4j Rest API Bindings for Golang.
    • Neo4j-GO Neo4j-GO - Neo4j REST Client in golang.
    • neoism neoism - Neo4j client for Golang.
    • redigo redigo - Redigo is a Go client for the Redis database.
    • redis redis - Redis client for Golang.
    • redis redis - Simple, powerful Redis client for Go.
    • redis redis - Redis-protocol compatible TCP servers/services.
    • xredis xredis - Typesafe, customizable, clean & easy to use Redis client.
  • Search and Analytic Databases.

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

Date and Time

Libraries for working with dates and times.

  • carbon carbon - Simple Time extension with a lot of util methods, ported from PHP Carbon library.
  • date date - Augments Time for working with dates, date ranges, time spans, periods, and time-of-day.
  • dateparse dateparse - Parse date's without knowing format in advance.
  • durafmt durafmt - Time duration formatting library for Go.
  • feiertage 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 go-persian-calendar - The implementation of the Persian (Solar Hijri) Calendar in Go (golang).
  • goweek goweek - Library for working with week entity in golang.
  • now now - Now is a time toolkit for golang.
  • NullTime NullTime - Nullable time.Time.
  • timeutil timeutil - Useful extensions (Timedelta, Strftime, ...) to the golang's time package.
  • tuesday tuesday - Ruby-compatible Strftime function.

Distributed Systems

Packages that help with building Distributed Systems.

  • celeriac celeriac - Library for adding support for interacting and monitoring Celery workers, tasks and events in Go.
  • digota digota - grpc ecommerce microservice.
  • drmaa drmaa - Job submission library for cluster schedulers based on the DRMAA standard.
  • flowgraph flowgraph - MPI-style ready-send coordination layer.
  • gleam 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 glow - Easy-to-Use scalable distributed big data processing, Map-Reduce, DAG execution, all in pure Go.
  • go-jump go-jump - Port of Google's "Jump" Consistent Hash function.
  • go-kit go-kit - Microservice toolkit with support for service discovery, load balancing, pluggable transports, request tracking, etc.
  • gorpc gorpc - Simple, fast and scalable RPC library for high load.
  • grpc-go grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC.
  • hprose hprose - Very newbility RPC Library, support 25+ languages now.
  • jsonrpc jsonrpc - The jsonrpc package helps implement of JSON-RPC 2.0.
  • jsonrpc jsonrpc - JSON-RPC 2.0 HTTP client implementation.
  • KrakenD KrakenD - Ultra performant API Gateway framework with middlewares.
  • micro micro - Pluggable microservice toolkit and distributed systems platform.
  • NATS NATS - Lightweight, high performance messaging system for microservices, IoT, and cloud native systems.
  • raft raft - Golang implementation of the Raft consensus protocol, by HashiCorp.
  • raft raft - Go implementation of the Raft consensus protocol, by CoreOS.
  • ringpop-go ringpop-go - Scalable, fault-tolerant application-layer sharding for Go applications.
  • rpcx rpcx - Distributed pluggable RPC service framework like alibaba Dubbo.
  • sleuth sleuth - Library for master-less p2p auto-discovery and RPC between HTTP services (using ZeroMQ ZeroMQ).
  • tendermint 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 torrent - BitTorrent client package.
    • dht - BitTorrent Kademlia DHT implementation.
    • go-peerflix go-peerflix - Video streaming torrent client.

Email

Libraries that implement email creation and sending.

  • douceur douceur - CSS inliner for your HTML emails.
  • email email - A robust and flexible email library for Go.
  • go-dkim go-dkim - DKIM library, to sign & verify email.
  • go-imap go-imap - IMAP library for clients and servers.
  • go-message go-message - Streaming library for the Internet Message Format and mail messages.
  • Gomail Gomail - Gomail is a very simple and powerful package to send emails.
  • Hectane Hectane - Lightweight SMTP client providing an HTTP API.
  • hermes hermes - Golang package that generates clean, responsive HTML e-mails.
  • MailHog MailHog - Email and SMTP testing with web and API interface.
  • SendGrid SendGrid - SendGrid's Go library for sending email.
  • smtp smtp - SMTP server protocol state machine.

Embeddable Scripting Languages

Embedding other languages inside your go code.

  • agora agora - Dynamically typed, embeddable programming language in Go.
  • anko anko - Scriptable interpreter written in Go.
  • binder binder - Go to Lua binding library, based on gopher-lua gopher-lua.
  • gisp gisp - Simple LISP in Go.
  • go-duktape go-duktape - Duktape JavaScript engine bindings for Go.
  • go-lua go-lua - Port of the Lua 5.2 VM to pure Go.
  • go-php go-php - PHP bindings for Go.
  • go-python go-python - naive go bindings to the CPython C-API.
  • golua golua - Go bindings for Lua C API.
  • gopher-lua gopher-lua - Lua 5.1 VM and compiler written in Go.
  • ngaro ngaro - Embeddable Ngaro VM implementation enabling scripting in Retro.
  • otto otto - JavaScript interpreter written in Go.
  • purl purl - Perl 5.18.2 embedded in Go.

Files

Libraries for handling files and file systems.

  • afero afero - FileSystem Abstraction System for Go.
  • go-csv-tag go-csv-tag - Load csv file using tag.
  • go-gtfs go-gtfs - Load gtfs files in go.
  • notify notify - File system event notification library with simple API, similar to os/signal.
  • skywalker skywalker - Package to allow one to concurrently go through a filesystem with ease.
  • tarfs tarfs - Implementation of the FileSystem interface for tar files.

Financial

Packages for accounting and finance.

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

Forms

Libraries for working with forms.

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

Game Development

Awesome game development libraries.

  • Azul3D Azul3D - 3D game engine written in Go.
  • Ebiten Ebiten - simple 2D game library in Go.
  • engo engo - Engo is an open-source 2D game engine written in Go. It follows the Entity-Component-System paradigm.
  • GarageEngine GarageEngine - 2d game engine written in Go working on OpenGL.
  • glop glop - Glop (Game Library Of Power) is a fairly simple cross-platform game library.
  • go-astar go-astar - Go implementation of the A* path finding algorithm.
  • go-collada go-collada - Go package for working with the Collada file format.
  • go-sdl2 go-sdl2 - Go bindings for the Simple DirectMedia Layer.
  • go3d go3d - Performance oriented 2D/3D math package for Go.
  • gonet gonet - Game server skeleton implemented with golang.
  • goworld goworld - Scalable game server engine, featuring space-entity framework and hot-swapping
  • Leaf Leaf - Lightweight game server framework.
  • nano nano - Lightweight, facility, high performance golang based game server framework
  • Oak Oak - Pure Go game engine.
  • Pixel Pixel - Hand-crafted 2D game library in Go.
  • raylib-go raylib-go - Go bindings for raylib, a simple and easy-to-use library to learn videogames programming.
  • termloop termloop - Terminal-based game engine for Go, built on top of Termbox.

Generation and Generics

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

  • efaceconv efaceconv - Code generation tool for high performance conversion from interface{} to immutable type without allocations.
  • gen gen - Code generation tool for ‘generics’-like functionality.
  • go-enum go-enum - Code generation for enums from code comments.
  • go-linq go-linq - .NET LINQ-like query methods for Go.
  • goderive goderive - Derives functions from input types.
  • interfaces interfaces - Command line tool for generating interface definitions.
  • jennifer jennifer - Generate arbitrary Go code without templates.
  • pkgreflect pkgreflect - Go preprocessor for package scoped reflection.

Go Compilers

Tools for compiling Go to other languages.

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

Goroutines

Tools for managing and working with Goroutines.

  • go-floc go-floc - Orchestrate goroutines with ease.
  • go-flow go-flow - Control goroutines execution order.
  • GoSlaves GoSlaves - Simple and Asynchronous Goroutine pool library.
  • goworker goworker - goworker is a Go-based background worker.
  • grpool grpool - Lightweight Goroutine pool.
  • pool pool - Limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation.
  • semaphore semaphore - Semaphore pattern implementation with timeout of lock/unlock operations based on channel and context.
  • tunny tunny - Goroutine pool for golang.
  • worker-pool worker-pool - goworker is a Go simple async worker pool.
  • workerpool workerpool - Goroutine pool that limits the concurrency of task execution, not the number of tasks queued.

GUI

Libraries for building GUI Applications.

Toolkits

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

Interaction

  • gosx-notifier gosx-notifier - OSX Desktop Notifications library for Go.
  • robotgo robotgo - Go Native cross-platform GUI system automation. Control the mouse, keyboard and other.
  • systray systray - Cross platform Go library to place an icon and menu in the notification area.
  • trayhost trayhost - Cross-platform Go library to place an icon in the host operating system's taskbar.

Hardware

Libraries, tools, and tutorials for interacting with hardware.

See go-hardware go-hardware for a comprehensive list.

Images

Libraries for manipulating images.

  • bild bild - Collection of image processing algorithms in pure Go.
  • bimg bimg - Small package for fast and efficient image processing using libvips.
  • geopattern geopattern - Create beautiful generative image patterns from a string.
  • gg gg - 2D rendering in pure Go.
  • gift gift - Package of image processing filters.
  • go-cairo go-cairo - Go binding for the cairo graphics library.
  • go-gd go-gd - Go binding for GD library.
  • go-nude go-nude - Nudity detection with Go.
  • go-opencv go-opencv - Go bindings for OpenCV.
  • go-webcolors go-webcolors - Port of webcolors library from Python to Go.
  • gocv gocv - Go package for computer vision using OpenCV 3.3+.
  • govatar govatar - Library and CMD tool for generating funny avatars.
  • imagick imagick - Go binding to ImageMagick's MagickWand C API.
  • imaginary imaginary - Fast and simple HTTP microservice for image resizing.
  • imaging imaging - Simple Go image processing package.
  • img img - Selection of image manipulation tools.
  • ln ln - 3D line art rendering in Go.
  • mpo mpo - Decoder and conversion tool for MPO 3D Photos.
  • picfit picfit - An image resizing server written in Go.
  • pt pt - Path tracing engine written in Go.
  • resize resize - Image resizing for Go with common interpolation methods.
  • rez rez - Image resizing in pure Go and SIMD.
  • smartcrop smartcrop - Finds good crops for arbitrary images and crop sizes.
  • svgo svgo - Go Language Library for SVG generation.
  • tga tga - Package tga is a TARGA image format decoder/encoder.

IoT (Internet of Things)

Libraries for programming devices of the IoT.

  • connectordb connectordb - Open-Source Platform for Quantified Self & IoT.
  • devices devices - Suite of libraries for IoT devices, experimental for x/exp/io.
  • eywa eywa - Project Eywa is essentially a connection manager that keeps track of connected devices.
  • flogo flogo - Project Flogo is an Open Source Framework for IoT Edge Apps & Integration.
  • gatt gatt - Gatt is a Go package for building Bluetooth Low Energy peripherals.
  • gobot gobot - Gobot is a framework for robotics, physical computing, and the Internet of Things.
  • mainflux mainflux - Industrial IoT Messaging and Device Management Server.
  • sensorbee sensorbee - Lightweight stream processing engine for IoT.

Logging

Libraries for generating and working with log files.

  • glg glg - glg is simple and fast leveled logging library for Go.
  • glog glog - Leveled execution logs for Go.
  • go-cronowriter go-cronowriter - Simple writer that rotate log files automatically based on current date and time, like cronolog.
  • go-log go-log - Log lib supports level and multi handlers.
  • go-log go-log - Log4j implementation in Go.
  • go-logger go-logger - Simple logger of Go Programs, with level handlers.
  • gologger gologger - Simple easy to use log lib for go, logs in Colored Console, Simple Console, File or Elasticsearch.
  • gomol gomol - Multiple-output, structured logging for Go with extensible logging outputs.
  • gone/log gone/log - Fast, extendable, full-featured, std-lib source compatible log library.
  • log log - Structured logging package for Go.
  • log log - Simple, configurable and scalable Structured Logging for Go.
  • log log - Structured log interface for Go cleanly separates logging facade from its implementation.
  • log-voyage log-voyage - Full-featured logging saas written in golang.
  • log15 log15 - Simple, powerful logging for Go.
  • logdump logdump - Package for multi-level logging.
  • logex logex - Golang log lib, supports tracking and level, wrap by standard log lib.
  • logger logger - Minimalistic logging library for Go.
  • logo logo - Golang logger to different configurable writers.
  • logrus logrus - Structured logger for Go.
  • logrusly logrusly - logrus logrus plug-in to send errors to a Loggly.
  • logutils logutils - Utilities for slightly better logging in Go (Golang) extending the standard logger.
  • logxi logxi - 12-factor app logger that is fast and makes you happy.
  • lumberjack lumberjack - Simple rolling logger, implements io.WriteCloser.
  • mlog mlog - Simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output.
  • ozzo-log 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 seelog - Logging functionality with flexible dispatching, filtering, and formatting.
  • spew spew - Implements a deep pretty printer for Go data structures to aid in debugging.
  • stdlog stdlog - Stdlog is an object-oriented library providing leveled logging. It is very useful for cron jobs.
  • tail tail - Go package striving to emulate the features of the BSD tail program.
  • xlog xlog - Plugin architecture and flexible log system for Go, with level ctrl, multiple log target and custom log format.
  • xlog xlog - Structured logger for net/context aware HTTP handlers with flexible dispatching.
  • zap zap - Fast, structured, leveled logging in Go.
  • zerolog zerolog - Zero-allocation JSON logger.

Machine Learning

Libraries for Machine Learning.

  • bayesian bayesian - Naive Bayesian Classification for Golang.
  • CloudForest CloudForest - Fast, flexible, multi-threaded ensembles of decision trees for machine learning in pure Go.
  • fonet fonet - A Deep Neural Network library written in Go.
  • gago gago - Multi-population, flexible, parallel genetic algorithm.
  • go-cluster go-cluster - Go implementation of the k-modes and k-prototypes clustering algorithms.
  • go-fann go-fann - Go bindings for Fast Artificial Neural Networks(FANN) library.
  • go-galib go-galib - Genetic Algorithms library written in Go / golang.
  • go-pr go-pr - Pattern recognition package in Go lang.
  • gobrain gobrain - Neural Networks written in go.
  • godist godist - Various probability distributions, and associated methods.
  • goga goga - Genetic algorithm library for Go.
  • GoLearn GoLearn - General Machine Learning library for Go.
  • golinear golinear - liblinear bindings for Go.
  • goml goml - On-line Machine Learning in Go.
  • goRecommend goRecommend - Recommendation Algorithms library written in Go.
  • gorgonia gorgonia - graph-based computational library like Theano for Go that provides primitives for building various machine learning and neural network algorithms.
  • goscore goscore - Go Scoring API for PMML.
  • gosseract gosseract - Go package for OCR (Optical Character Recognition), by using Tesseract C++ library.
  • libsvm libsvm - libsvm golang version derived work based on LIBSVM 3.14.
  • mlgo mlgo - This project aims to provide minimalistic machine learning algorithms in Go.
  • neat neat - Plug-and-play, parallel Go framework for NeuroEvolution of Augmenting Topologies (NEAT).
  • neural-go neural-go - Multilayer perceptron network implemented in Go, with training via backpropagation.
  • probab probab - Probability distribution functions. Bayesian inference. Written in pure Go.
  • regommend regommend - Recommendation & collaborative filtering engine.
  • shield shield - Bayesian text classifier with flexible tokenizers and storage backends for Go.
  • tfgo 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.

Messaging

Libraries that implement messaging systems.

  • Centrifugo Centrifugo - Real-time messaging (Websockets or SockJS) server in Go.
  • dbus dbus - Native Go bindings for D-Bus.
  • drone-line drone-line - Sending Line notifications using a binary, docker or Drone CI.
  • emitter emitter - Emits events using Go way, with wildcard, predicates, cancellation possibilities and many other good wins.
  • event event - Implementation of the pattern observer.
  • EventBus EventBus - The lightweight event bus with async compatibility.
  • gaurun-client gaurun-client - Gaurun Client written in Go.
  • Glue Glue - Robust Go and Javascript Socket Library (Alternative to Socket.io).
  • go-notify go-notify - Native implementation of the freedesktop notification spec.
  • go-nsq go-nsq - the official Go package for NSQ.
  • go-socket.io go-socket.io - socket.io library for golang, a realtime application framework.
  • go-vitotrol go-vitotrol - Client library to Viessmann Vitotrol web service.
  • Gollum Gollum - A n:m multiplexer that gathers messages from different sources and broadcasts them to a set of destinations.
  • golongpoll golongpoll - HTTP longpoll server library that makes web pub-sub simple.
  • goose goose - Server Sent Events in Go.
  • gopush-cluster gopush-cluster - gopush-cluster is a go push server cluster.
  • gorush gorush - Push notification server using APNs2 APNs2 and google GCM GCM.
  • guble guble - Messaging server using push notifications (Google Firebase Cloud Messaging, Apple Push Notification services, SMS) as well as websockets, a REST API, featuring distributed operation and message-persistence.
  • machinery machinery - Asynchronous task queue/job queue based on distributed message passing.
  • mangos mangos - Pure go implementation of the Nanomsg ("Scalable Protocols") with transport interoperability.
  • melody melody - Minimalist framework for dealing with websocket sessions, includes broadcasting and automatic ping/pong handling.
  • messagebus messagebus - messagebus is a Go simple async message bus, perfect for using as event bus when doing event sourcing, CQRS, DDD.
  • NATS Go Client NATS Go Client - Lightweight and high performance publish-subscribe and distributed queueing messaging system - this is the Go library.
  • nsq-event-bus nsq-event-bus - A tiny wrapper around NSQ topic and channel.
  • oplog oplog - Generic oplog/replication system for REST APIs.
  • pubsub pubsub - Simple pubsub package for go.
  • RapidMQ RapidMQ - RapidMQ is a lightweight and reliable library for managing of the local messages queue.
  • sarama sarama - Go library for Apache Kafka.
  • Uniqush-Push Uniqush-Push - Redis backed unified push service for server-side notifications to mobile devices.
  • zmq4 zmq4 - Go interface to ZeroMQ version 4. Also available for version 3 version 3 and version 2 version 2.

Miscellaneous

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

  • alice alice - Additive dependency injection container for Golang.
  • archiver archiver - Library and command for making and extracting .zip and .tar.gz archives.
  • autoflags autoflags - Go package to automatically define command line flags from struct fields.
  • avgRating avgRating - Calculate average score and rating based on Wilson Score Equation.
  • banner banner - Add beautiful banners into your Go applications.
  • battery battery - Cross-platform, normalized battery information library.
  • bitio bitio - Highly optimized bit-level Reader and Writer for Go.
  • browscap_go browscap_go - GoLang Library for Browser Capabilities Project.
  • captcha captcha - Package captcha provides an easy to use, unopinionated API for captcha generation.
  • conv conv - Package conv provides fast and intuitive conversions across Go types.
  • datacounter datacounter - Go counters for readers/writer/http.ResponseWriter.
  • errors errors - Package that provides simple error handling primitives.
  • go-chat-bot go-chat-bot - IRC, Slack & Telegram bot written in Go.
  • go-commons-pool go-commons-pool - Generic object pool for Golang.
  • go-multierror go-multierror - Go (golang) package for representing a list of errors as a single error.
  • go-openapi go-openapi - Collection of packages to parse and utilize open-api schemas.
  • go-resiliency go-resiliency - Resiliency patterns for golang.
  • go-sarah go-sarah - Framework to build bot for desired chat services including LINE, Slack, Gitter and more.
  • go-unarr go-unarr - Decompression library for RAR, TAR, ZIP and 7z archives.
  • go.uuid go.uuid - Implementation of Universally Unique Identifier (UUID). Supported both creation and parsing of UUIDs.
  • gofakeit gofakeit - Random data generator written in go.
  • goid goid - Generate and Parse RFC4122 compliant V4 UUIDs.
  • gopsutil gopsutil - Cross-platform library for retrieving process and system utilization(CPU, Memory, Disks, etc).
  • gosms gosms - Your own local SMS gateway in Go that can be used to send SMS.
  • gountries gountries - Package that exposes country and subdivision data.
  • hanu hanu - Framework for writing Slack bots.
  • health health - Easy to use, extensible health check library.
  • healthcheck healthcheck - An opinionated and concurrent health-check HTTP handler for RESTful services.
  • hostutils hostutils - A golang library for packing and unpacking FQDNs list.
  • indigo indigo - Distributed unique ID generator of using Sonyflake and encoded by Base58.
  • jobs jobs - Persistent and flexible background jobs library.
  • lk lk - A simple licensing library for golang.
  • margelet margelet - Framework for building Telegram bots.
  • persian persian - Some utilities for Persian language in go.
  • secdl secdl - Lighttpd ModSecDownload algorithm ported to go to secure download urls.
  • shellwords shellwords - A Golang library to manipulate strings according to the word parsing rules of the UNIX Bourne shell.
  • shortid shortid - Distributed generation of super short, unique, non-sequential, URL friendly IDs.
  • slacker slacker - Easy to use framework to create Slack bots.
  • stats stats - Monitors Go MemStats + System stats such as Memory, Swap and CPU and sends via UDP anywhere you want for logging etc...
  • turtle turtle - Emojis for Go.
  • uuid uuid - Generate, encode, and decode UUIDs v1 with fast or cryptographic-quality random node identifier.
  • VarHandler VarHandler - Generate boilerplate http input and ouput handling.
  • werr 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 xkg - X Keyboard Grabber.
  • xstrings xstrings - Collection of useful string functions ported from other languages.

Natural Language Processing

Libraries for working with human languages.

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

Networking

Libraries for working with various layers of the network.

  • arp arp - Package arp implements the ARP protocol, as described in RFC 826.
  • buffstreams buffstreams - Streaming protocolbuffer data over TCP made easy.
  • canopus canopus - CoAP Client/Server implementation (RFC 7252).
  • cidranger cidranger - Fast IP to CIDR lookup for Go.
  • dhcp6 dhcp6 - Package dhcp6 implements a DHCPv6 server, as described in RFC 3315.
  • dns dns - Go library for working with DNS.
  • ether ether - Cross-platform Go package for sending and receiving ethernet frames.
  • ethernet ethernet - Package ethernet implements marshaling and unmarshaling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags.
  • fasthttp fasthttp - Package fasthttp is a fast HTTP implementation for Go, up to 10 times faster than net/http.
  • ftp ftp - Package ftp implements a FTP client as described in RFC 959.
  • go-getter go-getter - Go library for downloading files or directories from various sources using a URL.
  • go-stun go-stun - Go implementation of the STUN client (RFC 3489 and RFC 5389).
  • gobgp gobgp - BGP implemented in the Go Programming Language.
  • golibwireshark golibwireshark - Package golibwireshark use libwireshark library to decode pcap file and analyse dissection data.
  • gopacket gopacket - Go library for packet processing with libpcap bindings.
  • gopcap gopcap - Go wrapper for libpcap.
  • goshark goshark - Package goshark use tshark to decode IP packet and create data struct to analyse packet.
  • gosnmp gosnmp - Native Go library for performing SNMP actions.
  • gotcp gotcp - Go package for quickly writing tcp applications.
  • grab grab - Go package for managing file downloads.
  • graval graval - Experimental FTP server framework.
  • jazigo jazigo - Jazigo is a tool written in Go for retrieving configuration for multiple network devices.
  • kcp-go kcp-go - KCP - Fast and Reliable ARQ Protocol.
  • kcptun kcptun - Extremely simple & fast udp tunnel based on KCP protocol.
  • lhttp lhttp - Powerful websocket framework, build your IM server more easily.
  • linkio linkio - Network link speed simulation for Reader/Writer interfaces.
  • llb 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 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 portproxy - Simple TCP proxy which adds CORS support to API's which don't support it.
  • publicip publicip - Package publicip returns your public facing IPv4 address (internet egress).
  • raw raw - Package raw enables reading and writing data at the device driver level for a network interface.
  • sftp sftp - Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt.
  • ssh ssh - Higher-level API for building SSH servers (wraps crypto/ssh).
  • sslb sslb - It's a Super Simples Load Balancer, just a little project to achieve some kind of performance.
  • stun stun - Go implementation of RFC 5389 STUN protocol.
  • tcp_server tcp_server - Go library for building tcp servers faster.
  • utp utp - Go uTP micro transport protocol implementation.
  • water water - Simple TUN/TAP library.
  • winrm winrm - Go WinRM client to remotely execute commands on Windows machines.
  • xtcp xtcp - TCP Server Framework with simultaneous full duplex communication,graceful shutdown,custom protocol.
  • YANNFF YANNFF - Framework for rapid development of performant network functions for cloud and bare-metal.

OpenGL

Libraries for using OpenGL in Go.

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

ORM

Libraries that implement Object-Relational Mapping or datamapping techniques.

  • beego orm beego orm - Powerful orm framework for go. Support: pq/mysql/sqlite3.
  • go-pg go-pg - PostgreSQL ORM with focus on PostgreSQL specific features and performance.
  • go-queryset go-queryset - 100% type-safe ORM with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support based on GORM.
  • go-store go-store - Simple and fast Redis backed key-value store library for Go.
  • gomodel gomodel - Lightweight, fast, orm-like library helps interactive with database.
  • GORM GORM - The fantastic ORM library for Golang, aims to be developer friendly.
  • gorp gorp - Go Relational Persistence, ORM-ish library for Go.
  • lore lore - Simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go.
  • Marlow Marlow - Generated ORM from project structs for compile time safety assurances.
  • pop/soda pop/soda - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
  • QBS QBS - Stands for Query By Struct. A Go ORM.
  • reform reform - Better ORM for Go, based on non-empty interfaces and code generation.
  • SQLBoiler SQLBoiler - ORM generator. Generate a featureful and blazing-fast ORM tailored to your database schema.
  • upper.io/db upper.io/db - Single interface for interacting with different data sources through the use of adapters that wrap mature database drivers.
  • Xorm Xorm - Simple and powerful ORM for Go.
  • Zoom Zoom - Blazing-fast datastore and querying engine built on Redis.

Package Management

Libraries for package and dependency management.

  • dep dep - Go dependency tool.
  • gigo gigo - PIP-like dependency tool for golang, with support for private repositories and hashes.
  • glide glide - Manage your golang vendor and vendored packages with ease. Inspired by tools like Maven, Bundler, and Pip.
  • godep godep - dependency tool for go, godep helps build packages reproducibly by fixing their dependencies.
  • gom gom - Go Manager - bundle for go.
  • goop goop - Simple dependency manager for Go (golang), inspired by Bundler.
  • gop gop - Build and manage your Go applications out of GOPATH
  • gopm gopm - Go Package Manager.
  • govendor govendor - Go Package Manager. Go vendor tool that works with the standard vendor file.
  • gpm gpm - Barebones dependency manager for Go.
  • gvt gvt - gvt is a simple vendoring tool made for Go native vendoring (aka GO15VENDOREXPERIMENT), based on gb-vendor.
  • johnny-deps johnny-deps - Minimal dependency version using Git.
  • nut nut - Vendor Go dependencies.
  • VenGO VenGO - create and manage exportable isolated go virtual environments.

Query Language

  • graphql graphql - graphql parser + utilities.
  • graphql graphql - GraphQL implementation in go.
  • graphql graphql - GraphQL server with a focus on ease of use.
  • graphql-go graphql-go - Implementation of GraphQL for Go.
  • jsonql jsonql - JSON query expression library in Golang.

Resource Embedding

  • esc esc - Embeds files into Go programs and provides http.FileSystem interfaces to them.
  • fileb0x fileb0x - Simple tool to embed files in go with focus on "customization" and ease to use.
  • go-embed go-embed - Generates go code to embed resource files into your library or executable.
  • go-resources go-resources - Unfancy resources embedding with Go.
  • go.rice go.rice - go.rice is a Go package that makes working with resources such as html,js,css,images and templates very easy.
  • statics statics - Embeds static resources into go files for single binary compilation + works with http.FileSystem + symlinks.
  • statik statik - Embeds static files into a Go executable.
  • templify templify - Embed external template files into Go code to create single file binaries.
  • vfsgen vfsgen - Generates a vfsdata.go file that statically implements the given virtual filesystem.

Science and Data Analysis

Libraries for scientific computing and data analyzing.

  • blas blas - Implementation of BLAS (Basic Linear Algebra Subprograms).
  • chart chart - Simple Chart Plotting library for Go. Supports many graphs types.
  • evaler evaler - Simple floating point arithmetic expression evaluator.
  • ewma ewma - Exponentially-weighted moving averages.
  • geom geom - 2D geometry for golang.
  • go-dsp go-dsp - Digital Signal Processing for Go.
  • go-fn go-fn - Mathematical functions written in Go language, that are not covered by math pkg.
  • go-gt go-gt - Graph theory algorithms written in "Go" language.
  • go.matrix go.matrix - linear algebra for go (has been stalled).
  • gocomplex gocomplex - Complex number library for the Go programming language.
  • goent goent - GO Implementation of Entropy Measures
  • gofrac gofrac - (goinstallable) fractions library for go with support for basic arithmetic.
  • gohistogram gohistogram - Approximate histograms for data streams.
  • gonum/mat64 gonum/mat64 - The general purpose package for matrix computation. Package mat64 provides basic linear algebra operations for float64 matrices.
  • gonum/plot gonum/plot - gonum/plot provides an API for building and drawing plots in Go.
  • goraph goraph - Pure Go graph theory library(data structure, algorith visualization).
  • gosl gosl - Go scientific library for linear algebra, FFT, geometry, NURBS, numerical methods, probabilities, optimisation, differential equations, and more.
  • gostat gostat - Statistics library for the go language.
  • graph graph - Library of basic graph algorithms.
  • ode ode - Ordinary differential equation (ODE) solver which supports extended states and channel-based iteration stop conditions.
  • pagerank pagerank - Weighted PageRank algorithm implemented in Go.
  • PiHex PiHex - Implementation of the "Bailey-Borwein-Plouffe" algorithm for the hexadecimal number Pi.
  • sparse sparse - Go Sparse matrix formats for linear algebra supporting scientific and machine learning applications, compatible with gonum matrix libraries.
  • stats stats - Statistics package with common functions missing from the Golang standard library.
  • streamtools streamtools - general purpose, graphical tool for dealing with streams of data.
  • vectormath vectormath - Vectormath for Go, an adaptation of the scalar C functions from Sony's Vector Math library, as found in the Bullet-2.79 source code (currently inactive).

Security

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

  • acmetool acmetool - ACME (Let's Encrypt) client tool with automatic renewal.
  • BadActor BadActor - In-memory, application-driven jailer built in the spirit of fail2ban.
  • go-yara go-yara - Go Bindings for YARA YARA, the "pattern matching swiss knife for malware researchers (and everyone else)".
  • goSecretBoxPassword goSecretBoxPassword - A probably paranoid package for securely hashing and encrypting passwords.
  • lego lego - Pure Go ACME client library and CLI tool (for use with Let's Encrypt).
  • memguard memguard - A pure Go library for handling sensitive values in memory.
  • passlib passlib - Futureproof password hashing library.
  • secure secure - HTTP middleware for Go that facilitates some quick security wins.
  • simple-scrypt simple-scrypt - Scrypt package with a simple, obvious API and automatic cost calibration built-in.
  • ssh-vault ssh-vault - encrypt/decrypt using ssh keys.

Serialization

Libraries and tools for binary serialization.

  • asn1 asn1 - Asn.1 BER and DER encoding library for golang.
  • bambam bambam - generator for Cap'n Proto schemas from go.
  • colfer colfer - Code generation for the Colfer binary format.
  • go-capnproto go-capnproto - Cap'n Proto library and parser for go.
  • go-codec go-codec - High Performance, feature-Rich, idiomatic encode, decode and rpc library for msgpack, cbor and json, with runtime-based OR code-generation support.
  • gogoprotobuf gogoprotobuf - Protocol Buffers for Go with Gadgets.
  • goprotobuf goprotobuf - Go support, in the form of a library and protocol compiler plugin, for Google's protocol buffers.
  • jsoniter jsoniter - High-performance 100% compatible drop-in replacement of "encoding/json".
  • mapstructure mapstructure - Go library for decoding generic map values into native Go structures.
  • php_session_decoder php_session_decoder - GoLang library for working with PHP session format and PHP Serialize/Unserialize functions.
  • structomap structomap - Library to easily and dynamically generate maps from static structures.

Server Applications

  • algernon algernon - HTTP/2 web server with built-in support for Lua, Markdown, GCSS and Amber.
  • Caddy Caddy - Caddy is an alternative, HTTP/2 web server that's easy to configure and use.
  • consul - Consul is a tool for service discovery, monitoring and configuration.
  • devd devd - Local webserver for developers.
  • etcd etcd - Highly-available key value store for shared configuration and service discovery.
  • Fider Fider - Fider is an open platform to collect and organize customer feedback.
  • minio minio - Minio is a distributed object storage server.
  • nsq - A realtime distributed messaging platform.
  • yakvs yakvs - Small, networked, in-memory key-value store.

Template Engines

Libraries and tools for templating and lexing.

  • ace ace - Ace is an HTML template engine for Go, inspired by Slim and Jade. Ace is a refinement of Gold.
  • amber amber - Amber is an elegant templating engine for Go Programming Language It is inspired from HAML and Jade.
  • damsel damsel - Markup language featuring html outlining via css-selectors, extensible via pkg html/template and others.
  • ego ego - Lightweight templating language that lets you write templates in Go. Templates are translated into Go and compiled.
  • fasttemplate fasttemplate - Simple and fast template engine. Substitutes template placeholders up to 10x faster than text/template.
  • gofpdf gofpdf - PDF document generator with high level support for text, drawing and images.
  • grender grender - small wrapper around html/template for file-based templates that support extending other template files.
  • hero hero - Hero is a handy, fast and powerful go template engine.
  • jet jet - Jet template engine.
  • kasia.go kasia.go - Templating system for HTML and other text documents - go implementation.
  • liquid liquid - Go implementation of Shopify Liquid templates.
  • mustache mustache - Go implementation of the Mustache template language.
  • pongo2 pongo2 - Django-like template-engine for Go.
  • quicktemplate quicktemplate - Fast, powerful, yet easy to use template engine. Converts templates into Go code and then compiles it.
  • raymond raymond - Complete handlebars implementation in Go.
  • Razor Razor - Razor view engine for Golang.
  • Soy Soy - Closure templates (aka Soy templates) for Go, following the official spec.
  • velvet velvet - Complete handlebars implementation in Go.

Testing

Libraries for testing codebases and generating test data.

  • Testing Frameworks

    • assert assert - Basic Assertion Library used along side native go testing, with building blocks for custom assertions.
    • badio badio - Extensions to Go's testing/iotest package.
    • baloo baloo - Expressive and versatile end-to-end HTTP API testing made easy.
    • bro bro - Watch files in directory and run tests for them.
    • cupaloy cupaloy - Simple snapshot testing addon for your test framework.
    • dbcleaner dbcleaner - Clean database for testing purpose, inspired by database_cleaner in Ruby.
    • dsunit dsunit - Datastore testing for SQL, NoSQL, structured files.
    • frisby frisby - REST API testing framework.
    • ginkgo - BDD Testing Framework for Go.
    • go-carpet go-carpet - Tool for viewing test coverage in terminal.
    • go-mutesting go-mutesting - Mutation testing for Go source code.
    • go-vcr go-vcr - Record and replay your HTTP interactions for fast, deterministic and accurate tests.
    • goblin goblin - Mocha like testing framework fo Go.
    • gocheck - More advanced testing framework alternative to gotest.
    • GoConvey GoConvey - BDD-style framework with web UI and live reload.
    • godog godog - Cucumber or Behat like BDD framework for Go.
    • gofight gofight - API Handler Testing for Golang Router framework.
    • gomega - Rspec like matcher/assertion library.
    • GoSpec GoSpec - BDD-style testing framework for the Go programming language.
    • gospecify gospecify - This provides a BDD syntax for testing your Go code. It should be familiar to anybody who has used libraries such as rspec.
    • gosuite gosuite - Brings lightweight test suites with setup/teardown facilities to testing by leveraging Go1.7's Subtests.
    • Hamcrest Hamcrest - fluent framework for declarative Matcher objects that, when applied to input values, produce self-describing results.
    • httpexpect httpexpect - Concise, declarative, and easy to use end-to-end HTTP and REST API testing.
    • restit restit - Go micro framework to help writing RESTful API integration test.
    • testfixtures testfixtures - A helper for Rails' like test fixtures to test database applications.
    • Testify Testify - Sacred extension to the standard go testing package.
    • wstest wstest - Websocket client for unit-testing a websocket http.Handler.
  • Mock

    • counterfeiter counterfeiter - Tool for generating self-contained mock objects.
    • go-sqlmock go-sqlmock - Mock SQL driver for testing database interactions.
    • go-txdb go-txdb - Single transaction based database driver mainly for testing purposes.
    • gock gock - Versatile HTTP mocking made easy.
    • gomock gomock - Mocking framework for the Go programming language.
    • govcr govcr - HTTP mock for Golang: record and replay HTTP interactions for offline testing.
    • minimock minimock - Mock generator for Go interfaces.
    • mockhttp mockhttp - Mock object for Go http.ResponseWriter.
  • Fuzzing and delta-debugging/reducing/shrinking.

    • go-fuzz go-fuzz - Randomized testing system.
    • gofuzz gofuzz - Library for populating go objects with random values.
    • Tavor Tavor - Generic fuzzing and delta-debugging framework.
  • Selenium and browser control tools.

    • cdp cdp - Type-safe bindings for the Chrome Debugging Protocol that can be used with browsers or other debug targets that implement it.
    • chromedp chromedp - Way to drive/test Chrome, Safari, Edge, Android Webviews, and other browsers supporting the Chrome Debugging Protocol.
    • ggr ggr - Lightweight server that routes and proxies Selenium Wedriver requests to multiple Selenium hubs.
    • selenoid selenoid - alternative Selenium hub server that launches browsers within containers.

Text Processing

Libraries for parsing and manipulating texts.

  • Specific Formats
    • align align - A general purpose application that aligns text.
    • allot allot - Placeholder and wildcard text parsing for CLI tools and bots.
    • bbConvert bbConvert - Converts bbCode to HTML that allows you to add support for custom bbCode tags.
    • blackfriday blackfriday - Markdown processor in Go.
    • bluemonday bluemonday - HTML Sanitizer.
    • colly colly - Fast and Elegant Scraping Framework for Gophers
    • doi doi - Document object identifier (doi) parser in Go.
    • editorconfig-core-go editorconfig-core-go - Editorconfig file parser and manipulator for Go.
    • enca enca - Minimal cgo bindings for libenca.
    • genex genex - Count and expand Regular Expressions into all matching Strings.
    • github_flavored_markdown - GitHub Flavored Markdown renderer (using blackfriday) with fenced code block highlighting, clickable header anchor links.
    • go-humanize go-humanize - Formatters for time, numbers, and memory size to human readable format.
    • go-nmea go-nmea - NMEA parser library for the Go language.
    • go-pkg-rss go-pkg-rss - This package reads RSS and Atom feeds and provides a caching mechanism that adheres to the feed specs.
    • go-runewidth go-runewidth - Functions to get fixed width of the character or string.
    • go-slugify go-slugify - Make pretty slug with multiple languages support.
    • go-vcard go-vcard - Parse and format vCard.
    • gofeed gofeed - Parse RSS and Atom feeds in Go.
    • gographviz gographviz - Parses the Graphviz DOT language.
    • gommon/bytes gommon/bytes - Format bytes to string.
    • gonameparts gonameparts - Parses human names into individual name parts.
    • goq goq - Declarative unmarshaling of HTML using struct tags with jQuery syntax (uses GoQuery).
    • GoQuery GoQuery - GoQuery brings a syntax and a set of features similar to jQuery to the Go language.
    • goregen goregen - Library for generating random strings from regular expressions.
    • gotext gotext - GNU gettext utilities for Go.
    • guesslanguage guesslanguage - Functions to determine the natural language of a unicode text.
    • inject inject - Package inject provides a reflect based injector.
    • mxj mxj - Encode / decode XML as JSON or map[string]interface{}; extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.
    • sh sh - Shell parser and formatter.
    • slug slug - URL-friendly slugify with multiple languages support.
    • Slugify Slugify - Go slugify application that handles string.
    • toml toml - TOML configuration format (encoder/decoder with reflection).
  • Utility
    • gotabulate gotabulate - Easily pretty-print your tabular data with Go.
    • kace kace - Common case conversions covering common initialisms.
    • parseargs-go parseargs-go - string argument parser that understands quotes and backslashes.
    • parth parth - URL path segmentation parsing.
    • radix radix - fast string sorting algorithm.
    • xj2go xj2go - Convert xml or json to go struct.
    • xurls xurls - Extract urls from text.

Third-party APIs

Libraries for accessing third party APIs.

Utilities

General utilities and tools to make your life easier.

  • abutil abutil - Collection of often-used Golang helpers.
  • apm apm - Process manager for Golang applications with an HTTP API.
  • boilr boilr - Blazingly fast CLI tool for creating projects from boilerplate templates.
  • chyle chyle - Changelog generator using a git repository with multiple configuration possibilities.
  • circuitbreaker circuitbreaker - Circuit Breakers in Go.
  • clockwerk - Go package to schedule periodic jobs using a simple, fluent syntax.
  • command command - Command pattern for Go with thread safe serial and parallel dispatcher.
  • coop coop - Cheat sheet for some of the common concurrent flows in Go.
  • copy-pasta copy-pasta - Universal multi-workstation clipboard that uses S3 like backend for the storage.
  • ctop ctop - Top-like interface (e.g. htop) for container metrics.
  • Death Death - Managing go application shutdown with signals.
  • Deepcopier Deepcopier - Simple struct copying for Go.
  • delve delve - Go debugger.
  • dlog dlog - Compile-time controlled logger to make your release smaller without removing debug calls.
  • ergo ergo - The management of multiple local services running over different ports made easy.
  • evaluator evaluator - Evaluate an expression dynamicly based on s-expression. It's simple and easy to extend.
  • excelize excelize - Golang library for reading and writing Microsoft Excel™ (XLSX) files.
  • fastlz fastlz - Wrap over FastLz (free, open-source, portable real-time compression library) for GoLang.
  • filetype filetype - Small package to infer the file type checking the magic numbers signature.
  • filler filler - small utility to fill structs using "fill" tag.
  • fzf fzf - Command-line fuzzy finder written in Go.
  • generate generate - runs go generate recursively on a specified path or environment variable and can filter by regex.
  • gentleman gentleman - Full-featured plugin-driven HTTP client library.
  • git-time-metric git-time-metric - Simple, seamless, lightweight time tracking for Git.
  • GJSON GJSON - Get a JSON value with one line of code.
  • go-astitodo go-astitodo - Parse TODOs in your GO code.
  • go-bind-plugin go-bind-plugin - go:generate tool for wrapping symbols exported by golang plugins (1.8 only).
  • go-cron 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-debug go-debug - Conditional debug logging for Golang libraries & applications.
  • go-dry go-dry - DRY (don't repeat yourself) package for Go.
  • go-funk go-funk - Modern Go utility library which provides helpers (map, find, contains, filter, chunk, reverse, ...).
  • go-httpheader go-httpheader - Go library for encoding structs into Header fields.
  • go-rate go-rate - Timed rate limiter for Go.
  • go-respond go-respond - Go package for handling common HTTP JSON responses.
  • go-sitemap-generator go-sitemap-generator - XML Sitemap generator written in Go.
  • go-torch go-torch - Stochastic flame graph profiler for Go programs.
  • go-trigger go-trigger - Go-lang global event triggerer, Register Events with an id and trigger the event from anywhere from your project.
  • go-underscore go-underscore - Useful collection of helpfully functional Go collection utilities.
  • goback goback - Go simple exponential backoff package.
  • godaemon godaemon - Utility to write daemons.
  • godropbox godropbox - Common libraries for writing Go services/applications from Dropbox.
  • gohper gohper - Various tools/modules help for development.
  • gojq gojq - JSON query in Golang.
  • gojson gojson - Automatically generate Go (golang) struct definitions from example JSON.
  • golarm golarm - Fire alarms with system events.
  • golog golog - Easy and lightweight CLI tool to time track your tasks.
  • gopencils gopencils - Small and simple package to easily consume REST APIs.
  • goplaceholder goplaceholder - a small golang lib to generate placeholder images.
  • goreleaser goreleaser - Deliver Go binaries as fast and easily as possible.
  • goreporter goreporter - Golang tool that does static analysis, unit testing, code review and generate code quality report.
  • goreq goreq - Minimal and simple request library for Go language.
  • goreq goreq - Enhanced simplified HTTP client based on gorequest.
  • gorequest gorequest - Simplified HTTP client with rich features for Go.
  • goseaweedfs goseaweedfs - SeaweedFS client library with almost full features.
  • gotenv gotenv - Load environment variables from .env or any io.Reader in Go.
  • goxlsxwriter goxlsxwriter - Golang bindings for libxlsxwriter for writing XLSX (Microsoft Excel) files.
  • gpath gpath - Library to simplify access struct fields with Go's expression in reflection.
  • grequests grequests - Elegant and simple net/http wrapper that follows Python's requests library.
  • gron gron - Define time-based tasks using a simple Go API and Gron’s scheduler will run them accordingly.
  • htcat htcat - Parallel and Pipelined HTTP GET Utility.
  • httpcontrol httpcontrol - Package httpcontrol allows for HTTP transport level control around timeouts and retries.
  • hub hub - wrap git commands with additional functionality to interact with github from the terminal.
  • hystrix-go hystrix-go - Implements Hystrix patterns of programmer-defined fallbacks aka circuit breaker.
  • immortal immortal - *nix cross-platform (OS agnostic) supervisor.
  • intrinsic intrinsic - Use x86 SIMD without writing any assembly code.
  • JobRunner JobRunner - Smart and featureful cron job scheduler with job queuing and live monitoring built in.
  • jsonapi-errors jsonapi-errors - Go bindings based on the JSON API errors reference.
  • jsonf jsonf - Console tool for highlighted formatting and struct query fetching JSON.
  • jsongo jsongo - Fluent API to make it easier to create Json objects.
  • jsonhal jsonhal - Simple Go package to make custom structs marshal into HAL compatible JSON responses.
  • kazaam kazaam - API for arbitrary transformation of JSON documents.
  • lrserver lrserver - LiveReload server for Go.
  • mc mc - Minio Client provides minimal tools to work with Amazon S3 compatible cloud storage and filesystems.
  • mergo mergo - Helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.
  • minify minify - Fast minifiers for HTML, CSS, JS, XML, JSON and SVG file formats.
  • mmake mmake - Modern Make.
  • moldova moldova - Utility for generating random data based on an input template.
  • mp mp - Simple cli email parser. It currently takes stdin and outputs JSON.
  • mssqlx mssqlx - Database client library, proxy for any master slave, master master structures. Lightweight and auto balancing in mind.
  • multitick multitick - Multiplexor for aligned tickers.
  • myhttp myhttp - Simple API to make HTTP GET requests with timeout support.
  • netbug netbug - Easy remote profiling of your services.
  • ngrok ngrok - Introspected tunnels to localhost.
  • okrun okrun - go run error steamroller.
  • onecache onecache - Caching library with support for multiple backend stores (Redis, Memcached, filesystem etc).
  • panicparse panicparse - Groups similar goroutines and colorizes stack dump.
  • peco peco - Simplistic interactive filtering tool.
  • pester pester - Go HTTP client calls with retries, backoff, and concurrency.
  • pm pm - Process (i.e. goroutine) manager with an HTTP API.
  • profile profile - Simple profiling support package for Go.
  • rclient rclient - Readable, flexible, simple-to-use client for REST APIs.
  • realize realize - Go build system with file watchers and live reload. Run, build and watch file changes with custom paths.
  • request request - Go HTTP Requests for Humans™.
  • rerate rerate - Redis-based rate counter and rate limiter for Go.
  • rerun rerun - Recompiling and rerunning go apps when source changes.
  • resty resty - Simple HTTP and REST client for Go inspired by Ruby rest-client.
  • retry retry - Functional mechanism based on context to perform actions repetitively until successful.
  • robustly robustly - Runs functions resiliently, catching and restarting panics.
  • scheduler scheduler - Cronjobs scheduling made easy.
  • sling sling - Go HTTP requests builder for API clients.
  • spinner spinner - Go package to easily provide a terminal spinner with options.
  • sqlx sqlx - provides a set of extensions on top of the excellent built-in database/sql package.
  • Storm Storm - Simple and powerful toolkit for BoltDB.
  • structs structs - Implement simple functions to manipulate structs.
  • Task Task - simple "Make" alternative.
  • toolbox toolbox - Slice, map, multimap, struct, function, data conversion utilities. Service router, macro evaluator, tokenizer.
  • ugo ugo - ugo is slice toolbox with concise syntax for Go.
  • UNIS UNIS - Common Architecture™ for String Utilities in Go.
  • usql usql - usql is a universal command-line interface for SQL databases.
  • util util - Collection of useful utility functions. (strings, concurrency, manipulations, ...).
  • wuzz wuzz - Interactive cli tool for HTTP inspection.
  • xferspdy xferspdy - Xferspdy provides binary diff and patch library in golang.
  • xlsx xlsx - Library to simplify reading the XML format used by recent version of Microsoft Excel in Go programs.

Validation

Libraries for validation.

  • govalidator govalidator - Validators and sanitizers for strings, numerics, slices and structs.
  • govalidator govalidator - Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
  • ozzo-validation ozzo-validation - Supports validation of various data types (structs, strings, maps, slices, etc.) with configurable and extensible validation rules specified in usual code constructs instead of struct tags.
  • validate validate - This package provides a framework for writing validations for Go applications.
  • validator validator - Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving.

Version Control

Libraries for version control.

  • gh gh - Scriptable server and net/http middleware for GitHub Webhooks.
  • git2go git2go - Go bindings for libgit2.
  • go-vcs go-vcs - manipulate and inspect VCS repositories in Go.
  • hgo hgo - Hgo is a collection of Go packages providing read-access to local Mercurial repositories.

Video

Libraries for manipulating video.

  • gmf gmf - Go bindings for FFmpeg av* libraries.
  • go-astisub go-astisub - Manipulate subtitles in GO (.srt, .stl, .ttml, .webvtt, .ssa/.ass, teletext, .smi, etc.).
  • goav goav - Comphrensive Go bindings for FFmpeg.
  • gst gst - Go bindings for GStreamer.
  • libgosubs libgosubs - Subtitle format support for go. Supports .srt, .ttml, and .ass.
  • v4l v4l - Video capture library for Linux, written in Go.

Web Frameworks

Full stack web frameworks.

  • aah - Scalable, performant, rapid development Web framework for Go.
  • Air Air - Ideal RESTful web framework for Go.
  • Beego Beego - beego is an open-source, high-performance web framework for the Go programming language.
  • Buffalo - Bringing the productivity of Rails to Go!
  • Echo Echo - High performance, minimalist Go web framework.
  • Fireball Fireball - More "natural" feeling web framework.
  • Florest Florest - High-performance workflow based REST API framework.
  • Gem Gem - Simple and fast web framework, friendly to REST API.
  • Gin Gin - Gin is a web framework written in Go! It features a martini-like API with much better performance, up to 40 times faster. If you need performance and good productivity.
  • Gizmo Gizmo - Microservice toolkit used by the New York Times.
  • go-json-rest go-json-rest - Quick and easy way to setup a RESTful JSON API.
  • go-relax go-relax - Framework of pluggable components to build RESTful API's.
  • go-rest go-rest - Small and evil REST framework for Go.
  • goa goa - Framework for developing microservices based on the design of Ruby's Praxis.
  • Goat Goat - Minimalistic REST API server in Go.
  • Golf Golf - Golf is a fast, simple and lightweight micro-web framework for Go. It comes with powerful features and has no dependencies other than the Go Standard Library.
  • Gondola Gondola - The web framework for writing faster sites, faster.
  • gongular gongular - Fast Go web framework with input mapping/validation and (DI) Dependency Injection.
  • Macaron Macaron - Macaron is a high productive and modular design web framework in Go.
  • mango mango - Mango is a modular web-application framework for Go, inspired by Rack, and PEP333.
  • Microservice Microservice - The framework for the creation of microservices, written in Golang.
  • neo neo - Neo is minimal and fast Go Web Framework with extremely simple API.
  • Resoursea Resoursea - REST framework for quickly writing resource based services.
  • REST Layer - Framework to build REST/GraphQL API on top of databases with mostly configuration over code.
  • Revel Revel - High-productivity web framework for the Go language.
  • rex rex - Rex is a library for modular development built upon gorilla/mux, fully compatible with net/http.
  • sawsij sawsij - lightweight, open-source web framework for building high-performance, data-driven web applications.
  • tango tango - Micro & pluggable web framework for Go.
  • tigertonic tigertonic - Go framework for building JSON web services inspired by Dropwizard.
  • traffic traffic - Sinatra inspired regexp/pattern mux and web framework for Go.
  • utron utron - Lightweight MVC framework for Go(Golang).
  • violetear violetear - Go HTTP router.
  • YARF YARF - Fast micro-framework designed to build REST APIs and web services in a fast and simple way.
  • Zerver Zerver - Zerver is an expressive, modular, feature completed RESTful framework.

Middlewares

Actual middlewares

  • CORS CORS - Easily add CORS capabilities to your API.
  • formjson formjson - Transparently handle JSON input as a standard form POST.
  • Limiter Limiter - Dead simple rate limit middleware for Go.
  • Tollbooth Tollbooth - Rate limit HTTP request handler.
  • XFF XFF - Handle X-Forwarded-For header and friends.

Libraries for creating HTTP middlewares

  • alice alice - Painless middleware chaining for Go.
  • catena catena - http.Handler wrapper catenation (same API as "chain").
  • chain chain - Handler wrapper chaining with scoped data (net/context-based "middleware").
  • go-wrap go-wrap - Small middlewares package for net/http.
  • gores gores - Go package that handles HTML, JSON, XML and etc. responses. Useful for RESTful APIs.
  • interpose interpose - Minimalist net/http middleware for golang.
  • muxchain muxchain - Lightweight middleware for net/http.
  • negroni negroni - Idiomatic HTTP middleware for Golang.
  • render render - Go package for easily rendering JSON, XML, and HTML template responses.
  • renderer renderer - Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go.
  • rye rye - Tiny Go middleware library (with canned Middlewares) that supports JWT, CORS, Statsd, and Go 1.7 context.
  • stats stats - Go middleware that stores various information about your web application.
  • Volatile Volatile - Minimalist middleware stack promoting flexibility, good practices and clean code.

Routers

  • alien alien - Lightweight and fast http router from outer space.
  • Bone Bone - Lightning Fast HTTP Multiplexer.
  • Bxog Bxog - Simple and fast HTTP router for Go. It works with routes of varying difficulty, length and nesting. And he knows how to create a URL from the received parameters.
  • chi chi - Small, fast and expressive HTTP router built on net/context.
  • fasthttprouter fasthttprouter - High performance router forked from httprouter. The first router fit for fasthttp.
  • FastRouter FastRouter - a fast, flexible HTTP router written in Go.
  • gocraft/web gocraft/web - Mux and middleware package in Go.
  • Goji Goji - Goji is a minimalistic and flexible HTTP request multiplexer with support for net/context.
  • GoRouter GoRouter - GoRouter is a Server/API micro framwework, HTTP request router, multiplexer, mux that provides request router with middleware supporting net/context.
  • gowww/router gowww/router - Lightning fast HTTP router fully compatible with the net/http.Handler interface.
  • httprouter httprouter - High performance router. Use this and the standard http handlers to form a very high performance web framework.
  • httptreemux httptreemux - High-speed, flexible tree-based HTTP router for Go. Inspiration from httprouter.
  • lars lars - Is a lightweight, fast and extensible zero allocation HTTP router for Go used to create customizable frameworks.
  • medeina medeina - Medeina is a HTTP routing tree based on HttpRouter, inspired by Roda and Cuba.
  • mux mux - Powerful URL router and dispatcher for golang.
  • ozzo-routing ozzo-routing - An extremely fast Go (golang) HTTP router that supports regular expression route matching. Comes with full support for building RESTful APIs.
  • pat pat - Sinatra style pattern muxer for Go’s net/http library, by the author of Sinatra.
  • pure pure - Is a lightweight HTTP router that sticks to the std "net/http" implementation.
  • Siesta Siesta - Composable framework to write middleware and handlers.
  • vestigo vestigo - Performant, stand-alone, HTTP compliant URL Router for go web applications.
  • xmux xmux - High performance muxer based on httprouter with net/context support.
  • zeus zeus - Very simple and fast HTTP router for Go.

Windows

  • d3d9 d3d9 - Go bindings for Direct3D9.
  • go-ole go-ole - Win32 OLE implementation for golang.

XML

Libraries and tools for manipulating XML.

  • go-pkg-xmlx go-pkg-xmlx - Extension to the standard Go XML package. Maintains a node tree that allows forward/backwards browsing and exposes some simple single/multi-node search functions.
  • XML-Comp XML-Comp - Simple command line XML comparer that generates diffs of folders, files and tags.
  • xmlwriter xmlwriter - Procedural XML generation API based on libxml2's xmlwriter module.
  • xpath xpath - XPath package for Go.
  • xquery xquery - XQuery lets you extract data from HTML/XML documents using XPath expression.

Tools

Go software and plugins.

Code Analysis

  • apicompat apicompat - Checks recent changes to a Go project for backwards incompatible changes.
  • dupl dupl - Tool for code clone detection.
  • errcheck errcheck - Errcheck is a program for checking for unchecked errors in Go programs.
  • gcvis gcvis - Visualise Go program GC trace data in real time.
  • Go Metalinter Go Metalinter - Metalinter is a tool to automatically apply all static analysis tool and report their output in normalized form.
  • go-checkstyle go-checkstyle - checkstyle is a style check tool like java checkstyle. This tool inspired by java checkstyle, golint. The style refered to some points in Go Code Review Comments.
  • go-cleanarch go-cleanarch - go-cleanarch was created to validate Clean Architecture rules, like a The Dependency Rule and interaction between packages in your Go projects.
  • go-outdated go-outdated - Console application that displays outdated packages.
  • goast-viewer goast-viewer - Web based Golang AST visualizer.
  • GoCover.io - GoCover.io offers the code coverage of any golang package as a service.
  • goimports - Tool to fix (add, remove) your Go imports automatically.
  • GoLint GoLint - Golint is a linter for Go source code.
  • Golint online - Lints online Go source files on GitHub, Bitbucket and Google Project Hosting using the golint package.
  • goreturns - Adds zero-value return statements to match the func return types.
  • gosimple gosimple - gosimple is a linter for Go source code that specialises on simplifying code.
  • gostatus gostatus - Command line tool, shows the status of repositories that contain Go packages.
  • interfacer interfacer - Linter that suggests interface types.
  • lint lint - Run linters as part of go test.
  • staticcheck staticcheck - staticcheck is go vet on steroids, applying a ton of static analysis checks you might be used to from tools like ReSharper for C#.
  • tarp tarp - tarp finds functions and methods without direct unit tests in Go source code.
  • unconvert unconvert - Remove unnecessary type conversions from Go source.
  • unused unused - unused checks Go code for unused constants, variables, functions and types.
  • validate validate - Automatically validates struct fields with tags.

Editor Plugins

  • Go plugin for JetBrains IDEs - Go plugin for JetBrains IDEs.
  • go-mode go-mode - Go mode for GNU/Emacs.
  • go-plus go-plus - Go (Golang) Package For Atom That Adds Autocomplete, Formatting, Syntax Checking, Linting and Vetting.
  • Goclipse Goclipse - Eclipse plugin for Go.
  • gocode gocode - Autocompletion daemon for the Go programming language.
  • GoSublime GoSublime - Golang plugin collection for the text editor SublimeText 2 providing code completion and other IDE-like features.
  • velour velour - IRC client for the acme editor.
  • vim-compiler-go vim-compiler-go - Vim plugin to highlight syntax errors on save.
  • vim-go vim-go - Go development plugin for Vim.
  • vscode-go vscode-go - Extension for Visual Studio Code (VS Code) which provides support for the Go language.
  • Watch Watch - Runs a command in an acme win on file changes.

Go Generate Tools

  • generic generic - flexible data type for Go.
  • genny genny - Elegant generics for Go.
  • gonerics - Idiomatic Generics in Go.
  • gotests gotests - Generate Go tests from your source code.
  • re2dfa re2dfa - Transform regular expressions into finite state machines and output Go source code.

Go Tools

  • colorgo colorgo - Wrapper around go command for colorized go build output.
  • depth depth - Visualize dependency trees of any package by analyzing imports.
  • gb - An easy to use project based build tool for the Go programming language.
  • go-callvis go-callvis - Visualize call graph of your Go program using dot format.
  • go-pkg-complete go-pkg-complete - Bash completion for go and wgo.
  • go-swagger go-swagger - Swagger 2.0 implementation for go. Swagger is a simple yet powerful representation of your RESTful API.
  • OctoLinker OctoLinker - Navigate through go files efficiently with the OctoLinker browser extension for GitHub.
  • richgo richgo - Enrich go test outputs with text decorations.
  • rts rts - RTS: response to struct. Generates Go structs from server responses.

Software Packages

Software written in Go.

DevOps Tools

  • aptly aptly - aptly is a Debian repository management tool.
  • aurora aurora - Cross-platform web-based Beanstalkd queue server console.
  • awsenv awsenv - Small binary that loads Amazon (AWS) environment variables for a profile.
  • Banshee Banshee - Anomalies detection system for periodic metrics.
  • bombardier bombardier - Fast cross-platform HTTP benchmarking tool.
  • bosun bosun - Time Series Alerting Framework.
  • dogo dogo - Monitoring changes in the source file and automatically compile and run (restart).
  • drone-jenkins drone-jenkins - Trigger downstream Jenkins jobs using a binary, docker or Drone CI.
  • drone-scp drone-scp - Copy files and artifacts via SSH using a binary, docker or Drone CI.
  • Dropship Dropship - Tool for deploying code via cdn.
  • easyssh-proxy easyssh-proxy - Golang package for easy remote execution through SSH and SCP downloading via ProxyCommand.
  • Gitea Gitea - Fork of Gogs, entirely community driven.
  • Go Metrics Go Metrics - Go port of Coda Hale's Metrics library: https://github.com/codahale/metrics.
  • go-selfupdate go-selfupdate - Enable your Go applications to self update.
  • gobrew gobrew - gobrew lets you easily switch between multiple versions of go.
  • godbg godbg - Web-based gdb front-end application.
  • Gogs - A Self Hosted Git Service in the Go Programming Language.
  • gonative gonative - Tool which creates a build of Go that can cross compile to all platforms while still using the Cgo-enabled versions of the stdlib packages.
  • govvv govvv - “go build” wrapper to easily add version information into Go binaries.
  • gox gox - Dead simple, no frills Go cross compile tool.
  • goxc goxc - build tool for Go, with a focus on cross-compiling and packaging.
  • grapes grapes - Lightweight tool designed to distribute commands over ssh with ease.
  • GVM GVM - GVM provides an interface to manage Go versions.
  • Hey Hey - Hey is a tiny program that sends some load to a web application.
  • kala kala - Simplistic, modern, and performant job scheduler.
  • kubernetes kubernetes - Container Cluster Manager from Google.
  • Moby Moby - Collaborative project for the container ecosystem to assemble container-based systems.
  • Mora Mora - REST server for accessing MongoDB documents and meta data.
  • ostent ostent - collects and displays system metrics and optionally relays to Graphite and/or InfluxDB.
  • Packer Packer - Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
  • Pewpew Pewpew - Flexible HTTP command line stress tester.
  • Rodent Rodent - Rodent helps you manage Go versions, projects and track dependencies.
  • s3gof3r s3gof3r - Small utility/library optimized for high speed transfer of large objects into and out of Amazon S3.
  • Scaleway-cli Scaleway-cli - Manage BareMetal Servers from Command Line (as easily as with Docker).
  • sg sg - Benchmarks a set of HTTP endpoints (like ab), with possibility to use the reponse code and data between each call for specific server stress based on its previous response.
  • skm skm - SKM is a simple and powerful SSH Keys Manager, it helps you to manage your multiple SSH keys easily!
  • StatusOK StatusOK - Monitor your Website and REST APIs.Get Notified through Slack, E-mail when your server is down or response time is more than expected.
  • Vegeta Vegeta - HTTP load testing tool and library. It's over 9000!
  • webhook webhook - Tool which allows user to create HTTP endpoints (hooks) that execute commands on the server.
  • Wide - Web-based IDE for Teams using Golang.
  • winrm-cli winrm-cli - Cli tool to remotely execute commands on Windows machines.

Other Software

  • borg borg - Terminal based search engine for bash snippets.
  • boxed boxed - Dropbox based blog engine.
  • Cherry Cherry - Tiny webchat server in Go.
  • Circuit Circuit - Circuit is a programmable platform-as-a-service (PaaS) and/or Infrastructure-as-a-Service (IaaS), for management, discovery, synchronization and orchestration of services and hosts comprising cloud applications.
  • Comcast Comcast - Simulate bad network connections.
  • confd confd - Manage local application configuration files using templates and data from etcd or consul.
  • DDNS DDNS - Personal DDNS client with Digital Ocean Networking DNS as backend.
  • Docker - Open platform for distributed applications for developers and sysadmins.
  • Documize Documize - Modern wiki software that integrates data from SaaS tools.
  • fleet fleet - Distributed init System.
  • Go Package Store Go Package Store - App that displays updates for the Go packages in your GOPATH.
  • gocc gocc - Gocc is a compiler kit for Go written in Go.
  • GoDNS GoDNS - A dynamic DNS client tool, supports DNSPod & HE.net, written in Go.
  • GoDocTooltip GoDocTooltip - Chrome extension for Go Doc sites, which shows function description as tooltip at funciton list.
  • Gogland - Full featured cross-platform Go IDE.
  • Gor Gor - Http traffic replication tool, for replaying traffic from production to stage/dev environments in real-time.
  • hugo - Fast and Modern Static Website Engine.
  • ide ide - Browser accessible IDE. Designed for Go with Go.
  • ipe ipe - Open source Pusher server implementation compatible with Pusher client libraries written in GO.
  • JayDiff JayDiff - JSON diff utility written in Go.
  • Juju - Cloud-agnostic service deployment and orchestration - supports EC2, Azure, Openstack, MAAS and more.
  • Leaps Leaps - Pair programming service using Operational Transforms.
  • limetext - Lime Text is a powerful and elegant text editor primarily developed in Go that aims to be a Free and open-source software successor to Sublime Text.
  • LiteIDE LiteIDE - LiteIDE is a simple, open source, cross-platform Go IDE.
  • mockingjay mockingjay - Fake HTTP servers and consumer driven contracts from one configuration file. You can also make the server randomly misbehave to help do more realistic performance tests.
  • myLG myLG - Command Line Network Diagnostic tool written in Go.
  • naclpipe naclpipe - Simple NaCL EC25519 based crypto pipe tool written in Go.
  • nes nes - Nintendo Entertainment System (NES) emulator written in Go.
  • orange-cat orange-cat - Markdown previewer written in Go.
  • Orbit Orbit - A simple tool for running commands and generating files from templates.
  • peg peg - Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator.
  • Postman Postman - Command-line utility for batch-sending email.
  • restic restic - De-duplicating backup program.
  • rkt rkt - App Container runtime that integrates with init systems, is compatible with other container formats like Docker, and supports alternative execution engines like KVM.
  • Seaweed File System Seaweed File System - Fast, Simple and Scalable Distributed File System with O(1) disk seek.
  • shell2http shell2http - Executing shell commands via http server (for prototyping or remote control).
  • snap snap - Powerful telemetry framework.
  • Stack Up Stack Up - Stack Up, a super simple deployment tool - just Unix - think of it like 'make' for a network of servers.
  • syncthing - Open, decentralized file synchronization tool and protocol.
  • Tenyks Tenyks - Service oriented IRC bot using Redis and JSON for messaging.
  • toto toto - Simple proxy server written in Go language, can be used together with browser.
  • toxiproxy toxiproxy - Proxy to simulate network and system conditions for automated tests.
  • tsuru - Extensible and open source Platform as a Service software.
  • vFlow vFlow - High-performance, scalable and reliable IPFIX, sFlow and Netflow collector.
  • websysd websysd - Web based process manager (like Marathon or Upstart).
  • wellington wellington - Sass project management tool, extends the language with sprite functions (like Compass).

Resources

Where to discover new Go libraries.

Benchmarks

  • autobench autobench - Framework to compare the performance between different Go versions.
  • go-benchmark-app go-benchmark-app - Powerful HTTP-benchmark tool mixed with Аb, Wrk, Siege tools. Gathering statistics and various parameters for benchmarks and comparison results.
  • go-benchmarks go-benchmarks - Few miscellaneous Go microbenchmarks. Compare some language features to alternative approaches.
  • go-http-routing-benchmark go-http-routing-benchmark - Go HTTP request router benchmark and comparison.
  • go-type-assertion-benchmark go-type-assertion-benchmark - Naive performance test of two ways to do type assertion in Go.
  • go-web-framework-benchmark go-web-framework-benchmark - Go web framework benchmark.
  • go_serialization_benchmarks go_serialization_benchmarks - Benchmarks of Go serialization methods.
  • gocostmodel gocostmodel - Benchmarks of common basic operations for the Go language.
  • golang-micro-benchmarks golang-micro-benchmarks - Tiny collection of Go micro benchmarks. The intent is to compare some language features to others.
  • golang-sql-benchmark golang-sql-benchmark - Collection of benchmarks for popular Go database/SQL utilities.
  • gospeed gospeed - Go micro-benchmarks for calculating the speed of language constructs.
  • kvbench kvbench - Key/Value database benchmark.
  • skynet skynet - Skynet 1M threads microbenchmark.
  • speedtest-resize speedtest-resize - Compare various Image resize algorithms for the Go language.

Conferences

E-Books

Meetups

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

Twitter

Websites

Tutorials

About

A curated list of awesome Go frameworks, libraries and software

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%