Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
awesome-go-sorted-by-stars-2019-12-30.md

Awesome Go

Build Status Awesome Slack Widget Netlify Status

patreon avelino financial support to Awesome Go

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.

  •    501 Oto - A low-level library to play sound on multiple platforms.
  •    330 PortAudio - Go bindings for the PortAudio audio I/O library.
  •    274 music-theory - Music theory models in Go.
  •    267 waveform - Go package capable of generating waveform images from audio streams.
  •    220 portmidi - Go bindings for PortMidi.
  •    127 id3v2 - Fast and stable ID3 parsing and writing library for Go.
  •    112 flac - Native Go FLAC encoder/decoder with support for FLAC streams.
  •    105 mix - Sequence-based Go-native audio mixer for music apps.
  •    102 mp3 - Native Go MP3 decoder.
  •    100 go-sox - libsox bindings for go.
  •     89 malgo - Mini audio library.
  •     72 taglib - Go bindings for taglib.
  •     63 gaad - Native Go AAC bitstream parser.
  •     33 minimp3 - Lightweight MP3 decoder library.
  •     28 go_mediainfo - libmediainfo bindings for go.
  •     24 EasyMIDI - EasyMidi is a simple and reliable library for working with standard midi file (SMF).
  •     24 vorbis - "Native" Go Vorbis decoder (uses CGO, but has no dependencies).
  •      9 gosamplerate - libsamplerate bindings for go.

Authentication and OAuth

Libraries for implementing authentications schemes.

  •   6803 jwt-go - Golang implementation of JSON Web Tokens (JWT).
  •   5815 casbin - Authorization library that supports access control models like ACL, RBAC, ABAC.
  •   2630 oauth2 - Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine and App Engine support.
  •   2453 goth - provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.
  •   2076 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.
  •   1570 osin - Golang OAuth2 server library.
  •   1416 go-jose - Fairly complete implementation of the JOSE working group's JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs.
  •   1401 go-oauth2-server - Standalone, specification-compliant, OAuth2 server written in Golang.
  •   1132 gologin - chainable handlers for login with OAuth1 and OAuth2 authentication providers.
  •    965 gorbac - provides a lightweight role-based access control (RBAC) implementation in Golang.
  •    878 loginsrv - JWT login microservice with plugable backends such as OAuth2 (Github), htpasswd, osiam.
  •    650 scs - Session Manager for HTTP servers.
  •    381 permissions2 - Library for keeping track of users, login states and permissions. Uses secure cookies and bcrypt.
  •    277 paseto - Golang implementation of Platform-Agnostic Security Tokens (PASETO).
  •    189 httpauth - HTTP Authentication middleware.
  •    183 jeff - Simple, flexible, secure and idiomatic web session management with pluggable backends.
  •    163 jwt-auth - JWT middleware for Golang http servers with many configuration options.
  •    137 jwt - Lightweight JSON Web Token (JWT) library.
  •     95 session - Go session management for web servers (including support for Google App Engine - GAE).
  •     89 branca - Golang implementation of Branca Tokens.
  •     78 jwt - Clean and easy to use implementation of JSON Web Tokens (JWT).
  •     75 sessionup - Simple, yet effective HTTP session management and identification package.
  •     48 sessions - Dead simple, highly performant, highly customizable sessions service for go http servers.
  •     47 sjwt - Simple jwt generator and parser.
  •     42 rbac - Minimalistic RBAC package for Go applications.
  •     34 securecookie - Efficient secure cookie encoding/decoding.
  •      8 sessiongate-go - Go session management using the SessionGate Redis module.
  •      8 signedvalue - Signed and timestamped strings compatible with Tornado's create_signed_value, decode_signed_value, and therefore set_secure_cookie and get_secure_cookie.
  •      2 scope - Easily Manage OAuth2 Scopes In Go.
  •      2 cookiestxt - provides parser of cookies.txt file format.

Bot Building

Libraries for building and working with bots.

  •   1843 telegram-bot-api - Simple and clean Telegram bot client.
  •   1063 telebot - Telegram bot framework written in Go.
  •    532 go-chat-bot - IRC, Slack & Telegram bot written in Go.
  •    344 slacker - Easy to use framework to create Slack bots.
  •    334 go-joe - A general-purpose bot library inspired by Hubot but written in Go.
  •    263 Golang CryptoTrading Bot - A golang implementation of a console-based trading bot for cryptocurrency exchanges.
  •    245 Kelp - official trading and market-making bot for the Stellar DEX. Works out-of-the-box, written in Golang, compatible with centralized exchanges and custom trading strategies.
  •    242 tbot - Telegram bot server with API similar to net/http.
  •    168 Tenyks - Service oriented IRC bot using Redis and JSON for messaging.
  •    150 go-sarah - Framework to build bot for desired chat services including LINE, Slack, Gitter and more.
  •    116 hanu - Framework for writing Slack bots.
  •     91 go-tgbot - Pure Golang Telegram Bot API wrapper, generated from swagger file, session-based router and middleware.
  •     60 margelet - Framework for building Telegram bots.
  •     29 govkbot - Simple Go VK bot library.
  •     19 slackscot - Another framework for building Slack bots.
  •     12 micha - Go Library for Telegram bot api.

Command Line

Standard CLI

Libraries for building standard or basic Command Line applications.

  •  15213 cobra - Commander for modern Go CLI interactions.
  •  12782 urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).
  •   2765 kingpin - Command line and flag parser supporting sub commands.
  •   1594 go-flags - go command line option parser.
  •   1432 readline - Pure golang implementation that provides most features in GNU-Readline under MIT license.
  •   1394 Dnote - A simple and end-to-end encrypted notebook for developers.
  •   1208 docopt.go - Command-line arguments parser that will make you smile.
  •   1066 mitchellh/cli - Go library for implementing command-line interfaces.
  •    949 pflag - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
  •    888 cli-init - The easy way to start building Golang command line applications.
  •    808 go-arg - Struct-based argument parsing in Go.
  •    659 complete - Write bash completions in Go + Go command bash completion.
  •    646 mow.cli - Go library for building CLI applications with sophisticated flag and argument parsing and validation.
  •    626 liner - Go readline-like library for command-line interfaces.
  •    529 flaggy - A robust and idiomatic flags package with excellent subcommand support.
  •    504 cli - Feature-rich and easy to use command-line package based on golang struct tags.
  •    321 ops - Unikernel Builder/Orchestrator.
  •    166 climax - Alternative CLI with "human face", in spirit of Go command.
  •    145 argparse - Command line argument parser inspired by Python's argparse module.
  •    108 hiboot cli - cli application framework with auto configuration and dependency injection.
  •    104 commandeer - Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags.
  •    102 flag - Simple but powerful command line option parsing library for Go supporting subcommand.
  •    102 sflags - Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin and other libraries.
  •     98 ukautz/clif - Small command line interface framework.
  •     95 wmenu - Easy to use menu structure for cli applications that prompts users to make choices.
  •     65 job - JOB, make your short-term command as a long-term job.
  •     58 cli - Simple and complete API for building command line interfaces in Go.
  •     45 env - Tag-based environment configuration for structs.
  •     43 1build - Command line tool to frictionlessly manage project-specific commands.
  •     40 wlog - Simple logging interface that supports cross-platform color and concurrency.
  •     37 gocmd - Go library for building command line applications.
  •     32 strumt - Library to create prompt chain.
  •     32 flagvar - A collection of flag argument types for Go's standard flag package.
  •     26 cmdr - A POSIX/GNU style, getopt-like command-line UI Go library.
  •     18 go-getoptions - Go option parser inspired on the flexibility of Perl’s GetOpt::Long.
  •     18 argv - Go library to split command line string as arguments array using the bash syntax.
  •     15 go-commander - Go library to simplify CLI workflow.
  •      9 sand - Simple API for creating interpreters and so much more.
  •      7 ts - Timestamp convert & compare tool.
  •      2 clîr - A Simple and Clear CLI library. Dependency free.
  •      2 cmd - Extends the standard flag package to support sub commands and more in idomatic way.

Advanced Console UIs

Libraries for building Console Applications and Console User Interfaces.

  •   9374 termui - Go terminal dashboard based on termbox-go and inspired by blessed-contrib.
  •   5821 gocui - Minimalist Go library aimed at creating Console User Interfaces.
  •   3618 termbox-go - Termbox is a library for creating cross-platform text-based interfaces.
  •   2725 go-prompt - Library for building a powerful interactive prompt, inspired by python-prompt-toolkit.
  •   1609 uiprogress - Flexible library to render progress bars in terminal applications.
  •   1236 asciigraph - Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
  •   1047 uilive - Library for updating terminal output in realtime.
  •    904 termdash - Go terminal dashboard based on termbox-go and inspired by termui.
  •    820 progressbar - Basic thread-safe progress bar that works in every OS.
  •    812 mpb - Multi progress bar for terminal applications.
  •    750 aurora - ANSI terminal colors that supports fmt.Printf/Sprintf.
  •    531 uitable - Library to improve readability in terminal apps using tabular data.
  •    397 go-colorable - Colorable writer for windows.
  •    383 go-isatty - isatty for golang.
  •    324 chalk - Intuitive package for prettifying terminal/console output.
  •    317 gommon/color - Style terminal text.
  •    295 gookit/color - Terminal color rendering tool library, support 16 colors, 256 colors, RGB color rendering output, compatible with Windows.
  •    256 tabby - A tiny library for super simple Golang tables.
  •    201 go-colortext - Go library for color output in terminals.
  •    181 simpletable - Simple tables in terminal with Go.
  •     70 cfmt - Contextual fmt inspired by bootstrap color classes.
  •     35 tabular - Print ASCII tables from command line utilities without the need to pass large sets of data to the API.
  •     17 colourize - Go library for ANSI colour text in terminals.
  •     12 ctc - The non-invasive cross-platform terminal color library does not need to modify the Print method.
  •      8 go-ataman - Go library for rendering ANSI colored text templates in terminals.

Configuration

Libraries for configuration parsing.

  •  10760 viper - Go configuration with fangs.
  •   2687 kelseyhightower/envconfig - Go library for managing configuration data from environment variables.
  •   2485 godotenv - Go port of Ruby's dotenv library (Loads environment variables from .env).
  •   1830 ini - Go package to read and write INI files.
  •   1368 env - Parse environment variables to Go structs (with defaults).
  •    543 konfig - Composable, observable and performant config handling for Go for the distributed processing era.
  •    283 confita - Load configuration in cascade from multiple backends into a struct.
  •    246 store - Lightweight configuration manager for Go.
  •    221 config - Cloud native application configuration. Bind ENV to structs in only two lines.
  •    221 config - JSON or YAML configuration wrapper with environment variables and flags parsing.
  •    198 joshbetz/config - Small configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP.
  •    183 hjson - Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.
  •    169 envconfig - Read your configuration from environment variables.
  •    129 gookit/config - application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge.
  •    122 gcfg - read INI-style configuration files into Go structs; supports user-defined types and subsections.
  •    119 goConfig - Parses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.
  •    119 koanf - Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line.
  •     92 envh - Helpers to manage environment variables.
  •     90 envcfg - Un-marshaling environment variables to Go structs.
  •     65 onion - Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP.
  •     58 gofigure - Go application configuration made easy.
  •     53 configure - Provides configuration through multiple sources, including JSON, flags and environment variables.
  •     47 harvester - Harvester, a easy to use static and dynamic configuration package supportig seeding, env vars and Consul integration.
  •     43 xdg - Cross platform package that follows the XDG Standard.
  •     38 config - A lightweight yet powerful config package for Go projects.
  •     34 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.
  •     27 go-up - A simple configuration library with recursive placeholders resolution and no magic.
  •     26 ingo - Flags persisted in an ini-like config file.
  •     20 mini - Golang package for parsing ini-style configuration files.
  •     11 conflate - Library/tool to merge multiple JSON/YAML/TOML files from arbitrary URLs, validation against a JSON schema, and application of default values defined in the schema.
  •      8 envconf - Configuration from environment.
  •      8 genv - Read environment variables easily with dotenv support.
  •      5 sprbox - Build-environment aware toolbox factory and agnostic config parser (YAML, TOML, JSON and Environment vars).
  •      2 nasermirzaei89/env - Simple useful package for read environment variables.

Continuous Integration

Tools for help with continuous integration.

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

CSS Preprocessors

Libraries for preprocessing CSS files.

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

Data Structures

Generic datastructures and algorithms in Go.

  •   7465 gods - Go Data Structures. Containers, Sets, Lists, Stacks, Maps, BidiMaps, Trees, HashSet etc.
  •   5377 go-datastructures - Collection of useful, performant, and thread-safe data structures.
  •   1356 golang-set - Thread-Safe and Non-Thread-Safe high-performance sets for Go.
  •   1219 boomfilters - Probabilistic data structures for processing continuous, unbounded streams.
  •   1039 gota - Implementation of dataframes, series, and data wrangling methods for Go.
  •    761 roaring - Go package implementing compressed bitsets.
  •    730 willf/bloom - Go package implementing Bloom filters.
  •    676 hyperloglog - HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction.
  •    567 cuckoofilter - Cuckoo filter: a good alternative to a counting bloom filter implemented in Go.
  •    527 bitset - Go package implementing bitsets.
  •    448 trie - Trie implementation in Go.
  •    328 algorithms - Algorithms and data structures.CLRS study.
  •    317 go-geoindex - In-memory geo index.
  •    316 gocache - A complete Go cache library with mutiple stores (memory, memcache, redis, ...), chainable, loadable, metrics cache and more.
  •    280 mafsa - MA-FSA implementation with Minimal Perfect Hashing.
  •    215 goskiplist - Skip list implementation in Go.
  •    191 hilbert - Go package for mapping values to and from space-filling curves, such as Hilbert and Peano curves.
  •    174 merkletree - Implementation of a merkle tree providing an efficient and secure verification of the contents of data structures.
  •    131 bloom - Bloom filters implemented in Go.
  •    131 binpacker - Binary packer and unpacker helps user build custom binary stream.
  •    121 ttlcache - In-memory LRU string-interface{} map with expiration for golang.
  •    119 go-adaptive-radix-tree - Go implementation of Adaptive Radix Tree.
  •    109 skiplist - Very fast Go Skiplist implementation.
  •    103 iter - Go implementation of C++ STL iterators and algorithms.
  •    101 go-rquad - Region quadtrees with efficient point location and neighbour finding.
  •     97 encoding - Integer Compression Libraries for Go.
  •     95 ring - Go implementation of a high performance, thread safe bloom filter.
  •     95 deque - Fast ring-buffer deque (double-ended queue).
  •     84 conjungo - A small, powerful and flexible merge library.
  •     75 bit - Golang set data structure with bonus bit-twiddling functions.
  •     67 skiplist - Skiplist implementation in Go.
  •     61 levenshtein - Implementation to calculate levenshtein distance in Go.
  •     54 goconcurrentqueue - Concurrent FIFO queue.
  •     46 bloom - Golang Bloom filter implementation.
  •     44 count-min-log - Go implementation Count-Min-Log sketch: Approximately counting with approximate counters (Like Count-Min sketch but using less memory).
  •     42 go-mcache - Fast in-memory key:value store/cache library. Pointer caches.
  •     37 levenshtein - Levenshtein distance and similarity metrics with customizable edit costs and Winkler-like bonus for common prefix.
  •     32 remember-go - A universal interface for caching slow database queries (backed by redis, memcached, ristretto, or in-memory).
  •     26 concurrent-writer - Highly concurrent drop-in replacement for bufio.Writer.
  •     22 crunch - Go package implementing buffers for handling various datatypes easily.
  •     19 pipeline - An implementation of pipelines with fan-in and fan-out.
  •     18 goset - A useful Set collection implementation for Go.
  •     15 typ - Null Types, Safe primitive type conversion and fetching value from complex structures.
  •     13 deque - A highly optimized double-ended queue.
  •     11 go-ef - A Go implementation of the Elias-Fano encoding.
  •     11 hide - ID type with marshalling to/from hash to prevent sending IDs to clients.
  •     10 dict - Python-like dictionaries (dict) for Go.
  •      8 mspm - Multi-String Pattern Matching Algorithm for information retrieval.
  •      8 null - Nullable Go types that can be marshalled/unmarshalled to/from JSON.
  •      7 set - Simple set data structure implementation in Go using LinkedHashMap.
  •      7 treap - Persistent, fast ordered map using tree heaps.
  •      5 timedmap - Map with expiring key-value pairs.
  •      4 gofal - fractional api for Go.
  •      3 parsefields - Tools for parse JSON-like logs for collecting unique fields and events.
  •      3 ptrie - An implementation of prefix tree.

Database

Databases implemented in Go.

  •  28450 prometheus - Monitoring system and time series database.
  •  22093 tidb - TiDB is a distributed SQL database. Inspired by the design of Google F1.
  •  18046 influxdb - Scalable datastore for metrics, events, and real-time analytics.
  •  17545 cockroach - Scalable, Geo-Replicated, Transactional Datastore.
  •  12066 dgraph - Scalable, Distributed, Low Latency, High Throughput Graph Database.
  •  10373 bolt - Low-level key/value database for Go.
  •   8104 groupcache - Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
  •   7107 badger - Fast key-value store in Go.
  •   5243 rqlite - The lightweight, distributed, relational database built on SQLite.
  •   3471 goleveldb - Implementation of the LevelDB key/value database in Go.
  •   3452 BigCache - Efficient key/value cache for gigabytes of data.
  •   3363 go-cache - In-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
  •   3189 ledisdb - Ledisdb is a high performance NoSQL like Redis based on LevelDB.
  •   2585 buntdb - Fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support.
  •   2430 tiedot - Your NoSQL database powered by Golang.
  •   1588 VictoriaMetrics - fast, resource-effective and scalable open source time series database. May be used as long-term remote storage for Prometheus. Supports PromQL.
  •   1170 cache2go - In-memory key:value cache which supports automatic invalidation based on timeouts.
  •   1064 nutsdb - Nutsdb is a simple, fast, embeddable, persistent key/value store written in pure Go. It supports fully serializable transactions and many data structures such as list, set, sorted set.
  •   1022 GCache - Cache library with support for expirable Cache, LFU, LRU and ARC.
  •    970 CovenantSQL - CovenantSQL is a SQL database on blockchain.
  •    840 diskv - Home-grown disk-backed key-value store.
  •    743 moss - Moss is a simple LSM key-value storage engine written in 100% Go.
  •    651 fastcache - fast thread-safe inmemory cache for big number of entries. Minimizes GC overhead.
  •    556 eliasdb - Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.
  •    375 levigo - Levigo is a Go wrapper for LevelDB.
  •    240 Bitcask - Bitcask is an embeddable, persistent and fast key-value (KV) database written in pure Go with predictable read/write performance, low latency and high throughput thanks to the bitcask on-disk layout (LSM+WAL).
  •    239 pudge - Fast and simple key/value store written using Go's standard library.
  •    171 piladb - Lightweight RESTful database engine based on stack data structures.
  •    165 Vasto - A distributed high-performance key-value store. On Disk. Eventual consistent. HA. Able to grow or shrink without service interruption.
  •    137 Kivik - Kivik provides a common Go and GopherJS client library for CouchDB, PouchDB, and similar databases.
  •     94 slowpoke - Key-value store with persistence.
  •     82 Scribble - Tiny flat file JSON store.
  •     46 couchcache - RESTful caching micro-service backed by Couchbase server.
  •     39 bcache - Eventually consistent distributed in-memory cache Go library.
  •     31 clusteredBigCache - BigCache with clustering support and individual item expiration.
  •     28 cache - In-memory key:value store with expiration time, 0 dependencies, <100 LoC, 100% coverage.
  •     17 Coffer - Simple ACID key-value database that supports transactions.
  •     14 tempdb - Key-value store for temporary items.
  •     12 gorocksdb - Gorocksdb is a wrapper for RocksDB written in Go.

Database schema migration.

  •   3440 migrate - Database migrations. CLI and Golang library.
  •   1562 sql-migrate - Database migration tool. Allows embedding migrations into the application using go-bindata.
  •    781 soda - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
  •    495 skeema - Pure-SQL schema management system for MySQL, with support for sharding and external online schema change tools.
  •    389 gormigrate - Database schema migration helper for Gorm ORM.
  •    127 goose - Database migration tool. You can manage your database's evolution by creating incremental SQL or Go scripts.
  •     96 darwin - Database schema evolution library for Go.
  •     83 migrator - Dead simple Go database migration library.
  •     37 go-pg-migrations - A Go package to help write migrations with go-pg/pg.
  •     26 gondolier - Database migration library using struct decorators.
  •     24 pravasan - Simple Migration tool - currently for MySQL but planning to soon support Postgres, SQLite, MongoDB, etc.
  •     22 go-fixtures - Django style fixtures for Golang's excellent built-in database/sql library.
  •     10 avro - Discover SQL schemas and convert them to AVRO schemas. Query SQL records into AVRO bytes.
  •      4 schema - Library to embed schema migrations for database/sql-compatible databases inside your Go binaries.

Database tools.

  •   9285 vitess - vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.
  •   6204 pgweb - Web-based PostgreSQL database browser.
  •   4938 kingshard - kingshard is a high performance proxy for MySQL powered by Golang.
  •   3288 orchestrator - MySQL replication topology manager & visualizer.
  •   2718 go-mysql-elasticsearch - Sync your MySQL data into Elasticsearch automatically.
  •   2174 pREST - Serve a RESTful API from any PostgreSQL database.
  •   2144 go-mysql - Go toolset to handle MySQL protocol and replication.
  •    351 chproxy - HTTP proxy for ClickHouse database.
  •    165 clickhouse-bulk - Collects small insterts and sends big requests to ClickHouse servers.
  •    155 myreplication - MySql binary log replication listener. Supports statement and row based replication.
  •     71 octillery - Go package for sharding databases ( Supports every ORM or raw SQL ).
  •     31 dbbench - Database benchmarking tool with support for several databases and scripts.
  •     25 prep - Use prepared SQL statements without changing your code.
  •     12 datagen - A fast data generator that's multi-table aware and supports multi-row DML.
  •     10 rwdb - rwdb provides read replica capability for multiple database servers setup.
  •      6 bucket - Optimized data structure framework for Couchbase specialized on one bucket usage.

SQL query builder, libraries for building and using SQL.

  •   2625 Squirrel - Go library that helps you build SQL queries.
  •   2342 xo - Generate idiomatic Go code for databases based on existing schema definitions or custom queries supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server.
  •    920 gendry - Non-invasive SQL builder and powerful data binder.
  •    710 goqu - Idiomatic SQL builder and query library.
  •    484 Dotsql - Go library that helps you keep sql files in one place and use them with ease.
  •    447 ozzo-dbx - Powerful data retrieval methods as well as DB-agnostic query building capabilities.
  •    196 sqrl - SQL query builder, fork of Squirrel with improved performance.
  •    186 jet - Framework for writing type-safe SQL queries in Go, with ability to easily convert database query result into desired arbitrary object structure.
  •     82 dbq - Zero boilerplate database operations for Go.
  •     78 igor - Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax.
  •     50 godbal - Database Abstraction Layer (dbal) for go. Support SQL builder and get result easily.
  •      5 sqlf - Fast SQL query builder.
  •      4 qry - Tool that generates constants from files with raw SQL queries.
  •      0 Squalus - Thin layer over the Go SQL package that makes it easier to perform queries.
  •      0 ormlite - Lightweight package containing some ORM-like features and helpers for sqlite databases.
  •      0 scaneo - Generate Go code to convert database rows into arbitrary structs.

Database Drivers

Libraries for connecting and operating databases.

  • Relational Databases

    •   8836 go-sql-driver/mysql - MySQL driver for Go.
    •   5548 pq - Pure Go Postgres driver for database/sql.
    •   3706 go-sqlite3 - SQLite3 driver for go that uses database/sql.
    •   2258 pgx - PostgreSQL driver supporting features beyond those exposed by database/sql.
    •   1118 go-mssqldb - Microsoft MSSQL driver for Go.
    •    427 go-oci8 - Oracle driver for go that uses database/sql.
    •    280 goracle - Oracle driver for Go, using the ODPI-C driver.
    •    114 firebirdsql - Firebird RDBMS SQL driver for Go.
    •     96 go-adodb - Microsoft ActiveX Object DataBase driver for go that uses database/sql.
    •     94 gofreetds - Microsoft MSSQL driver. Go wrapper over FreeTDS.
    •     46 avatica - Apache Avatica/Phoenix SQL driver for database/sql.
    •     12 bgc - Datastore Connectivity for BigQuery for go.
  • NoSQL Databases

    •   7691 redis - Redis client for Golang.
    •   6862 redigo - Redigo is a Go client for the Redis database.
    •   3836 mongo-go-driver - Official MongoDB driver for the Go language.
    •   1731 mgo - (unmaintained) MongoDB driver for the Go language that implements a rich and well tested selection of features under a very simple API following standard Go idioms.
    •   1711 gocql - Go language driver for Apache Cassandra.
    •   1490 gorethink - Go language driver for RethinkDB.
    •   1158 gomemcache - memcache client library for the Go programming language.
    •    362 redeo - Redis-protocol compatible TCP servers/services.
    •    362 neoism - Neo4j client for Golang.
    •    315 aerospike-client-go - Aerospike client in Go language.
    •    307 gocb - Official Couchbase Go SDK.
    •    297 go-couchbase - Couchbase client in Go.
    •    108 go-rejson - Golang client for redislabs' ReJSON module using Redigo golang client. Store and manipulate structs as JSON objects in redis with ease.
    •     74 Neo4j-GO - Neo4j REST Client in golang.
    •     67 godis - redis client implement by golang, inspired by jedis.
    •     66 arangolite - Lightweight golang driver for ArangoDB.
    •     66 dynago - Dynago is a principle of least surprise client for DynamoDB.
    •     33 go-pilosa - Go client library for Pilosa.
    •     28 forestdb - Go bindings for ForestDB.
    •     25 neo4j - Neo4j Rest API Bindings for Golang.
    •     24 goriak - Go language driver for Riak KV.
    •      9 xredis - Typesafe, customizable, clean & easy to use Redis client.
    •      6 godscache - A wrapper for the Google Cloud Platform Go Datastore package that adds caching using memcached.
    •      4 asc - Datastore Connectivity for Aerospike for go.
  • Search and Analytic Databases.

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

    •  13094 cayley - Graph database with support for multiple backends.
    •    152 gokv - Simple key-value store abstraction and implementations for Go (Redis, Consul, etcd, bbolt, BadgerDB, LevelDB, Memcached, DynamoDB, S3, PostgreSQL, MongoDB, CockroachDB and many more).
    •    113 cachego - Golang Cache component for multiple drivers.
    •     14 dsc - Datastore connectivity for SQL, NoSQL, structured files.

Date and Time

Libraries for working with dates and times.

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

Distributed Systems

Packages that help with building Distributed Systems.

  •  28937 raft - Go implementation of the Raft consensus protocol, by CoreOS.
  •  15921 go-kit - Microservice toolkit with support for service discovery, load balancing, pluggable transports, request tracking, etc.
  •  10367 grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC.
  •   7360 micro - Pluggable microservice toolkit and distributed systems platform.
  •   7061 NATS - Lightweight, high performance messaging system for microservices, IoT, and cloud native systems.
  •   4218 rpcx - Distributed pluggable RPC service framework like alibaba Dubbo.
  •   3432 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.
  •   3201 torrent - BitTorrent client package.
  •   3131 raft - Golang implementation of the Raft consensus protocol, by HashiCorp.
  •   2834 dragonboat - A feature complete and high performance multi-group Raft library in Go.
  •   2717 glow - Easy-to-Use scalable distributed big data processing, Map-Reduce, DAG execution, all in pure Go.
  •   2334 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.
  •   2219 KrakenD - Ultra performant API Gateway framework with middlewares.
  •   2158 emitter-io - High performance, distributed, secure and low latency publish-subscribe platform built with MQTT, Websockets and love.
  •   1414 liftbridge - Lightweight, fault-tolerant message streams for NATS.
  •   1060 hprose - Very newbility RPC Library, support 25+ languages now.
  •    598 ringpop-go - Scalable, fault-tolerant application-layer sharding for Go applications.
  •    574 gorpc - Simple, fast and scalable RPC library for high load.
  •    519 go-health - Library for enabling asynchronous dependency health checks in your service.
  •    373 rain - BitTorrent client and library.
  •    322 digota - grpc ecommerce microservice.
  •    309 sleuth - Library for master-less p2p auto-discovery and RPC between HTTP services (using ZeroMQ).
  •    277 go-sundheit - A library built to provide support for defining async service health checks for golang services.
  •    274 go-jump - Port of Google's "Jump" Consistent Hash function.
  •    269 resgate - Realtime API Gateway for building REST, real time, and RPC APIs, where all clients are synchronized seamlessly.
  •    254 consistent - Consistent hashing with bounded loads.
  •    144 dht - BitTorrent Kademlia DHT implementation.
  •    118 jsonrpc - The jsonrpc package helps implement of JSON-RPC 2.0.
  •    111 jsonrpc - JSON-RPC 2.0 HTTP client implementation.
  •     78 redis-lock - Simplified distributed locking implementation using Redis.
  •     58 celeriac - Library for adding support for interacting and monitoring Celery workers, tasks and events in Go.
  •     47 doublejump - A revamped Google's jump consistent hash.
  •     31 dot - distributed sync using operational transformation/OT.
  •     28 drmaa - Job submission library for cluster schedulers based on the DRMAA standard.
  •     24 flowgraph - flow-based programming package.
  •     22 outboxer - Outboxer is a go library that implements the outbox pattern.
  •     10 dynatomic - A library for using DynamoDB as an atomic counter.
  •      0 pglock - PostgreSQL-backed distributed locking implementation.
  •      0 dynamolock - DynamoDB-backed distributed locking implementation.

Email

Libraries and tools that implement email creation and sending.

  •   5746 MailHog - Email and SMTP testing with web and API interface.
  •   1727 hermes - Golang package that generates clean, responsive HTML e-mails.
  •   1179 email - A robust and flexible email library for Go.
  •    853 go-imap - IMAP library for clients and servers.
  •    547 SendGrid - SendGrid's Go library for sending email.
  •    424 mailgun-go - Go library for sending mail with the Mailgun API.
  •    289 chasquid - SMTP server written in Go.
  •    171 Hectane - Lightweight SMTP client providing an HTTP API.
  •    166 douceur - CSS inliner for your HTML emails.
  •    129 go-message - Streaming library for the Internet Message Format and mail messages.
  •     53 smtp - SMTP server protocol state machine.
  •     52 go-dkim - DKIM library, to sign & verify email.
  •     42 go-premailer - Inline styling for HTML mail in Go.
  •     32 mailchain - Send encrypted emails to blockchain addresses written in Go.
  •     11 go-simple-mail - Very simple package to send emails with SMTP Keep Alive and two timeouts: Connect and Send.

Embeddable Scripting Languages

Embedding other languages inside your go code.

  •   5025 otto - JavaScript interpreter written in Go.
  •   3200 gopher-lua - Lua 5.1 VM and compiler written in Go.
  •   1761 go-lua - Port of the Lua 5.2 VM to pure Go.
  •   1512 tengo - Bytecode compiled script language for Go.
  •   1039 expr - an engine that can evaluate expressions.
  •    975 anko - Scriptable interpreter written in Go.
  •    975 go-python - naive go bindings to the CPython C-API.
  •    723 go-php - PHP bindings for Go.
  •    676 go-duktape - Duktape JavaScript engine bindings for Go.
  •    456 golua - Go bindings for Lua C API.
  •    432 gisp - Simple LISP in Go.
  •    335 cel-go - Fast, portable, non-Turing complete expression evaluation with gradual typing.
  •    172 gval - A highly customizable expression language written in Go.
  •     41 gentee - Embeddable scripting programming language.
  •     34 binder - Go to Lua binding library, based on gopher-lua.
  •     29 purl - Perl 5.18.2 embedded in Go.
  •     19 ngaro - Embeddable Ngaro VM implementation enabling scripting in Retro.

Error Handling

Libraries for handling errors.

  •   5404 errors - Package that provides simple error handling primitives.
  •    796 go-multierror - Go (golang) package for representing a list of errors as a single error.
  •    598 errorx - A feature rich error package with stack traces, composition of errors and more.
  •    569 tracerr - Golang errors with stack trace and source fragments.
  •    270 errlog - Hackable package that determines responsible source code for an error (and some other fast-debugging features). Pluggable to any logger in-place.
  •     92 emperror - Error handling tools and best practices for Go libraries and applications.
  •     34 errors - Drop-in replacement for the standard library errors package and github.com/pkg/errors. Provides various error handling primitives.
  •     12 werr - Error Wrapper creates an wrapper for the error type in Go which captures the File, Line and Stack of where it was called.
  •      3 errors - Simple golang error handling with classification primitives.
  •      2 Falcon - A Simple Yet Highly Powerful Package For Error Handling.

Files

Libraries for handling files and file systems.

  •   2477 afero - FileSystem Abstraction System for Go.
  •   1241 pdfcpu - PDF processor.
  •    516 notify - File system event notification library with simple API, similar to os/signal.
  •     95 bigfile - A file transfer system, support to manage files with http api, rpc call and ftp client.
  •     63 opc - Load Open Packaging Conventions (OPC) files for Go.
  •     60 go-csv-tag - Load csv file using tag.
  •     52 skywalker - Package to allow one to concurrently go through a filesystem with ease.
  •     40 vfs - A pluggable, extensible, and opinionated set of filesystem functionality for Go across a number of filesystem types such as os, S3, and GCS.
  •     38 tarfs - Implementation of the FileSystem interface for tar files.
  •     26 afs - Abstract File Storage (mem, scp, zip, tar, cloud: s3, gs) for Go.
  •     19 go-exiftool - Go bindings for ExifTool, the well-known library used to extract as much metadata as possible (EXIF, IPTC, ...) from files (pictures, PDF, office, ...).
  •     18 go-gtfs - Load gtfs files in go.
  •     14 checksum - Compute message digest, like MD5 and SHA256, for large files.
  •     14 go-decent-copy - Copy files for humans.
  •     13 flop - File operations library which aims to mirror feature parity with GNU cp.
  •      5 parquet - Read and write parquet files.
  •      0 stl - Modules to read and write STL (stereolithography) files. Concurrent algorithm for reading.

Financial

Packages for accounting and finance.

  •   1860 decimal - Arbitrary-precision fixed-point decimal numbers.
  •    678 go-money - Implementation of Fowler's Money pattern.
  •    537 go-finance - Comprehensive financial markets data in Go.
  •    525 accounting - money and currency formatting for golang.
  •    209 techan - Technical analysis library with advanced market analysis and trading strategies.
  •    113 orderbook - Matching Engine for Limit Order Book in Golang.
  •     71 ofxgo - Query OFX servers and/or parse the responses (with example command-line client).
  •     64 vat - VAT number validation & EU VAT rates.
  •     62 transaction - Embedded transactional database of accounts, running in multithreaded mode.
  •     47 go-finance - Library of financial functions for time value of money (annuities), cash flow, interest rate conversions, bonds and depreciation calculations.
  •     18 currency - High performant & accurate currency computation package.
  •      2 go-finance - Module to fetch exchange rates, check VAT numbers via VIES and check IBAN bank account numbers.

Forms

Libraries for working with forms.

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

Functional

Packages to support functional programming in Go.

  •   1108 go-underscore - Useful collection of helpfully functional Go collection utilities.
  •    130 fpGo - Monad, Functional Programming features for Golang.
  •     58 fuego - Functional Experiment in Go.

Game Development

Awesome game development libraries.

  •   3323 Leaf - Lightweight game server framework.
  •   2648 Pixel - Hand-crafted 2D game library in Go.
  •   2366 Ebiten - dead simple 2D game library in Go.
  •   1343 goworld - Scalable game server engine, featuring space-entity framework and hot-swapping.
  •   1244 go-sdl2 - Go bindings for the Simple DirectMedia Layer.
  •   1140 engo - Engo is an open-source 2D game engine written in Go. It follows the Entity-Component-System paradigm.
  •   1138 nano - Lightweight, facility, high performance golang based game server framework.
  •   1079 gonet - Game server skeleton implemented with golang.
  •   1068 termloop - Terminal-based game engine for Go, built on top of Termbox.
  •    892 g3n - Go 3D Game Engine.
  •    693 Oak - Pure Go game engine.
  •    440 Azul3D - 3D game engine written in Go.
  •    420 raylib-go - Go bindings for raylib, a simple and easy-to-use library to learn videogames programming.
  •    417 Pitaya - Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK.
  •    344 go-astar - Go implementation of the A* path finding algorithm.
  •    318 GarageEngine - 2d game engine written in Go working on OpenGL.
  •    170 go3d - Performance oriented 2D/3D math package for Go.
  •     76 glop - Glop (Game Library Of Power) is a fairly simple cross-platform game library.
  •     15 go-collada - Go package for working with the Collada file format.

Generation and Generics

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

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

Geographic

Geographic tools and servers

  •   6595 Tile38 - Geolocation DB with spatial index and realtime geofencing.
  •    980 S2 geometry - S2 geometry library in Go.
  •    117 geocache - In-memory cache that is suitable for geolocation based applications.
  •     90 osm - Library for reading, writing and working with OpenStreetMap data and APIs.
  •     43 WGS84 - Library for Coordinate Conversion and Transformation (ETRS89, OSGB36, NAD83, RGF93, Web Mercator, UTM).
  •     27 geoserver - geoserver Is a Go Package For Manipulating a GeoServer Instance via the GeoServer REST API.
  •     22 gismanager - Publish Your GIS Data(Vector Data) to PostGIS and Geoserver.
  •     18 pbf - OpenStreetMap PBF golang encoder/decoder.

Go Compilers

Tools for compiling Go to other languages.

  •   8983 gopherjs - Compiler from Go to JavaScript.
  •   1021 llgo - LLVM-based compiler for Go.
  •    394 tardisgo - Golang to Haxe to CPP/CSharp/Java/JavaScript transpiler.
  •    188 c4go - Transpile C code to Go code.
  •     22 f4go - Transpile FORTRAN 77 code to Go code.

Goroutines

Tools for managing and working with Goroutines.

  •   2837 ants - A high-performance goroutine pool for golang.
  •   2319 goworker - goworker is a Go-based background worker.
  •   1491 tunny - Goroutine pool for golang.
  •    534 grpool - Lightweight Goroutine pool.
  •    528 pool - Limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation.
  •    229 workerpool - Goroutine pool that limits the concurrency of task execution, not the number of tasks queued.
  •    172 go-floc - Orchestrate goroutines with ease.
  •    120 go-flow - Control goroutines execution order.
  •     88 GoSlaves - Simple and Asynchronous Goroutine pool library.
  •     81 semaphore - Semaphore pattern implementation with timeout of lock/unlock operations based on channel and context.
  •     80 semaphore - Fast resizable semaphore implementation based on CAS (faster than channel-based semaphore implementations).
  •     72 gowp - gowp is concurrency limiting goroutine pool.
  •     60 gpool - manages a resizeable pool of context-aware goroutines to bound concurrency.
  •     51 worker-pool - goworker is a Go simple async worker pool.
  •     47 breaker - Flexible mechanism to make execution flow interruptible.
  •     43 cyclicbarrier - CyclicBarrier for golang.
  •     30 gollback - asynchronous simple function utilities, for managing execution of closures and callbacks.
  •     29 async - A safe way to execute functions asynchronously, recovering them in case of panic.
  •     26 parallel-fn - Run functions in parallel.
  •     24 threadpool - Golang threadpool implementation.
  •     21 artifex - Simple in-memory job queue for Golang using worker-based dispatching.
  •     18 Hunch - Hunch provides functions like: All, First, Retry, Waterfall etc., that makes asynchronous flow control more intuitive.
  •     11 stl - Software transactional locks based on Software Transactional Memory (STM) concurrency control mechanism.
  •      9 gohive - A highly performant and easy to use Goroutine pool for Go.
  •      5 go-tools/multithreading - Manage a pool of goroutines using this lightweight library with a simple API.
  •      5 go-trylock - TryLock support on read-write lock for Golang.
  •      5 routine - go routine control with context, support: Main, Go, Pool and some useful Executors.
  •      3 queue - Gives you a sync.WaitGroup like queue group accessibility. Helps you to throttle and limit goroutines, wait for the end of the all goroutines and much more.
  •      2 go-waitgroup - Like sync.WaitGroup with error handling and concurrency control.
  •      0 oversight - Oversight is a complete implementation of the Erlang supervision trees.

GUI

Libraries for building GUI Applications.

Toolkits

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

Interaction

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

Hardware

Libraries, tools, and tutorials for interacting with hardware.

See go-hardware for a comprehensive list.

Images

Libraries for manipulating images.

  •   2841 gocv - Go package for computer vision using OpenCV 3.3+.
  •   2832 imaging - Simple Go image processing package.
  •   2780 imaginary - Fast and simple HTTP microservice for image resizing.
  •   2716 bild - Collection of image processing algorithms in pure Go.
  •   2583 ln - 3D line art rendering in Go.
  •   2237 resize - Image resizing for Go with common interpolation methods.
  •   2076 gg - 2D rendering in pure Go.
  •   1821 pt - Path tracing engine written in Go.
  •   1405 svgo - Go Language Library for SVG generation.
  •   1299 smartcrop - Finds good crops for arbitrary images and crop sizes.
  •   1280 gift - Package of image processing filters.
  •   1161 picfit - An image resizing server written in Go.
  •   1138 go-opencv - Go bindings for OpenCV.
  •   1045 imagick - Go binding to ImageMagick's MagickWand C API.
  •   1036 geopattern - Create beautiful generative image patterns from a string.
  •    864 bimg - Small package for fast and efficient image processing using libvips.
  •    586 stegify - Go tool for LSB steganography, capable of hiding any file within an image.
  •    378 mort - Storage and image processing server written in Go.
  •    359 canvas - Vector graphics to PDF, SVG or rasterized image.
  •    348 image2ascii - Convert image to ASCII.
  •    329 govatar - Library and CMD tool for generating funny avatars.
  •    296 go-nude - Nudity detection with Go.
  •    258 goimagehash - Go Perceptual image hashing package.
  •    194 rez - Image resizing in pure Go and SIMD.
  •    132 img - Selection of image manipulation tools.
  •    105 darkroom - An image proxy with changeable storage backends and image processing engines with focus on speed and resiliency.
  •     90 go-cairo - Go binding for the cairo graphics library.
  •     85 mergi - Tool & Go library for image manipulation (Merge, Crop, Resize, Watermark, Animate).
  •     57 gltf - Efficient and robust glTF 2.0 reader, writer and validator.
  •     52 go-gd - Go binding for GD library.
  •     36 cameron - An avatar generator for Go.
  •     35 steganography - Pure Go Library for LSB steganography.
  •     31 goimghdr - The imghdr module determines the type of image contained in a file for Go.
  •     25 tga - Package tga is a TARGA image format decoder/encoder.
  •     24 go-webcolors - Port of webcolors library from Python to Go.
  •      6 mpo - Decoder and conversion tool for MPO 3D Photos.

IoT (Internet of Things)

Libraries for programming devices of the IoT.

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

Job Scheduler

Libraries for scheduling jobs.

  •    675 gron - Define time-based tasks using a simple Go API and Gron’s scheduler will run them accordingly.
  •    634 JobRunner - Smart and featureful cron job scheduler with job queuing and live monitoring built in.
  •    461 jobs - Persistent and flexible background jobs library.
  •    313 scheduler - Cronjobs scheduling made easy.
  •    177 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.
  •     95 clockwork - Simple and intuitive job scheduling library in Go.
  •     77 clockwerk - Go package to schedule periodic jobs using a simple, fluent syntax.
  •     50 leprechaun - Job scheduler that supports webhooks, crons and classic scheduling.

JSON

Libraries for working with JSON.

  •   5629 GJSON - Get a JSON value with one line of code.
  •   2124 gojson - Automatically generate Go (golang) struct definitions from example JSON.
  •    143 kazaam - API for arbitrary transformation of JSON documents.
  •    142 gojq - JSON query in Golang.
  •     94 jsongo - Fluent API to make it easier to create Json objects.
  •     70 gjo - Small utility to create JSON objects.
  •     59 JayDiff - JSON diff utility written in Go.
  •     56 jettison - High performance, reflection-less JSON encoder for Go.
  •     54 jsonf - Console tool for highlighted formatting and struct query fetching JSON.
  •     36 mp - Simple cli email parser. It currently takes stdin and outputs JSON.
  •     29 go-respond - Go package for handling common HTTP JSON responses.
  •     26 json2go - Advanced JSON to Go struct conversion. Provides package that can parse multiple JSON documents and create struct to fit them all.
  •     19 ajson - Abstract JSON for golang with JSONPath support.
  •      9 jsonhal - Simple Go package to make custom structs marshal into HAL compatible JSON responses.
  •      9 go-jsonerror - Go-JsonError is ment to allow us to easily create json response errors that follow the JsonApi spec.
  •      6 jsonapi-errors - Go bindings based on the JSON API errors reference.
  •      0 JSON-to-Go - Convert JSON to Go struct.

Logging

Libraries for generating and working with log files.

  •  13468 logrus - Structured logger for Go.
  •   8658 zap - Fast, structured, leveled logging in Go.
  •   3566 spew - Implements a deep pretty printer for Go data structures to aid in debugging.
  •   2744 zerolog - Zero-allocation JSON logger.
  •   2443 glog - Leveled execution logs for Go.
  •   1699 lumberjack - Simple rolling logger, implements io.WriteCloser.
  •   1675 tail - Go package striving to emulate the features of the BSD tail program.
  •   1409 seelog - Logging functionality with flexible dispatching, filtering, and formatting.
  •    941 log15 - Simple, powerful logging for Go.
  •    772 log - Structured logging package for Go.
  •    359 onelog - Onelog is a dead simple but very efficient JSON logger. It is the fastest JSON logger out there in all scenario. Also, it is one of the logger with the lowest allocation.
  •    338 logxi - 12-factor app logger that is fast and makes you happy.
  •    270 log - Simple, configurable and scalable Structured Logging for Go.
  •    262 logutils - Utilities for slightly better logging in Go (Golang) extending the standard logger.
  •    246 go-logger - Simple logger of Go Programs, with level handlers.
  •    136 logger - Minimalistic logging library for Go.
  •    130 xlog - Structured logger for net/context aware HTTP handlers with flexible dispatching.
  •    126 rollingwriter - RollingWriter is an auto-rotate io.Writer implementation with multi policies to provide log file rotation.
  •    109 ozzo-log - High performance logging supporting log severity, categorization, and filtering. Can send filtered log messages to various targets (e.g. console, network, mail).
  •     84 log-voyage - Full-featured logging saas written in golang.
  •     57 glg - glg is simple and fast leveled logging library for Go.
  •     42 stdlog - Stdlog is an object-oriented library providing leveled logging. It is very useful for cron jobs.
  •     38 gologger - Simple easy to use log lib for go, logs in Colored Console, Simple Console, File or Elasticsearch.
  •     34 gone/log - Fast, extendable, full-featured, std-lib source compatible log library.
  •     34 go-log - Log4j implementation in Go.
  •     33 logex - Golang log lib, supports tracking and level, wrap by standard log lib.
  •     25 logrusly - logrus plug-in to send errors to a Loggly.
  •     25 go-log - Log lib supports level and multi handlers.
  •     23 log - Structured log interface for Go cleanly separates logging facade from its implementation.
  •     22 go-cronowriter - Simple writer that rotate log files automatically based on current date and time, like cronolog.
  •     21 distillog - distilled levelled logging (think of it as stdlib + log levels).
  •     21 journald - Go implementation of systemd Journal's native API for logging.
  •     18 mlog - Simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output.
  •     15 gomol - Multiple-output, structured logging for Go with extensible logging outputs.
  •      9 logdump - Package for multi-level logging.
  •      9 go-log - Simple and configurable Logging in Go, with level, formatters and writers.
  •      8 glo - PHP Monolog inspired logging facility with identical severity levels.
  •      7 logrusiowriter - io.Writer implementation using logrus logger.
  •      6 log - An O(1) logging system that allows you to connect one log to multiple writers (e.g. stdout, a file and a TCP connection).
  •      6 logmatic - Colorized logger for Golang with dynamic log level configuration.
  •      6 xlog - Plugin architecture and flexible log system for Go, with level ctrl, multiple log target and custom log format.
  •      5 logo - Golang logger to different configurable writers.
  •      1 go-log - A logging library with strack traces, object dumping and optional timestamps.

Machine Learning

Libraries for Machine Learning.

  •   6892 GoLearn - General Machine Learning library for Go.
  •   3034 gorgonia - graph-based computational library like Theano for Go that provides primitives for building various machine learning and neural network algorithms.
  •   1274 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.
  •   1051 goml - On-line Machine Learning in Go.
  •   1015 gosseract - Go package for OCR (Optical Character Recognition), by using Tesseract C++ library.
  •    863 gorse - An offline recommender system backend based on collaborative filtering written in Go.
  •    660 CloudForest - Fast, flexible, multi-threaded ensembles of decision trees for machine learning in pure Go.
  •    655 eaopt - An evolutionary optimization library.
  •    645 bayesian - Naive Bayesian Classification for Golang.
  •    418 gobrain - Neural Networks written in go.
  •    262 regommend - Recommendation & collaborative filtering engine.
  •    260 ocrserver - A simple OCR API server, seriously easy to be deployed by Docker and Heroku.
  •    244 go-deep - A feature-rich neural network library in Go.
  •    232 onnx-go - Go Interface to Open Neural Network Exchange (ONNX).
  •    175 go-galib - Genetic Algorithms library written in Go / golang.
  •    150 goRecommend - Recommendation Algorithms library written in Go.
  •    127 shield - Bayesian text classifier with flexible tokenizers and storage backends for Go.
  •    102 go-fann - Go bindings for Fast Artificial Neural Networks(FANN) library.
  •    101 Goptuna - Bayesian optimization framework for black-box functions written in Go. Everything will be optimized.
  •     81 goga - Genetic algorithm library for Go.
  •     64 libsvm - libsvm golang version derived work based on LIBSVM 3.14.
  •     61 neural-go - Multilayer perceptron network implemented in Go, with training via backpropagation.
  •     57 go-pr - Pattern recognition package in Go lang.
  •     56 neat - Plug-and-play, parallel Go framework for NeuroEvolution of Augmenting Topologies (NEAT).
  •     42 goscore - Go Scoring API for PMML.
  •     39 golinear - liblinear bindings for Go.
  •     35 fonet - A Deep Neural Network library written in Go.
  •     26 Varis - Golang Neural Network.
  •     25 godist - Various probability distributions, and associated methods.
  •     21 go-cluster - Go implementation of the k-modes and k-prototypes clustering algorithms.
  •     11 probab - Probability distribution functions. Bayesian inference. Written in pure Go.
  •      9 evoli - Genetic Algorithm and Particle Swarm Optimization library.
  •      7 GoMind - A simplistic Neural Network Library in Go.

Messaging

Libraries that implement messaging systems.

  •   5247 sarama - Go library for Apache Kafka.
  •   4047 gorush - Push notification server using APNs2 and google GCM.
  •   3975 Centrifugo - Real-time messaging (Websockets or SockJS) server in Go.
  •   3748 machinery - Asynchronous task queue/job queue based on distributed message passing.
  •   3182 go-socket.io - socket.io library for golang, a realtime application framework.
  •   2610 NATS Go Client - Lightweight and high performance publish-subscribe and distributed queueing messaging system - this is the Go library.
  •   2217 APNs2 - HTTP/2 Apple Push Notification provider for Go — Send push notifications to iOS, tvOS, Safari and OSX apps.
  •   2173 Benthos - A message streaming bridge between a range of protocols.
  •   1875 gopush-cluster - gopush-cluster is a go push server cluster.
  •   1797 Mercure - Server and library to dispatch server-sent updates using the Mercure protocol (built on top of Server-Sent Events).
  •   1699 melody - Minimalist framework for dealing with websocket sessions, includes broadcasting and automatic ping/pong handling.
  •   1560 go-nsq - the official Go package for NSQ.
  •   1546 mangos - Pure go implementation of the Nanomsg ("Scalable Protocols") with transport interoperability.
  •   1127 Uniqush-Push - Redis backed unified push service for server-side notifications to mobile devices.
  •    817 zmq4 - Go interface to ZeroMQ version 4. Also available for version 3 and version 2.
  •    796 Gollum - A n:m multiplexer that gathers messages from different sources and broadcasts them to a set of destinations.
  •    775 Beaver - A real time messaging server to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps.
  •    625 EventBus - The lightweight event bus with async compatibility.
  •    436 golongpoll - HTTP longpoll server library that makes web pub-sub simple.
  •    398 dbus - Native Go bindings for D-Bus.
  •    331 emitter - Emits events using Go way, with wildcard, predicates, cancellation possibilities and many other good wins.
  •    325 Glue - Robust Go and Javascript Socket Library (Alternative to Socket.io).
  •    301 pubsub - Simple pubsub package for go.
  •    141 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.
  •    132 Bus - Minimalist message bus implementation for internal communication.
  •    100 oplog - Generic oplog/replication system for REST APIs.
  •     95 rabtap - RabbitMQ swiss army knife cli app.
  •     78 messagebus - messagebus is a Go simple async message bus, perfect for using as event bus when doing event sourcing, CQRS, DDD.
  •     69 rabbus - A tiny wrapper over amqp exchanges and queues.
  •     63 drone-line - Sending Line notifications using a binary, docker or Drone CI.
  •     57 nsq-event-bus - A tiny wrapper around NSQ topic and channel.
  •     57 RapidMQ - RapidMQ is a lightweight and reliable library for managing of the local messages queue.
  •     47 go-notify - Native implementation of the freedesktop notification spec.
  •     37 Commander - A high-level event driven consumer/producer supporting various "dialects" such as Apache Kafka.
  •     32 event - Implementation of the pattern observer.
  •     30 hub - A Message/Event Hub for Go applications, using publish/subscribe pattern with support for alias like rabbitMQ exchanges.
  •     12 go-vitotrol - Client library to Viessmann Vitotrol web service.
  •      8 gaurun-client - Gaurun Client written in Go.
  •      8 redisqueue - redisqueue provides a producer and consumer of a queue that uses Redis streams.
  •      8 jazz - A simple RabbitMQ abstraction layer for queue administration and publishing and consuming of messages.
  •      2 rmqconn - RabbitMQ Reconnection. Wrapper over amqp.Connection and amqp.Dial. Allowing to do a reconnection when the connection is broken before forcing the call to the Close () method to be closed.

Microsoft Office

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

Microsoft Excel

Libraries for working with Microsoft Excel.

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

Miscellaneous

Dependency Injection

Libraries for working with dependency injection.

  •   1144 dig - A reflection based dependency injection toolkit for Go.
  •   1091 fx - A dependency injection based application framework for Go (built on top of dig).
  •     59 container - A powerful IoC Container with fluent and easy-to-use interface.
  •     47 inject - A reflection based dependency injection container with simple interface.
  •     36 dingo - A dependency injection toolkit for Go, based on Guice.
  •     35 alice - Additive dependency injection container for Golang.
  •     21 wire - Strict Runtime Dependency Injection for Golang.
  •     17 linker - A reflection based dependency injection and inversion of control library with components lifecycle support.
  •     11 gocontainer - Simple Dependency Injection Container.

Project Layout

Unofficial set of patterns for structuring projects.

  •  12237 golang-standards/project-layout - Set of common historical and emerging project layout patterns in the Go ecosystem.
  •    944 go-restful-api - An idiomatic Go RESTful API starter kit following SOLID principles and Clean Architecture with a common project layout.
  •    455 modern-go-application - Go application boilerplate and example applying modern practices.
  •    302 cookiecutter-golang - A Go application boilerplate template for quick starting projects following production best practices.
  •     48 scaffold - Scaffold generates starter Go project layout. Lets you focus on business logic implemeted.
  •     41 go-sample - A sample layout for Go application projects with the real code.

Strings

Libraries for working with strings.

  •    683 xstrings - Collection of useful string functions ported from other languages.
  •     79 strutil - String utilities.

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

  •   4406 gopsutil - Cross-platform library for retrieving process and system utilization(CPU, Memory, Disks, etc).
  •   2660 archiver - Library and command for making and extracting .zip and .tar.gz archives.
  •   1259 gosms - Your own local SMS gateway in Go that can be used to send SMS.
  •    945 go-resiliency - Resiliency patterns for golang.
  •    782 gofakeit - Random data generator written in go.
  •    752 go-commons-pool - Generic object pool for Golang.
  •    731 base64Captcha - Base64captch supports digit, number, alphabet, arithmetic, audio and digit-alphabet captcha.
  •    505 shortid - Distributed generation of super short, unique, non-sequential, URL friendly IDs.
  •    467 llvm - Library for interacting with LLVM IR in pure Go.
  •    373 health - Easy to use, extensible health check library.
  •    346 conv - Package conv provides fast and intuitive conversions across Go types.
  •    244 banner - Add beautiful banners into your Go applications.
  •    228 gountries - Package that exposes country and subdivision data.
  •    164 antch - A fast, powerful and extensible web crawling & scraping framework.
  •    143 ffmt - Beautify data display for Humans.
  •    140 stateless - A fluent library for creating state machines.
  •    138 battery - Cross-platform, normalized battery information library.
  •    138 lk - A simple licensing library for golang.
  •    129 stats - Monitors Go MemStats + System stats such as Memory, Swap and CPU and sends via UDP anywhere you want for logging etc...
  •    108 bitio - Highly optimized bit-level Reader and Writer for Go.
  •     94 healthcheck - An opinionated and concurrent health-check HTTP handler for RESTful services.
  •     91 turtle - Emojis for Go.
  •     86 ghorg - Quickly clone an entire org/users repositories into one directory - Supports GitHub, GitLab, and Bitbucket.
  •     82 gommit - Analyze git commit messages to ensure they follow defined patterns.
  •     79 go-unarr - Decompression library for RAR, TAR, ZIP and 7z archives.
  •     58 indigo - Distributed unique ID generator of using Sonyflake and encoded by Base58.
  •     54 morse - Library to convert to and from morse code.
  •     47 captcha - Package captcha provides an easy to use, unopinionated API for captcha generation.
  •     45 xkg - X Keyboard Grabber.
  •     37 persian - Some utilities for Persian language in go.
  •     36 pdfgen - HTTP service to generate PDF from Json requests.
  •     31 browscap_go - GoLang Library for Browser Capabilities Project.
  •     30 datacounter - Go counters for readers/writer/http.ResponseWriter.
  •     26 gotoprom - Type-safe metrics builder wrapper library for the official Prometheus client.
  •     25 autoflags - Go package to automatically define command line flags from struct fields.
  •     20 xdg - FreeDesktop.org (xdg) Specs implemented in Go.
  •     19 gosh - Provide Go Statistics Handler, Struct, Measure Method.
  •     18 url-shortener - A modern, powerful, and robust URL shortener microservice with mysql support.
  •     14 sandid - Every grain of sand on earth has its own ID.
  •     11 anagent - Minimalistic, pluggable Golang evloop/timer handler with dependency-injection.
  •      9 avgRating - Calculate average score and rating based on Wilson Score Equation.
  •      8 hostutils - A golang library for packing and unpacking FQDNs list.
  •      7 shellwords - A Golang library to manipulate strings according to the word parsing rules of the UNIX Bourne shell.
  •      5 metrics - Library for metrics instrumentation and Prometheus exposition.
  •      4 VarHandler - Generate boilerplate http input and output handling.
  •      2 numa - NUMA is a utility library, which is written in go. It help us to write some NUMA-AWARED code.
  •      0 go-openapi - Collection of packages to parse and utilize open-api schemas.

Natural Language Processing

Libraries for working with human languages.

  •   2394 prose - Library for text processing that supports tokenization, part-of-speech tagging, named-entity extraction, and more. English only.
  •   1251 go-i18n - Package and an accompanying tool to work with localized text.
  •   1186 gse - Go efficient text segmentation; support english, chinese, japanese and other.
  •   1049 when - Natural EN and RU language date/time parser with pluggable rules.
  •    939 gojieba - This is a Go implementation of jieba which a Chinese word splitting algorithm.
  •    628 go-pinyin - CN Hanzi to Hanyu Pinyin converter.
  •    462 kagome - JP morphological analyzer written in pure Go.
  •    382 whatlanggo - Natural language detection package for Go. Supports 84 languages and 24 scripts (writing systems e.g. Latin, Cyrillic, etc).
  •    358 nlp - Extract values from strings and fill your structs with nlp.
  •    263 sentences - Sentence tokenizer: converts text into a list of sentences.
  •    233 nlp - Go Natural Language Processing library supporting LSA (Latent Semantic Analysis).
  •     81 go-nlp - Utilities for working with discrete probability distributions and other tools useful for doing NLP work.
  •     78 getlang - Fast natural language detection package.
  •     68 gounidecode - Unicode transliterator (also known as unidecode) for Go.
  •     64 go-unidecode - ASCII transliterations of Unicode text.
  •     62 textcat - Go package for n-gram based text categorization, with support for utf-8 and raw text.
  •     58 MMSEGO - This is a GO implementation of MMSEG which a Chinese word splitting algorithm.
  •     52 go-stem - Implementation of the porter stemming algorithm.
  •     50 RAKE.go - Go port of the Rapid Automatic Keyword Extraction Algorithm (RAKE).
  •     48 stemmer - Stemmer packages for Go programming language. Includes English and German stemmers.
  •     46 segment - Go library for performing Unicode Text Segmentation as described in Unicode Standard Annex #29
  •     35 porter2 - Really fast Porter 2 stemmer.
  •     32 go2vec - Reader and utility functions for word2vec embeddings.
  •     26 paicehusk - Golang implementation of the Paice/Husk Stemming Algorithm.
  •     25 petrovich - Petrovich is the library which inflects Russian names to given grammatical case.
  •     24 snowball - Snowball stemmer port (cgo wrapper) for Go. Provides word stem extraction functionality Snowball native.
  •     23 go-mystem - CGo bindings to Yandex.Mystem - russian morphology analyzer.
  •     19 icu - Cgo binding for icu4c C library detection and conversion functions. Guaranteed compatibility with version 50.1.
  •     16 golibstemmer - Go bindings for the snowball libstemmer library including porter 2.
  •     11 shamoji - The shamoji is word filtering package written in Go.
  •     10 libtextcat - Cgo binding for libtextcat C library. Guaranteed compatibility with version 2.2.
  •      8 porter - This is a fairly straightforward port of Martin Porter's C implementation of the Porter stemming algorithm.
  •      6 gotokenizer - A tokenizer based on the dictionary and Bigram language models for Golang. (Now only support chinese segmentation)

Networking

Libraries for working with various layers of the network.

  •  11317 kcptun - Extremely simple & fast udp tunnel based on KCP protocol.
  •  11069 fasthttp - Package fasthttp is a fast HTTP implementation for Go, up to 10 times faster than net/http.
  •   4223 dns - Go library for working with DNS.
  •   3628 quic-go - An implementation of the QUIC protocol in pure Go.
  •   3505 HTTPLab - HTTPLabs let you inspect HTTP requests and forge responses.
  •   3176 gopacket - Go library for packet processing with libpcap bindings.
  •   2832 webrtc - A pure Go implementation of the WebRTC API.
  •   2407 kcp-go - KCP - Fast and Reliable ARQ Protocol.
  •   1788 gobgp - BGP implemented in the Go Programming Language.
  •   1537 gnet - gnet is a high-performance, lightweight, nonblocking, event-loop networking library written in pure Go.
  •   1259 ssh - Higher-level API for building SSH servers (wraps crypto/ssh).
  •   1089 fortio - Load testing library and command line tool, advanced echo server and web UI. Allows to specify a set query-per-second load and record latency histograms and other useful stats and graph them. Tcp, Http, gRPC.
  •    938 water - Simple TUN/TAP library.
  •    820 go-getter - Go library for downloading files or directories from various sources using a URL.
  •    815 sftp - Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt.
  •    751 gev - gev is a lightweight, fast non-blocking TCP network library based on Reactor mode.
  •    749 NFF-Go - Framework for rapid development of performant network functions for cloud and bare-metal (former YANFF).
  •    614 grab - Go package for managing file downloads.
  •    603 mdns - Simple mDNS (Multicast DNS) client/server library in Golang.
  •    595 ftp - Package ftp implements a FTP client as described in RFC 959.
  •    541 lhttp - Powerful websocket framework, build your IM server more easily.
  •    479 gosnmp - Native Go library for performing SNMP actions.
  •    450 mqttPaho - The Paho Go Client provides an MQTT client library for connection to MQTT brokers via TCP, TLS or WebSockets.
  •    444 gotcp - Go package for quickly writing tcp applications.
  •    430 cidranger - Fast IP to CIDR lookup for Go.
  •    393 peerdiscovery - Pure Go library for cross-platform local peer discovery using UDP multicast.
  •    371 gopcap - Go wrapper for libpcap.
  •    339 go-stun - Go implementation of the STUN client (RFC 3489 and RFC 5389).
  •    335 raw - Package raw enables reading and writing data at the device driver level for a network interface.
  •    323 stun - Go implementation of RFC 5389 STUN protocol.
  •    305 tcp_server - Go library for building tcp servers faster.
  •    235 buffstreams - Streaming protocolbuffer data over TCP made easy.
  •    233 winrm - Go WinRM client to remotely execute commands on Windows machines.
  •    208 arp - Package arp implements the ARP protocol, as described in RFC 826.
  •    192 ethernet - Package ethernet implements marshaling and unmarshaling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags.
  •    152 utp - Go uTP micro transport protocol implementation.
  •    138 jazigo - Jazigo is a tool written in Go for retrieving configuration for multiple network devices.
  •    137 canopus - CoAP Client/Server implementation (RFC 7252).
  •    122 sslb - It's a Super Simples Load Balancer, just a little project to achieve some kind of performance.
  •    117 gmqtt - Gmqtt is a flexible, high-performance MQTT broker library that fully implements the MQTT protocol V3.1.1.
  •    113 gNxI - A collection of tools for Network Management that use the gNMI and gNOI protocols.
  •     91 xtcp - TCP Server Framework with simultaneous full duplex communication,graceful shutdown,custom protocol.
  •     64 dhcp6 - Package dhcp6 implements a DHCPv6 server, as described in RFC 3315.
  •     63 ether - Cross-platform Go package for sending and receiving ethernet frames.
  •     45 linkio - Network link speed simulation for Reader/Writer interfaces.
  •     42 portproxy - Simple TCP proxy which adds CORS support to API's which don't support it.
  •     41 packet - Send packets over TCP and UDP. It can buffer messages and hot-swap connections if needed.
  •     26 iplib - Library for working with IP addresses (net.IP, net.IPNet), inspired by python ipaddress and ruby ipaddr
  •     25 graval - Experimental FTP server framework.
  •     18 publicip - Package publicip returns your public facing IPv4 address (internet egress).
  •     17 golibwireshark - Package golibwireshark use libwireshark library to decode pcap file and analyse dissection data.
  •     10 go-powerdns - PowerDNS API bindings for Golang.
  •     10 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.
  •      9 goshark - Package goshark use tshark to decode IP packet and create data struct to analyse packet.
  •      6 tspool - A TCP Library use worker pool to improve performance and protect your server.
  •      4 gosocsvr - Socket server made simple.

HTTP Clients

Libraries for making HTTP requests.

  •   2411 resty - Simple HTTP and REST client for Go inspired by Ruby rest-client.
  •   1501 grequests - A Go "clone" of the great and famous Requests library.
  •   1193 heimdall - An enchanced http client with retry and hystrix capabilities.
  •   1079 sling - Sling is a Go HTTP client library for creating and sending API requests.
  •    716 gentleman - Full-featured plugin-driven HTTP client library.
  •    348 pester - Go HTTP client calls with retries, backoff, and concurrency.
  •     40 sreq - A simple, user-friendly and concurrent safe HTTP request library for Go.
  •     33 rq - A nicer interface for golang stdlib HTTP client.

OpenGL

Libraries for using OpenGL in Go.

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

ORM

Libraries that implement Object-Relational Mapping or datamapping techniques.

  •  22918 beego orm - Powerful orm framework for go. Support: pq/mysql/sqlite3.
  •  16650 GORM - The fantastic ORM library for Golang, aims to be developer friendly.
  •   5685 Xorm - Simple and powerful ORM for Go.
  •   3397 go-pg - PostgreSQL ORM with focus on PostgreSQL specific features and performance.
  •   3257 gorp - Go Relational Persistence, ORM-ish library for Go.
  •   2567 SQLBoiler - ORM generator. Generate a featureful and blazing-fast ORM tailored to your database schema.
  •   2022 upper.io/db - Single interface for interacting with different data sources through the use of adapters that wrap mature database drivers.
  •    836 reform - Better ORM for Go, based on non-empty interfaces and code generation.
  •    781 pop/soda - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
  •    542 QBS - Stands for Query By Struct. A Go ORM.
  •    481 go-queryset - 100% type-safe ORM with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support based on GORM.
  •    330 go-sqlbuilder - A flexible and powerful SQL string builder library plus a zero-config ORM.
  •    247 Zoom - Blazing-fast datastore and querying engine built on Redis.
  •    122 grimoire - Grimoire is a database access layer and validation for golang. (Support: MySQL, PostgreSQL and SQLite3).
  •     99 go-store - Simple and fast Redis backed key-value store library for Go.
  •     69 Marlow - Generated ORM from project structs for compile time safety assurances.
  •      6 go-firestorm - A simple ORM for Google/Firebase Cloud Firestore.
  •      5 lore - Simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go.

Package Management

Official tooling for dependency and package management

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

Official experimental tooling for package management

  •  13017 dep - Go dependency tool.
  •      0 vgo - Versioned Go.

Unofficial libraries for package and dependency management.

  •   7917 glide - Manage your golang vendor and vendored packages with ease. Inspired by tools like Maven, Bundler, and Pip.
  •   5650 godep - dependency tool for go, godep helps build packages reproducibly by fixing their dependencies.
  •   4973 govendor - Go Package Manager. Go vendor tool that works with the standard vendor file.
  •   2445 gopm - Go Package Manager.
  •   1365 gom - Go Manager - bundle for go.
  •   1204 gpm - Barebones dependency manager for Go.
  •    779 goop - Simple dependency manager for Go (golang), inspired by Bundler.
  •    244 nut - Vendor Go dependencies.
  •    214 johnny-deps - Minimal dependency version using Git.
  •    198 gigo - PIP-like dependency tool for golang, with support for private repositories and hashes.
  •    116 VenGO - create and manage exportable isolated go virtual environments.
  •     95 mvn-golang - plugin that provides way for auto-loading of Golang SDK, dependency management and start build environment in Maven project infrastructure.
  •     50 gop - Build and manage your Go applications out of GOPATH.

Performance

  •   9921 jaeger - A distributed tracing system.
  •   1153 profile - Simple profiling support package for Go.
  •     17 tracer - Simple, lightweight tracing.

Query Language

  •   5825 graphql-go - Implementation of GraphQL for Go.
  •   3101 graphql - GraphQL server with a focus on ease of use.
  •   1092 gojsonq - A simple Go package to Query over JSON Data.
  •    216 jsonql - JSON query expression library in Golang.
  •    130 rql - Resource Query Language for REST API.
  •     52 graphql - graphql parser + utilities.
  •     31 jsonslice - Jsonpath queries with advanced filters.
  •      7 straf - Easily Convert Golang structs to GraphQL objects.

Resource Embedding

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

Science and Data Analysis

Libraries for scientific computing and data analyzing.

  •   3394 gonum - Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more.
  •   1423 stats - Statistics package with common functions missing from the Golang standard library.
  •   1375 gosl - Go scientific library for linear algebra, FFT, geometry, NURBS, numerical methods, probabilities, optimisation, differential equations, and more.
  •   1327 gonum/plot - gonum/plot provides an API for building and drawing plots in Go.
  •   1318 streamtools - general purpose, graphical tool for dealing with streams of data.
  •    656 go-dsp - Digital Signal Processing for Go.
  •    617 goraph - Pure Go graph theory library(data structure, algorith visualization).
  •    615 chart - Simple Chart Plotting library for Go. Supports many graphs types.
  •    283 ewma - Exponentially-weighted moving averages.
  •    283 graph - Library of basic graph algorithms.
  •    236 orb - 2D geometry types with clipping, GeoJSON and Mapbox Vector Tile support.
  •    136 gohistogram - Approximate histograms for data streams.
  •    129 dataframe-go - Dataframes for machine-learning and statistics (similar to pandas).
  •     87 TextRank - TextRank implementation in Golang with extendable features (summarization, weighting, phrase extraction) and multithreading (goroutine) support.
  •     81 sparse - Go Sparse matrix formats for linear algebra supporting scientific and machine learning applications, compatible with gonum matrix libraries.
  •     53 pagerank - Weighted PageRank algorithm implemented in Go.
  •     43 geom - 2D geometry for golang.
  •     40 evaler - Simple floating point arithmetic expression evaluator.
  •     15 goent - GO Implementation of Entropy Measures.
  •     12 triangolatte - 2D triangulation library. Allows translating lines and polygons (both based on points) to the language of GPUs.
  •     11 ode - Ordinary differential equation (ODE) solver which supports extended states and channel-based iteration stop conditions.
  •     11 GoStats - GoStats is an Open Source GoLang library for math statistics mostly used in Machine Learning domains, it covers most of the Statistical measures functions.
  •     10 piecewiselinear - Tiny linear interpolation library.
  •      8 PiHex - Implementation of the "Bailey-Borwein-Plouffe" algorithm for the hexadecimal number Pi.
  •      6 assocentity - Package assocentity returns the average distance from words to a given entity.
  •      5 go-gt - Graph theory algorithms written in "Go" language.
  •      3 rootfinding - root-finding algorithms library for finding roots of quadratic functions.
  •      2 bradleyterry - Provides a Bradley-Terry Model for pairwise comparisons.

Security

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

  •   3754 lego - Pure Go ACME client library and CLI tool (for use with Let's Encrypt).
  •   1992 Cameradar - Tool and library to remotely hack RTSP streams from surveillance cameras.
  •   1728 acmetool - ACME (Let's Encrypt) client tool with automatic renewal.
  •   1684 autocert - Auto provision Let's Encrypt certificates and start a TLS server.
  •   1679 memguard - A pure Go library for handling sensitive values in memory.
  •   1391 secure - HTTP middleware for Go that facilitates some quick security wins.
  •    512 acra - Network encryption proxy to protect database-based applications from data leaks: strong selective encryption, SQL injections prevention, intrusion detection system.
  •    463 nacl - Go implementation of the NaCL set of API's.
  •    260 BadActor - In-memory, application-driven jailer built in the spirit of fail2ban.
  •    232 passlib - Futureproof password hashing library.
  •    214 ssh-vault - encrypt/decrypt using ssh keys.
  •    162 simple-scrypt - Scrypt package with a simple, obvious API and automatic cost calibration built-in.
  •    145 go-yara - Go Bindings for YARA, the "pattern matching swiss knife for malware researchers (and everyone else)".
  •     78 argon2pw - Argon2 password hash generation with constant-time password comparison.
  •     34 goSecretBoxPassword - A probably paranoid package for securely hashing and encrypting passwords.
  •     11 goArgonPass - Argon2 password hash and verification designed to be compatible with existing Python and PHP implementations.
  •     10 certificates - An opinionated tool for generating tls certificates.
  •      8 sslmgr - SSL certificates made easy with a high level wrapper around acme/autocert.
  •      2 go-generate-password - Password generator that can be used on the cli or as a library.
  •      0 Interpol - Rule-based data generator for fuzzing and penetration testing.

Serialization

Libraries and tools for binary serialization.

  •   6936 jsoniter - High-performance 100% compatible drop-in replacement of "encoding/json".
  •   5959 goprotobuf - Go support, in the form of a library and protocol compiler plugin, for Google's protocol buffers.
  •   3401 gogoprotobuf - Protocol Buffers for Go with Gadgets.
  •   2931 mapstructure - Go library for decoding generic map values into native Go structures.
  •   1329 go-codec - High Performance, feature-Rich, idiomatic encode, decode and rpc library for msgpack, cbor and json, with runtime-based OR code-generation support.
  •    502 colfer - Code generation for the Colfer binary format.
  •    337 csvutil - High Performance, idiomatic CSV record encoding and decoding to native Go structures.
  •    276 go-capnproto - Cap'n Proto library and parser for go.
  •    131 php_session_decoder - GoLang library for working with PHP session format and PHP Serialize/Unserialize functions.
  •    106 structomap - Library to easily and dynamically generate maps from static structures.
  •     91 cbor - Small, safe, and easy CBOR encoding and decoding library.
  •     60 bambam - generator for Cap'n Proto schemas from go.
  •     43 asn1 - Asn.1 BER and DER encoding library for golang.
  •     13 binstruct - Golang binary decoder for mapping data into the structure.
  •     10 fwencoder - Fixed width file parser (encoding and decoding library) for Go.
  •      8 bel - Generate TypeScript interfaces from Go structs/interfaces. Useful for JSON RPC.
  •      7 pletter - A standard way to wrap a proto message for message brokers.
  •      4 fixedwidth - Fixed-width text formatting (UTF-8 supported).

Server Applications

  •  28937 etcd - Highly-available key value store for shared configuration and service discovery.
  •  25687 Caddy - Caddy is an alternative, HTTP/2 web server that's easy to configure and use.
  •  19531 minio - Minio is a distributed object storage server.
  •  18179 consul - Consul is a tool for service discovery, monitoring and configuration.
  •  16966 nsq - A realtime distributed messaging platform.
  •   3829 RoadRunner - High-performance PHP application server, load-balancer and process manager.
  •   2914 devd - Local webserver for developers.
  •   1646 algernon - HTTP/2 web server with built-in support for Lua, Markdown, GCSS and Amber.
  •   1176 SFTPGo - Full featured and highly configurable SFTP server software.
  •   1131 flipt - A self contained feature flag solution written in Go and Vue.js
  •    960 Flagr - Flagr is an open-source feature flagging and A/B testing service.
  •    918 Fider - Fider is an open platform to collect and organize customer feedback.
  •    789 discovery - A registry for resilient mid-tier load balancing and failover.
  •    765 jackal - An XMPP server written in Go.
  •    106 dudeldu - A simple SHOUTcast server.
  •     12 psql-streamer - Stream database events from PostgreSQL to Kafka.
  •      9 nginx-prometheus - Nginx log parser and exporter to Prometheus.
  •      0 yakvs - Small, networked, in-memory key-value store.
  •      0 riemann-relay - Relay to load-balance Riemann events and/or convert them to Carbon.

Stream Processing

Libraries and tools for stream processing and reactive programming.

  •    257 go-streams - Go stream processing library.

Template Engines

Libraries and tools for templating and lexing.

  •   3440 gofpdf - PDF document generator with high level support for text, drawing and images.
  •   1580 pongo2 - Django-like template-engine for Go.
  •   1580 quicktemplate - Fast, powerful, yet easy to use template engine. Converts templates into Go code and then compiles it.
  •   1257 hero - Hero is a handy, fast and powerful go template engine.
  •    973 mustache - Go implementation of the Mustache template language.
  •    837 amber - Amber is an elegant templating engine for Go Programming Language It is inspired from HAML and Jade.
  •    774 ace - Ace is an HTML template engine for Go, inspired by Slim and Jade. Ace is a refinement of Gold.
  •    724 Razor - Razor view engine for Golang.
  •    609 jet - Jet template engine.
  •    423 ego - Lightweight templating language that lets you write templates in Go. Templates are translated into Go and compiled.
  •    358 raymond - Complete handlebars implementation in Go.
  •    332 fasttemplate - Simple and fast template engine. Substitutes template placeholders up to 10x faster than text/template.
  •    146 Soy - Closure templates (aka Soy templates) for Go, following the official spec.
  •     92 liquid - Go implementation of Shopify Liquid templates.
  •     88 maroto - A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.
  •     87 goview - Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
  •     71 kasia.go - Templating system for HTML and other text documents - go implementation.
  •     70 velvet - Complete handlebars implementation in Go.
  •     21 damsel - Markup language featuring html outlining via css-selectors, extensible via pkg html/template and others.
  •     16 extemplate - Tiny wrapper around html/template to allow for easy file-based template inheritance.
  •      5 gospin - Article spinning and spintax/spinning syntax engine, useful for A/B, testing pieces of text/articles and creating more natural conversations.

Testing

Libraries for testing codebases and generating test data.

  • Testing Frameworks

    •   9231 Testify - Sacred extension to the standard go testing package.
    •   5263 GoConvey - BDD-style framework with web UI and live reload.
    •   1461 go-cmp - Package for comparing Go values in tests.
    •   1236 httpexpect - Concise, declarative, and easy to use end-to-end HTTP and REST API testing.
    •    875 godog - Cucumber or Behat like BDD framework for Go.
    •    664 baloo - Expressive and versatile end-to-end HTTP API testing made easy.
    •    649 goblin - Mocha like testing framework fo Go.
    •    412 testfixtures - A helper for Rails' like test fixtures to test database applications.
    •    361 go-vcr - Record and replay your HTTP interactions for fast, deterministic and accurate tests.
    •    323 go-mutesting - Mutation testing for Go source code.
    •    285 gofight - API Handler Testing for Golang Router framework.
    •    255 frisby - REST API testing framework.
    •    201 go-carpet - Tool for viewing test coverage in terminal.
    •    191 charlatan - Tool to generate fake interface implementations for tests.
    •    146 apitest - Simple and extensible behavioural testing library for REST based services or HTTP handlers that supports mocking external http calls and rendering of sequence diagrams.
    •    140 gotest.tools - A collection of packages to augment the go testing package and support common patterns.
    •    118 endly - Declarative end to end functional testing.
    •    112 GoSpec - BDD-style testing framework for the Go programming language.
    •     97 cupaloy - Simple snapshot testing addon for your test framework.
    •     96 dbcleaner - Clean database for testing purpose, inspired by database_cleaner in Ruby.
    •     75 go-testdeep - Extremely flexible golang deep comparison, extends the go testing package.
    •     69 wstest - Websocket client for unit-testing a websocket http.Handler.
    •     53 gospecify - This provides a BDD syntax for testing your Go code. It should be familiar to anybody who has used libraries such as rspec.
    •     50 restit - Go micro framework to help writing RESTful API integration test.
    •     42 commander - Tool for testing cli applications on windows, linux and osx.
    •     32 gomatch - library created for testing JSON against patterns.
    •     30 jsonassert - Package for verifying that your JSON payloads are serialized correctly.
    •     27 Hamcrest - fluent framework for declarative Matcher objects that, when applied to input values, produce self-describing results.
    •     26 dsunit - Datastore testing for SQL, NoSQL, structured files.
    •     16 assert - Basic Assertion Library used along side native go testing, with building blocks for custom assertions.
    •     12 testcase - Idiomatic testing framework for Behavior Driven Development.
    •     11 flute - HTTP client testing framework.
    •      9 badio - Extensions to Go's testing/iotest package.
    •      9 gocrest - Composable hamcrest-like matchers for Go assertions.
    •      9 gosuite - Brings lightweight test suites with setup/teardown facilities to testing by leveraging Go1.7's Subtests.
    •      8 gogiven - YATSPEC-like BDD testing framework for Go.
    •      8 testmd - Convert markdown snippets into testable go code.
    •      7 embedded-postgres - Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test.
    •      7 biff - Bifurcation testing framework, BDD compatible.
    •      7 schema - Quick and easy expression matching for JSON schemas used in requests and responses.
    •      7 testsql - Generate test data from SQL files before testing and clear it after finished.
    •      6 Tt - Simple and colorful test tools.
    •      4 trial - Quick and easy extendable assertions without introducing much boilerplate.
    •      0 gocheck - More advanced testing framework alternative to gotest.
    •      0 ginkgo - BDD Testing Framework for Go.
    •      0 gomega - Rspec like matcher/assertion library.
  • Mock

    •   3474 gomock - Mocking framework for the Go programming language.
    •   2138 go-sqlmock - Mock SQL driver for testing database interactions.
    •   1503 hoverfly - HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI.
    •    932 gock - Versatile HTTP mocking made easy.
    •    680 httpmock - Easy mocking of HTTP responses from external resources.
    •    389 counterfeiter - Tool for generating self-contained mock objects.
    •    287 minimock - Mock generator for Go interfaces.
    •    211 go-txdb - Single transaction based database driver mainly for testing purposes.
    •     87 govcr - HTTP mock for Golang: record and replay HTTP interactions for offline testing.
    •     22 mockhttp - Mock object for Go http.ResponseWriter.
  • Fuzzing and delta-debugging/reducing/shrinking.

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

    •   4127 chromedp - a way to drive/test Chrome, Safari, Edge, Android Webviews, and other browsers supporting the Chrome Debugging Protocol.
    •   1439 selenoid - alternative Selenium hub server that launches browsers within containers.
    •    396 cdp - Type-safe bindings for the Chrome Debugging Protocol that can be used with browsers or other debug targets that implement it.
    •    231 ggr - a lightweight server that routes and proxies Selenium WebDriver requests to multiple Selenium hubs.
  • Fail injection

Text Processing

Libraries for parsing and manipulating texts.

  • Specific Formats
    •   9676 colly - Fast and Elegant Scraping Framework for Gophers.
    •   8194 GoQuery - GoQuery brings a syntax and a set of features similar to jQuery to the Go language.
    •   4168 blackfriday - Markdown processor in Go.
    •   2985 toml - TOML configuration format (encoder/decoder with reflection).
    •   2336 sh - Shell parser and formatter.
    •   2057 go-humanize - Formatters for time, numbers, and memory size to human readable format.
    •   1368 bluemonday - HTML Sanitizer.
    •   1185 inject - Package inject provides a reflect based injector.
    •   1170 gofeed - Parse RSS and Atom feeds in Go.
    •    680 go-toml - Go library for the TOML format with query support and handy cli tools.
    •    572 commonregex - A collection of common regular expressions for Go.
    •    486 slug - URL-friendly slugify with multiple languages support.
    •    353 mxj - Encode / decode XML as JSON or map[string]interface{}; extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.
    •    338 dataflowkit - Web scraping Framework to turn websites into structured data.
    •    335 gographviz - Parses the Graphviz DOT language.
    •    317 gommon/bytes - Format bytes to string.
    •    247 gotext - GNU gettext utilities for Go.
    •    237 go-runewidth - Functions to get fixed width of the character or string.
    •    176 htmlquery - An XPath query package for HTML, lets you extract data or evaluate from HTML documents by an XPath expression.
    •    158 goq - Declarative unmarshaling of HTML using struct tags with jQuery syntax (uses GoQuery).
    •    117 github_flavored_markdown - GitHub Flavored Markdown renderer (using blackfriday) with fenced code block highlighting, clickable header anchor links.
    •    108 go-nmea - NMEA parser library for the Go language.
    •     79 sdp - SDP: Session Description Protocol [RFC 4566].
    •     61 align - A general purpose application that aligns text.
    •     57 genex - Count and expand Regular Expressions into all matching Strings.
    •     57 go-slugify - Make pretty slug with multiple languages support.
    •     53 editorconfig-core-go - Editorconfig file parser and manipulator for Go.
    •     52 goribot - A simple golang spider/scraping framework,build a spider in 3 lines.
    •     45 guesslanguage - Functions to determine the natural language of a unicode text.
    •     45 go-zero-width - Zero-width character detection and removal for Go.
    •     38 allot - Placeholder and wildcard text parsing for CLI tools and bots.
    •     38 goregen - Library for generating random strings from regular expressions.
    •     33 go-fixedwidth - Fixed-width text formatting (encoder/decoder with reflection).
    •     31 go-vcard - Parse and format vCard.
    •     30 gonameparts - Parses human names into individual name parts.
    •     27 Slugify - Go slugify application that handles string.
    •     26 did - DID (Decentralized Identifiers) Parser and Stringer in Go.
    •     13 codetree - Parses indented code (python, pixy, scarlet, etc.) and returns a tree structure.
    •      8 enca - Minimal cgo bindings for libenca.
    •      7 syndfeed - A syndication feed for Atom 1.0 and RSS 2.0.
    •      5 bbConvert - Converts bbCode to HTML that allows you to add support for custom bbCode tags.
    •      4 doi - Document object identifier (doi) parser in Go.
    •      3 ltsv - High performance LTSV (Labeled Tab Separeted Value) reader for Go.
    •      3 encdec - Package provides a generic interface to encoders and decodersa.
  • Utility
    •    560 xurls - Extract urls from text.
    •    221 gotabulate - Easily pretty-print your tabular data with Go.
    •    149 radix - fast string sorting algorithm.
    •     34 parth - URL path segmentation parsing.
    •     18 gofuckyourself - A sanitization-based swear filter for Go.
    •     18 xj2go - Convert xml or json to go struct.
    •     12 kace - Common case conversions covering common initialisms.
    •      7 parseargs-go - string argument parser that understands quotes and backslashes.
    •      3 TySug - Alternative suggestions with respect to keyboard layouts.
    •      3 Tagify - Produces a set of tags from given source.
    •      1 textwrap - Implementation of textwrap module from Python.

Third-party APIs

Libraries for accessing third party APIs.

  •   5458 aws-sdk-go - The official AWS SDK for the Go programming language.
  •   5370 github - Go library for accessing the GitHub REST API v3.
  •   2689 slack - Slack API in Go.
  •   2079 google - Auto-generated Google APIs for Go.
  •   1971 google-cloud - Google Cloud APIs Go Client Library.
  •   1089 discordgo - Go bindings for the Discord Chat API.
  •   1059 stripe - Go client for the Stripe API.
  •   1010 anaconda - Go client library for the Twitter 1.1 API.
  •    876 go-twitter - Go client library for the Twitter v1.1 APIs.
  •    831 minio-go - Minio Go Library for Amazon S3 compatible cloud storage.
  •    820 facebook - Go Library that supports the Facebook Graph API.
  •    658 go-jira - Go client library for Atlassian JIRA
  •    572 githubql - Go library for accessing the GitHub GraphQL API v4.
  •    430 webhooks - Webhook receiver for GitHub and Bitbucket.
  •    334 geo-golang - Go Library to access Google Maps, MapQuest, Nominatim, OpenCage, Bing, Mapbox, and OpenStreetMap geocoding / reverse geocoding APIs.
  •    332 paypal - Wrapper for PayPal payment API.
  •    192 go-marathon - Go library for interacting with Mesosphere's Marathon PAAS.
  •    180 ethrpc - Go bindings for Ethereum JSON RPC API.
  •    124 gostorm - GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells.
  •    123 Trello - Go wrapper for the Trello API.
  •    122 Medium - Golang SDK for Medium's OAuth2 API.
  •    112 hipchat (xmpp) - A golang package to communicate with HipChat over XMPP.
  •    108 hipchat - This project implements a golang client library for the Hipchat API.
  •    105 go-trending - Go library for accessing trending repositories and developers at Github.
  •     75 cachet - Go client library for Cachet (open source status page system).
  •     66 pushover - Go wrapper for the Pushover API.
  •     58 wit-go - Go client for wit.ai HTTP API.
  •     57 megos - Client library for accessing an Apache Mesos cluster.
  •     57 clarifai - Go client library for interfacing with the Clarifai API.
  •     55 igdb - Go client for the Internet Game Database API.
  •     46 gads - Google Adwords Unofficial API.
  •     46 circleci - Go client library for interacting with CircleCI's API.
  •     40 go-xkcd - Go client for the xkcd API.
  •     38 amazon-product-advertising-api - Go Client Library for Amazon Product Advertising API.
  •     37 GoMusicBrainz - Go MusicBrainz WS2 client library.
  •     35 uptimerobot - Go wrapper and command-line client for the Uptime Robot v2 API.
  •     33 fcm - Go library for Firebase Cloud Messaging.
  •     33 golyrics - Golyrics is a Go library to fetch music lyrics data from the Wikia website.
  •     30 mixpanel - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications.
  •     29 gcm - Go library for Google Cloud Messaging.
  •     29 translate - Go online translation package.
  •     27 gami - Go library for Asterisk Manager Interface.
  •     25 go-unsplash - Go client library for the Unsplash.com API.
  •     20 ynab - Go wrapper for the YNAB API.
  •     20 spotify - Go Library to access Spotify WEB API.
  •     19 patreon-go - Go library for Patreon API.
  •     19 shopify - Go Library to make CRUD request to the Shopify API.
  •     18 go-twitch - Go client for interacting with the Twitch v3 API.
  •     18 steam - Go Library to interact with Steam game servers.
  •     16 codeship-go - Go client library for interacting with Codeship's API v2.
  •     16 textbelt - Go client for the textbelt.com txt messaging API.
  •     16 brewerydb - Go library for accessing the BreweryDB API.
  •     15 go-myanimelist - Go client library for accessing the MyAnimeList API.
  •     14 go-imgur - Go client library for imgur
  •     14 simples3 - Simple no frills AWS S3 Library using REST with V4 Signing written in Go.
  •     12 coinpaprika-go - Go client library for interacting with Coinpaprika's API.
  •     11 google-analytics - Simple wrapper for easy google analytics reporting.
  •     10 go-hacknews - Tiny Go client for HackerNews API.
  •     10 smite - Go package to wraps access to the Smite game API.
  •      8 rrdaclient - Go Library to access statdns.com API, which is in turn RRDA API. DNS Queries over HTTP.
  •      8 lastpass-go - Go client library for the LastPass API.
  •      7 go-sptrans - Go client library for the SPTrans Olho Vivo API.
  •      6 go-here - Go client library around the HERE location based APIs.
  •      6 tumblr - Go wrapper for the Tumblr v2 API.
  •      6 google-email-audit-api - Go client library for Google G Suite Email Audit API.
  •      5 go-sophos - Go client library for the Sophos UTM REST API with zero dependencies.
  •      5 zooz - Go client for the Zooz API.
  •      3 gomalshare - Go library MalShare API malshare.com
  •      3 go-chronos - Go library for interacting with the Chronos Job Scheduler
  •      1 libgoffi - Library adapter toolbox for native libffi integration
  •      1 TripAdvisor - Go wrapper for the TripAdvisor API.
  •      1 playlyfe - The Playlyfe Rest API Go SDK.
  •      1 vl-go - Go client library around the VerifID identity verification layer API.
  •      0 go-telegraph - Telegraph publishing platform API client.

Utilities

General utilities and tools to make your life easier.

  •  26057 fzf - Command-line fuzzy finder written in Go.
  •  18228 hub - wrap git commands with additional functionality to interact with github from the terminal.
  •  13048 delve - Go debugger.
  •   9309 ctop - Top-like interface (e.g. htop) for container metrics.
  •   8487 wuzz - Interactive cli tool for HTTP inspection.
  •   7566 sqlx - provides a set of extensions on top of the excellent built-in database/sql package.
  •   5670 peco - Simplistic interactive filtering tool.
  •   5523 usql - usql is a universal command-line interface for SQL databases.
  •   4961 goreleaser - Deliver Go binaries as fast and easily as possible.
  •   3813 godropbox - Common libraries for writing Go services/applications from Dropbox.
  •   3431 realize - Go build system with file watchers and live reload. Run, build and watch file changes with custom paths.
  •   2588 goreporter - Golang tool that does static analysis, unit testing, code review and generate code quality report.
  •   2281 hystrix-go - Implements Hystrix patterns of programmer-defined fallbacks aka circuit breaker.
  •   2179 panicparse - Groups similar goroutines and colorizes stack dump.
  •   2164 Task - simple "Make" alternative.
  •   1969 minify - Fast minifiers for HTML, CSS, JS, XML, JSON and SVG file formats.
  •   1480 go-funk - Modern Go utility library which provides helpers (map, find, contains, filter, chunk, reverse, ...).
  •   1470 mmake - Modern Make.
  •   1457 Storm - Simple and powerful toolkit for BoltDB.
  •   1346 mole - cli app to easily create ssh tunnels.
  •   1281 mc - Minio Client provides minimal tools to work with Amazon S3 compatible cloud storage and filesystems.
  •   1021 boilr - Blazingly fast CLI tool for creating projects from boilerplate templates.
  •   1020 filetype - Small package to infer the file type checking the magic numbers signature.
  •    981 mergo - Helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.
  •    887 spinner - Go package to easily provide a terminal spinner with options.
  •    837 circuitbreaker - Circuit Breakers in Go.
  •    763 git-time-metric - Simple, seamless, lightweight time tracking for Git.
  •    755 jump - Jump helps you navigate faster by learning your habits.
  •    632 immortal - *nix cross-platform (OS agnostic) supervisor.
  •    501 htcat - Parallel and Pipelined HTTP GET Utility.
  •    443 go-dry - DRY (don't repeat yourself) package for Go.
  •    427 gopencils - Small and simple package to easily consume REST APIs.
  •    420 godaemon - Utility to write daemons.
  •    413 circuit - An efficient and feature complete Hystrix like Go implementation of the circuit breaker pattern.
  •    369 request - Go HTTP Requests for Humans™.
  •    350 ergo - The management of multiple local services running over different ports made easy.
  •    346 koazee - Library inspired in Lazy evaluation and functional programming that takes the hassle out of working with arrays.
  •    295 go-rate - Timed rate limiter for Go.
  •    248 gohper - Various tools/modules help for development.
  •    243 clockwork - A simple fake clock for golang.
  •    231 Deepcopier - Simple struct copying for Go.
  •    199 serve - A static http server anywhere you need.
  •    197 gubrak - Golang utility library with syntactic sugar. It's like lodash, but for golang.
  •    190 go-trigger - Go-lang global event triggerer, Register Events with an id and trigger the event from anywhere from your project.
  •    183 retry - The most advanced functional mechanism to perform actions repetitively until successful.
  •    177 mimetype - Package for MIME type detection based on magic numbers.
  •    164 go-bind-plugin - go:generate tool for wrapping symbols exported by golang plugins (1.8 only).
  •    160 gotenv - Load environment variables from .env or any io.Reader in Go.
  •    155 rerun - Recompiling and rerunning go apps when source changes.
  •    149 util - Collection of useful utility functions. (strings, concurrency, manipulations, ...).
  •    148 moldova - Utility for generating random data based on an input template.
  •    145 Death - Managing go application shutdown with signals.
  •    140 robustly - Runs functions resiliently, catching and restarting panics.
  •    133 apm - Process manager for Golang applications with an HTTP API.
  •    115 chyle - Changelog generator using a git repository with multiple configuration possibilities.
  •    114 toolbox - Slice, map, multimap, struct, function, data conversion utilities. Service router, macro evaluator, tokenizer.
  •    112 go-sitemap-generator - XML Sitemap generator written in Go.
  •    105 onecache - Caching library with support for multiple backend stores (Redis, Memcached, filesystem etc).
  •    105 lrserver - LiveReload server for Go.
  •     90 go-bsdiff - Pure Go bsdiff and bspatch libraries and CLI tools.
  •     75 pm - Process (i.e. goroutine) manager with an HTTP API.
  •     70 xferspdy - Xferspdy provides binary diff and patch library in golang.
  •     69 UNIS - Common Architecture™ for String Utilities in Go.
  •     67 mssqlx - Database client library, proxy for any master slave, master master structures. Lightweight and auto balancing in mind.
  •     66 go-health - Health package simplifies the way you add health check to your services.
  •     60 multitick - Multiplexor for aligned tickers.
  •     60 repeat - Go implementation of different backoff strategies useful for retrying operations and heartbeating.
  •     51 minquery - MongoDB / mgo.v2 query that supports efficient pagination (cursors to continue listing documents where we left off).
  •     50 mimemagic - Pure Go ultra performant MIME sniffing library/utility.
  •     49 handy - Many utilities and helpers like string handlers/formatters and validators.
  •     47 golog - Easy and lightweight CLI tool to time track your tasks.
  •     46 go-astitodo - Parse TODOs in your GO code.
  •     43 goseaweedfs - SeaweedFS client library with almost full features.
  •     43 goreadability - Webpage summary extractor using Facebook Open Graph and arc90's readability.
  •     42 goback - Go simple exponential backoff package.
  •     41 gaper - Builds and restarts a Go project when it crashes or some watched file changes.
  •     41 intrinsic - Use x86 SIMD without writing any assembly code.
  •     38 copy-pasta - Universal multi-workstation clipboard that uses S3 like backend for the storage.
  •     37 golarm - Fire alarms with system events.
  •     34 retry - Simple and easy retry mechanism package for Go.
  •     33 pgo - Convenient functions for PHP community.
  •     33 myhttp - Simple API to make HTTP GET requests with timeout support.
  •     32 gpath - Library to simplify access struct fields with Go's expression in reflection.
  •     31 retry-go - Retrying made simple and easy for golang.
  •     31 rclient - Readable, flexible, simple-to-use client for REST APIs.
  •     30 beyond - The Go tool that will drive you to the AOP world!
  •     23 dbt - A framework for running self-updating signed binaries from a central, trusted repository.
  •     22 ugo - ugo is slice toolbox with concise syntax for Go.
  •     22 scan - Scan golang sql.Rows directly to structs, slices, or primitive types.
  •     22 gostrutils - Collections of string manipulation and conversion functions.
  •     21 generate - runs go generate recursively on a specified path or environment variable and can filter by regex.
  •     21 filter - provide filtering, sanitizing, and conversion of Go data.
  •     21 goplaceholder - a small golang lib to generate placeholder images.
  •     20 evaluator - Evaluate an expression dynamicly based on s-expression. It's simple and easy to extend.
  •     15 dlog - Compile-time controlled logger to make your release smaller without removing debug calls.
  •     15 go-httpheader - Go library for encoding structs into Header fields.
  •     15 slice - Type-safe functions for common Go slice operations.
  •     14 structs - Implement simple functions to manipulate structs.
  •     14 rerate - Redis-based rate counter and rate limiter for Go.
  •     14 okrun - go run error steamroller.
  •     14 filler - small utility to fill structs using "fill" tag.
  •     13 cmd - Library for executing shell commands on osx, windows and linux.
  •     13 ghokin - Parallelized formatter with no external dependencies for gherkin (cucumber, behat...).
  •     12 rest-go - A package that provide many helpful methods for working with rest api.
  •     12 slicer - Makes working with slices easier.
  •     11 mimesniffer - A MIME type sniffer for Go.
  •     11 ctxutil - A collection of utility functions for contexts.
  •     10 retry - A pretty simple library to ensure your work to be done.
  •      9 backscanner - A scanner similar to bufio.Scanner, but it reads and returns lines in reverse order, starting at a given position and going backward.
  •      9 command - Command pattern for Go with thread safe serial and parallel dispatcher.
  •      8 tome - Tome was designed to paginate simple RESTful APIs.
  •      7 limiters - Rate limiters for distributed applications in Golang with configurable back-ends and distributed locks.
  •      7 shutdown - App shutdown hooks for os.Signal handling.
  •      5 sslice - Create a slice which is always sorted.
  •      4 blank - Verify or remove blanks and whitespace from strings.
  •      4 sliceconv - Slice conversion between primitive types.
  •      4 silk - Read silk netflow files.
  •      4 go-problemdetails - Go package for working with Problem Details.
  •      4 retry - A simple but highly configurable retry package for Go.
  •      1 olaf - Twitter Snowflake implemented in Go.

UUID

Libraries for working with UUIDs.

  •   1778 ulid - Go implementation of ULID (Universally Unique Lexicographically Sortable Identifier).
  •    636 uuid - Implementation of Universally Unique Identifier (UUID). Supports both creation and parsing of UUIDs. Actively maintained fork of satori uuid.
  •    322 wuid - An extremely fast unique number generator, 10-135 times faster than UUID.
  •     25 goid - Generate and Parse RFC4122 compliant V4 UUIDs.
  •     23 sno - Compact, sortable and fast unique IDs with embedded metadata.
  •     16 nanoid - A tiny and efficient Go unique string ID generator.
  •     10 uuid - Generate, encode, and decode UUIDs v1 with fast or cryptographic-quality random node identifier.
  •      0 uniq - No hassle safe, fast unique identifiers with commands.

Validation

Libraries for validation.

  •   4511 validator - Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving.
  •   3915 govalidator - Validators and sanitizers for strings, numerics, slices and structs.
  •   1218 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.
  •    808 govalidator - Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
  •    182 validate - Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features.
  •     48 checkdigit - Provide check digit algorithms (Luhn, Verhoeff, Damm) and calculators (ISBN, EAN, JAN, UPC, etc.).
  •     29 jio - jio is a json schema validator similar to joi.
  •     26 validate - This package provides a framework for writing validations for Go applications.
  •     25 terraform-validator - A norms and conventions validator for Terraform.

Version Control

Libraries for version control.

  •   4776 go-git - highly extensible Git implementation in pure Go.
  •   1424 git2go - Go bindings for libgit2.
  •    774 hercules - gaining advanced insights from Git repository history.
  •     72 gh - Scriptable server and net/http middleware for GitHub Webhooks.
  •     72 go-vcs - manipulate and inspect VCS repositories in Go.
  •     12 hgo - Hgo is a collection of Go packages providing read-access to local Mercurial repositories.

Video

Libraries for manipulating video.

  •    961 goav - Comphrensive Go bindings for FFmpeg.
  •    635 m3u8 - Parser and generator library of M3U8 playlists for Apple HLS.
  •    575 gmf - Go bindings for FFmpeg av* libraries.
  •    279 go-astits - Parse and demux MPEG Transport Streams (.ts) natively in GO.
  •    213 go-astisub - Manipulate subtitles in GO (.srt, .stl, .ttml, .webvtt, .ssa/.ass, teletext, .smi, etc.).
  •    155 gst - Go bindings for GStreamer.
  •     79 libvlc-go - Go bindings for libvlc 2.X/3.X/4.X (used by the VLC media player).
  •     44 go-m3u8 - Parser and generator library for Apple m3u8 playlists.
  •     36 v4l - Video capture library for Linux, written in Go.
  •     12 libgosubs - Subtitle format support for go. Supports .srt, .ttml, and .ass.

Web Frameworks

Full stack web frameworks.

  •  34338 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.
  •  22918 Beego - beego is an open-source, high-performance web framework for the Go programming language.
  •  16087 Echo - High performance, minimalist Go web framework.
  •  11498 Revel - High-productivity web framework for the Go language.
  •   3671 Goa - Goa provides a holistic approach for developing remote APIs and microservices in Go.
  •   3380 go-json-rest - Quick and easy way to setup a RESTful JSON API.
  •   3007 Gizmo - Microservice toolkit used by the New York Times.
  •   2919 Macaron - Macaron is a high productive and modular design web framework in Go.
  •   2151 utron - Lightweight MVC framework for Go(Golang).
  •    999 tigertonic - Go framework for building JSON web services inspired by Dropwizard.
  •    927 REST Layer - Framework to build REST/GraphQL API on top of databases with mostly configuration over code.
  •    831 tango - Micro & pluggable web framework for Go.
  •    564 aah - Scalable, performant, rapid development Web framework for Go.
  •    421 gongular - Fast Go web framework with input mapping/validation and (DI) Dependency Injection.
  •    401 neo - Neo is minimal and fast Go Web Framework with extremely simple API.
  •    361 Air - An ideally refined web framework for Go.
  •    343 mango - Mango is a modular web-application framework for Go, inspired by Rack, and PEP333.
  •    315 Gondola - The web framework for writing faster sites, faster.
  •    239 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.
  •    221 Aero - High-performance web framework for Go, reaches top scores in Lighthouse.
  •    116 go-rest - Small and evil REST framework for Go.
  •    108 hiboot - hiboot is a high performance web application framework with auto configuration and dependency injection support.
  •     85 WebGo - A micro-framework to build web apps; with handler chaining, middleware and context injection. With standard library compliant HTTP handlers(i.e. http.HandlerFunc).
  •     75 Flamingo - Framework for pluggable web projects. Including a concept for modules and offering features for DI, Configareas, i18n, template engines, graphql, observability, security, events, routing & reverse routing etc.
  •     71 Golax - A non Sinatra fast HTTP framework with support for Google custom methods, deep interceptors, recursion and more.
  •     68 Microservice - The framework for the creation of microservices, written in Golang.
  •     67 uAdmin - Fully featured web framework for Golang, inspired by Django.
  •     54 YARF - Fast micro-framework designed to build REST APIs and web services in a fast and simple way.
  •     50 Fireball - More "natural" feeling web framework.
  •     46 vox - A golang web framework for humans, inspired by Koa heavily.
  •     44 patron - Patron is a microservice framework following best cloud practices with a focus on productivity.
  •     38 Ginrpc - Gin parameter automatic binding tool,gin rpc tools.
  •     37 Flamingo Commerce - Providing e-commerce features using clean architecture like DDD and ports and adapters, that you can use to build flexible e-commerce applications.
  •     30 Resoursea - REST framework for quickly writing resource based services.
  •     29 rex - Rex is a library for modular development built upon gorilla/mux, fully compatible with net/http.
  •     27 goa - goa is just like koajs for golang, it is a flexible, light, high-performance and extensible web framework based on middleware.
  •     18 rux - Simple and fast web framework for build golang HTTP applications.
  •     11 Banjo - Very simple and fast web framework for Go.
  •      0 Buffalo - Bringing the productivity of Rails to Go!

Middlewares

Actual middlewares

  •   1430 Tollbooth - Rate limit HTTP request handler.
  •   1345 CORS - Easily add CORS capabilities to your API.
  •    857 Limiter - Dead simple rate limit middleware for Go.
  •    768 go-server-timing - Add/parse Server-Timing header.
  •     98 ln-paywall - Go middleware for monetizing APIs on a per-request basis with the Lightning Network (Bitcoin).
  •     72 XFF - Handle X-Forwarded-For header and friends.
  •     34 formjson - Transparently handle JSON input as a standard form POST.
  •     16 client-timing - An HTTP client for Server-Timing header.

Libraries for creating HTTP middlewares

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

Routers

  •  10844 mux - Powerful URL router and dispatcher for golang.
  •  10567 httprouter - High performance router. Use this and the standard http handlers to form a very high performance web framework.
  •   6800 chi - Small, fast and expressive HTTP router built on net/context.
  •   1405 gocraft/web - Mux and middleware package in Go.
  •   1244 Bone - Lightning Fast HTTP Multiplexer.
  •    802 fasthttprouter - High performance router forked from httprouter. The first router fit for fasthttp.
  •    787 Goji - Goji is a minimalistic and flexible HTTP request multiplexer with support for net/context.
  •    472 xujiajun/gorouter - A simple and fast HTTP router for Go.
  •    402 httptreemux - High-speed, flexible tree-based HTTP router for Go. Inspiration from httprouter.
  •    378 lars - Is a lightweight, fast and extensible zero allocation HTTP router for Go used to create customizable frameworks.
  •    368 ozzo-routing - An extremely fast Go (golang) HTTP router that supports regular expression route matching. Comes with full support for building RESTful APIs.
  •    352 Siesta - Composable framework to write middleware and handlers.
  •    257 vestigo - Performant, stand-alone, HTTP compliant URL Router for go web applications.
  •    158 gowww/router - Lightning fast HTTP router fully compatible with the net/http.Handler interface.
  •    109 alien - Lightweight and fast http router from outer space.
  •     96 violetear - Go HTTP router.
  •     93 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.
  •     92 pure - Is a lightweight HTTP router that sticks to the std "net/http" implementation.
  •     87 xmux - High performance muxer based on httprouter with net/context support.
  •     56 GoRouter - GoRouter is a Server/API micro framwework, HTTP request router, multiplexer, mux that provides request router with middleware supporting net/context.
  •     40 bellt - A simple Go HTTP router.
  •     19 FastRouter - a fast, flexible HTTP router written in Go.
  •      6 goroute - Simple yet powerful HTTP request multiplexer.

Windows

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

XML

Libraries and tools for manipulating XML.

  •    312 zek - Generate a Go struct from XML.
  •    205 xpath - XPath package for Go.
  •    152 xquery - XQuery lets you extract data from HTML/XML documents using XPath expression.
  •     19 xml2map - XML to MAP converter written Golang.
  •     16 XML-Comp - Simple command line XML comparer that generates diffs of folders, files and tags.
  •      7 xmlwriter - Procedural XML generation API based on libxml2's xmlwriter module.

Tools

Go software and plugins.

Code Analysis

  •   3424 goimports - Tool to fix (add, remove) your Go imports automatically.
  •   3332 Golint online - Lints online Go source files on GitHub, Bitbucket and Google Project Hosting using the golint package.
  •   3332 GoLint - Golint is a linter for Go source code.
  •   2978 gosimple - gosimple is a linter for Go source code that specialises on simplifying code.
  •   2978 unused - unused checks Go code for unused constants, variables, functions and types.
  •   2978 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#.
  •   1378 errcheck - Errcheck is a program for checking for unchecked errors in Go programs.
  •    947 gcvis - Visualise Go program GC trace data in real time.
  •    685 php-parser - A Parser for PHP written in Go.
  •    649 go-critic - source code linter that brings checks that are currently not implemented in other linters.
  •    413 goast-viewer - Web based Golang AST visualizer.
  •    301 go-cleanarch - go-cleanarch was created to validate Clean Architecture rules, like a The Dependency Rule and interaction between packages in your Go projects.
  •    272 unconvert - Remove unnecessary type conversions from Go source.
  •    247 go-mod-outdated - An easy way to find outdated dependencies of your Go projects.
  •    242 gostatus - Command line tool, shows the status of repositories that contain Go packages.
  •    186 dupl - Tool for code clone detection.
  •    169 apicompat - Checks recent changes to a Go project for backwards incompatible changes.
  •     99 go-checkstyle - checkstyle is a style check tool like java checkstyle. This tool inspired by java checkstyle, golint. The style referred to some points in Go Code Review Comments.
  •     83 tickgit - CLI and go package for surfacing code comment TODOs (in any language) and applying a git blameto identify the author.
  •     80 GoPlantUML - Library and CLI that generates text plantump class diagram containing information about structures and interfaces with the relationship among them.
  •     64 lint - Run linters as part of go test.
  •     62 validate - Automatically validates struct fields with tags.
  •     45 go-outdated - Console application that displays outdated packages.
  •     43 GolangCI - GolangCI is an automated Golang code review service for GitHub pull requests. Service is open source and it's free for open source projects.
  •     14 tarp - tarp finds functions and methods without direct unit tests in Go source code.
  •      0 GoCover.io - GoCover.io offers the code coverage of any golang package as a service.
  •      0 goreturns - Adds zero-value return statements to match the func return types.

Editor Plugins

  •  11449 vim-go - Go development plugin for Vim.
  •   5558 vscode-go - Extension for Visual Studio Code (VS Code) which provides support for the Go language.
  •   4816 gocode - Autocompletion daemon for the Go programming language.
  •   3295 GoSublime - Golang plugin collection for the text editor SublimeText 3 providing code completion and other IDE-like features.
  •   1493 go-plus - Go (Golang) Package For Atom That Adds Autocomplete, Formatting, Syntax Checking, Linting and Vetting.
  •   1018 go-mode - Go mode for GNU/Emacs.
  •    171 Watch - Runs a command in an acme win on file changes.
  •     82 vim-compiler-go - Vim plugin to highlight syntax errors on save.
  •     33 go-language-server - A wrapper to turn the VSCode go extension into a language server supporting the language-server-protocol.
  •     17 gounit-vim - Vim plugin for generating Go tests based on the function's or method's signature.
  •     13 theia-go-extension - Go language support for the Theia IDE.
  •      1 goprofiling - This extension adds benchmark profiling support for the Go language to VS Code.
  •      0 Go plugin for JetBrains IDEs - Go plugin for JetBrains IDEs.

Go Generate Tools

  •   2460 gotests - Generate Go tests from your source code.
  •   1090 genny - Elegant generics for Go.
  •    174 re2dfa - Transform regular expressions into finite state machines and output Go source code.
  •    120 TOML-to-Go - Translates TOML into a Go type in the browser instantly.
  •    110 gonerics - Idiomatic Generics in Go.
  •     55 gocontracts - brings design-by-contract to Go by synchronizing the code with the documentation.
  •     35 gounit - Generate Go tests using your own templates.
  •     32 hasgo - Generate Haskell inspired functions for your slices.
  •     32 generic - flexible data type for Go.

Go Tools

  •   4636 go-swagger - Swagger 2.0 implementation for go. Swagger is a simple yet powerful representation of your RESTful API.
  •   4054 OctoLinker - Navigate through go files efficiently with the OctoLinker browser extension for GitHub.
  •   2274 go-callvis - Visualize call graph of your Go program using dot format.
  •   2217 gb - An easy to use project based build tool for the Go programming language.
  •    427 depth - Visualize dependency trees of any package by analyzing imports.
  •    425 richgo - Enrich go test outputs with text decorations.
  •    191 rts - RTS: response to struct. Generates Go structs from server responses.
  •    163 godbg - Implementation of Rusts dbg! macro for quick and easy debugging during development.
  •    101 colorgo - Wrapper around go command for colorized go build output.
  •     82 gothanks - GoThanks automatically stars your go.mod github dependencies, sending this way some love to their maintainers.
  •     76 gilbert - Build system and task runner for Go projects.
  •     37 go-pkg-complete - Bash completion for go and wgo.
  •     17 generator-go-lang - A Yeoman generator to get new Go projects started.
  •      6 go-james - Go project skeleton creator, builds and tests your projects without the manual setup.

Software Packages

Software written in Go.

DevOps Tools

  •  61793 kubernetes - Container Cluster Manager from Google.
  •  55981 Moby - Collaborative project for the container ecosystem to assemble container-based systems.
  •  32916 Gogs - A Self Hosted Git Service in the Go Programming Language.
  •  26695 traefik - Reverse proxy and load balancer with support for multiple backends.
  •  17666 gitea-github-migrator - Migrate all your GitHub repositories, issues, milestones and labels to your Gitea instance.
  •  17666 Gitea - Fork of Gogs, entirely community driven.
  •  13563 Vegeta - HTTP load testing tool and library. It's over 9000!
  •   9656 Packer - Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
  •   7302 Hey - Hey is a tiny program that sends some load to a web application.
  •   4867 GVM - GVM provides an interface to manage Go versions.
  •   4761 webhook - Tool which allows user to create HTTP endpoints (hooks) that execute commands on the server.
  •   3939 gaia - Build powerful pipelines in any programming language.
  •   3565 gox - Dead simple, no frills Go cross compile tool.
  •   2915 bosun - Time Series Alerting Framework.
  •   1909 bombardier - Fast cross-platform HTTP benchmarking tool.
  •   1638 goxc - build tool for Go, with a focus on cross-compiling and packaging.
  •   1632 fac - Command-line user interface to fix git merge conflicts.
  •   1387 kala - Simplistic, modern, and performant job scheduler.
  •   1254 script - Making it easy to write shell-like scripts in Go for DevOps and system administration tasks.
  •   1252 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.
  •   1024 s3gof3r - Small utility/library optimized for high speed transfer of large objects into and out of Amazon S3.
  •    895 Pomerium - Pomerium is an identity-aware access proxy.
  •    700 go-selfupdate - Enable your Go applications to self update.
  •    574 skm - SKM is a simple and powerful SSH Keys Manager, it helps you to manage your multiple SSH keys easily!
  •    559 Scaleway-cli - Manage BareMetal Servers from Command Line (as easily as with Docker).
  •    436 aurora - Cross-platform web-based Beanstalkd queue server console.
  •    418 govvv - “go build” wrapper to easily add version information into Go binaries.
  •    313 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.
  •    268 Mora - REST server for accessing MongoDB documents and meta data.
  •    240 lstags - Tool and API to sync Docker images across different registries.
  •    222 dogo - Monitoring changes in the source file and automatically compile and run (restart).
  •    219 godbg - Web-based gdb front-end application.
  •    216 Pewpew - Flexible HTTP command line stress tester.
  •    208 manssh - manssh is a command line tool for managing your ssh alias config easily.
  •    176 gobrew - gobrew lets you easily switch between multiple versions of go.
  •    174 Blast - A simple tool for API load testing and batch jobs.
  •    164 ostent - collects and displays system metrics and optionally relays to Graphite and/or InfluxDB.
  •    142 grapes - Lightweight tool designed to distribute commands over ssh with ease.
  •    119 uTask - Automation engine that models and executes business processes declared in yaml.
  •    116 easyssh-proxy - Golang package for easy remote execution through SSH and SCP downloading via ProxyCommand.
  •    111 jcli - Jenkins CLI allows you manage your Jenkins as an easy way.
  •    101 kcli - Command line tool for inspecting kafka topics/partitions/messages.
  •     90 terraform-provider-openapi - Terraform provider plugin that dynamically configures itself at runtime based on an OpenAPI document (formerly known as swagger file) containing the definitions of the APIs exposed.
  •     81 winrm-cli - Cli tool to remotely execute commands on Windows machines.
  •     73 go-furnace - Hosting solution written in Go. Deploy your Application with ease on AWS, GCP or DigitalOcean.
  •     65 drone-scp - Copy files and artifacts via SSH using a binary, docker or Drone CI.
  •     58 Dockerfile-Generator - A go library and an executable that produces valid Dockerfiles using various input channels.
  •     47 Dropship - Tool for deploying code via cdn.
  •     30 Rodent - Rodent helps you manage Go versions, projects and track dependencies.
  •     26 drone-jenkins - Trigger downstream Jenkins jobs using a binary, docker or Drone CI.
  •     22 awsenv - Small binary that loads Amazon (AWS) environment variables for a profile.
  •     17 Wide - Web-based IDE for Teams using Golang.
  •     10 lwc - A live-updating version of the UNIX wc command.
  •      9 DepCharge - Helps orchestrating the execution of commands across the many dependencies in larger projects.
  •      5 sg - Benchmarks a set of HTTP endpoints (like ab), with possibility to use the response code and data between each call for specific server stress based on its previous response.
  •      1 aptly - aptly is a Debian repository management tool.

Other Software

  •  40535 hugo - Fast and Modern Static Website Engine.
  •  12058 Gor - Http traffic replication tool, for replaying traffic from production to stage/dev environments in real-time.
  •   9051 restic - De-duplicating backup program.
  •   8986 Seaweed File System - Fast, Simple and Scalable Distributed File System with O(1) disk seek.
  •   6749 confd - Manage local application configuration files using templates and data from etcd or consul.
  •   6342 Comcast - Simulate bad network connections.
  •   5767 LiteIDE - LiteIDE is a simple, open source, cross-platform Go IDE.
  •   5191 drive - Google Drive client for the commandline.
  •   4313 nes - Nintendo Entertainment System (NES) emulator written in Go.
  •   4249 toxiproxy - Proxy to simulate network and system conditions for automated tests.
  •   3098 Duplicacy - A cross-platform network and cloud backup tool based on the idea of lock-free deduplication.
  •   2743 croc - Easily and securely send files or folders from one computer to another.
  •   2258 myLG - Command Line Network Diagnostic tool written in Go.
  •   2168 GoBoy - Nintendo Game Boy Color emulator written in Go.
  •   2085 Stack Up - Stack Up, a super simple deployment tool - just Unix - think of it like 'make' for a network of servers.
  •   1930 lgo - Interactive Go programming with Jupyter. It supports code completion, code inspection and 100% Go compatibility.
  •   1810 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.
  •   1804 snap - Powerful telemetry framework.
  •   1450 borg - Terminal based search engine for bash snippets.
  •   1212 scc - Sloc Cloc and Code, a very fast accurate code counter with complexity calculations and COCOMO estimates.
  •    962 Documize - Modern wiki software that integrates data from SaaS tools.
  •    883 Go Package Store - App that displays updates for the Go packages in your GOPATH.
  •    660 peg - Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator.
  •    649 Leaps - Pair programming service using Operational Transforms.
  •    639 vFlow - High-performance, scalable and reliable IPFIX, sFlow and Netflow collector.
  •    520 gfile - Securely transfer files between two computers, without any third party, over WebRTC.
  •    513 GoDNS - A dynamic DNS client tool, supports DNSPod & HE.net, written in Go.
  •    482 shell2http - Executing shell commands via http server (for prototyping or remote control).
  •    436 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.
  •    388 go-peerflix - Video streaming torrent client.
  •    372 gocc - Gocc is a compiler kit for Go written in Go.
  •    292 wellington - Sass project management tool, extends the language with sprite functions (like Compass).
  •    288 ipe - Open source Pusher server implementation compatible with Pusher client libraries written in GO.
  •    254 ide - Browser accessible IDE. Designed for Go with Go.
  •    205 Cherry - Tiny webchat server in Go.
  •    181 orange-cat - Markdown previewer written in Go.
  •    133 Orbit - A simple tool for running commands and generating files from templates.
  •    128 joincap - Command-line utility for merging multiple pcap files together.
  •    121 DDNS - Personal DDNS client with Digital Ocean Networking DNS as backend.
  •     72 boxed - Dropbox based blog engine.
  •     57 dp - Through SDK for data exchange with blockchain, developers can get easy access to DAPP development.
  •     20 naclpipe - Simple NaCL EC25519 based crypto pipe tool written in Go.
  •     17 term-quiz - Quizzes for your terminal.
  •     15 Snitch - Simple way to notify your team and many tools when someone has deployed any application via Tsuru.
  •     11 GoDocTooltip - Chrome extension for Go Doc sites, which shows function description as tooltip at function list.
  •      0 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.
  •      0 Juju - Cloud-agnostic service deployment and orchestration - supports EC2, Azure, Openstack, MAAS and more.
  •      0 Docker - Open platform for distributed applications for developers and sysadmins.
  •      0 tsuru - Extensible and open source Platform as a Service software.
  •      0 GoLand - Full featured cross-platform Go IDE.
  •      0 syncthing - Open, decentralized file synchronization tool and protocol.

Resources

Where to discover new Go libraries.

Benchmarks

  •   1329 go-http-routing-benchmark - Go HTTP request router benchmark and comparison.
  •   1087 go-web-framework-benchmark - Go web framework benchmark.
  •    944 skynet - Skynet 1M threads microbenchmark.
  •    934 go_serialization_benchmarks - Benchmarks of Go serialization methods.
  •    186 speedtest-resize - Compare various Image resize algorithms for the Go language.
  •    129 go-benchmarks - Few miscellaneous Go microbenchmarks. Compare some language features to alternative approaches.
  •     98 gospeed - Go micro-benchmarks for calculating the speed of language constructs.
  •     90 autobench - Framework to compare the performance between different Go versions.
  •     55 gocostmodel - Benchmarks of common basic operations for the Go language.
  •     50 golang-sql-benchmark - Collection of benchmarks for popular Go database/SQL utilities.
  •     20 go-benchmark-app - Powerful HTTP-benchmark tool mixed with Аb, Wrk, Siege tools. Gathering statistics and various parameters for benchmarks and comparison results.
  •     16 kvbench - Key/Value database benchmark.

Conferences

E-Books

Gophers

Meetups

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

Twitter

Websites

Tutorials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment