docs | ||
LICENSE | ||
MAINTAINERS | ||
README_EN.md | ||
README.md |
Awesome Go
This project is awesome-go Chinese version, last sync time : 2022-06-19 07:30:00(Synchronize every day)
financial support to Awesome Go
A curated list of awesome Go frameworks, libraries and software. Inspired by awesome-python。
Icon :
Explain
We use the Golang Bridge community slack for instant communication, follow the form here to join.
Sponsorships:
Special thanks to
Awesome Go has no monthly fee, but we have employees who work hard to keep it running, with money raised we can repay the effort of each person involved! You can see how we calculate our billing and distribution as it is open to the entire community. Want to be a supporter of the project click here.
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
- Awesome Go
- Contents
- Audio and Music
- Authentication and OAuth
- Blockchain
- Bot Building
- Build Automation
- Command Line
- Configuration
- Continuous Integration
- CSS Preprocessors
- Data Structures and Algorithms
- Database
- Database Drivers
- Date and Time
- Distributed Systems
- Dynamic DNS
- Embeddable Scripting Languages
- Error Handling
- File Handling
- Financial
- Forms
- Functional
- Game Development
- Generators
- Geographic
- Go Compilers
- Goroutines
- GUI
- Hardware
- Images
- IoT (Internet of Things)
- Job Scheduler
- JSON
- Logging
- Machine Learning
- Messaging
- Microsoft Office
- Miscellaneous
- Natural Language Processing
- Networking
- OpenGL
- ORM
- Package Management
- Performance
- Query Language
- Resource Embedding
- Science and Data Analysis
- Security
- Serialization
- Server Applications
- Stream Processing
- Template Engines
- Testing
- Text Processing
- Third-party APIs
- Utilities
- UUID
- Validation
- Version Control
- Video
- Web Frameworks
- WebAssembly
- Windows
- XML
- Zero Trust
- Code Analysis
- Editor Plugins
- Go Generate Tools
- Go Tools
- Software Packages
- Resources
Audio and Music
Libraries for manipulating audio.
- Oto star:1002 A low-level library to play sound on multiple platforms.
- PortAudio star:506 Go bindings for the PortAudio audio I/O library.
- music-theory star:399 Music theory models in Go.
- id3v2 star:246 ID3 decoding and encoding library for Go.
- GoAudio star:229 Native Go Audio Processing Library.
- flac star:214 Native Go FLAC encoder/decoder with support for FLAC streams.
- malgo star:177 Mini audio library.
- gaad star:101 Native Go AAC bitstream parser.
- minimp3 star:81 Lightweight MP3 decoder library.
- gosamplerate star:19 libsamplerate bindings for go.
Authentication and OAuth
Libraries for implementing authentications schemes.
- casbin star:12123 Authorization library that supports access control models like ACL, RBAC, ABAC.
- oauth2 star:4208 Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine and App Engine support.
- goth star:3704 provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.
- authboss star:3080 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.
- go-jose star:1928 Fairly complete implementation of the JOSE working group's JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs.
- loginsrv star:1861 JWT login microservice with plugable backends such as OAuth2 (Github), htpasswd, osiam.
- osin star:1737 Golang OAuth2 server library.
- gologin star:1528 chainable handlers for login with OAuth1 and OAuth2 authentication providers.
- gorbac star:1301 provides a lightweight role-based access control (RBAC) implementation in Golang.
- scs star:1123 Session Manager for HTTP servers.
- paseto star:606 Golang implementation of Platform-Agnostic Security Tokens (PASETO).
- jwt star:545 Safe, simple and fast JSON Web Tokens for Go.
- permissions2 star:457 Library for keeping track of users, login states and permissions. Uses secure cookies and bcrypt.
- go-guardian star:373 Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication that supports LDAP, Basic, Bearer token and Certificate based authentication.
- jwt star:285 Lightweight JSON Web Token (JWT) library.
- jeff star:238 Simple, flexible, secure and idiomatic web session management with pluggable backends.
- jwt-auth star:217 JWT middleware for Golang http servers with many configuration options.
- otpgen star:120 Library to generate TOTP/HOTP codes.
- sessionup star:116 Simple, yet effective HTTP session management and identification package.
- session star:107 Go session management for web servers (including support for Google App Engine - GAE).
- rbac star:98 Minimalistic RBAC package for Go applications.
- sjwt star:98 Simple jwt generator and parser.
- sessions star:65 Dead simple, highly performant, highly customizable sessions service for go http servers.
- securecookie star:57 Efficient secure cookie encoding/decoding.
- branca star:35 branca token specification implementation for Golang 1.15+.
- otpgo star:34 Time-Based One-Time Password (TOTP) and HMAC-Based One-Time Password (HOTP) library for Go.
- scope star:21 Easily Manage OAuth2 Scopes In Go.
- cookiestxt star:13 provides parser of cookies.txt file format.
Blockchain
Tools for building blockchains.
- go-ethereum star:37965 Official Go implementation of the Ethereum protocol.
- tendermint star:4975 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.
- cosmos-sdk star:4072 A Framework for Building Public Blockchains in the Cosmos Ecosystem.
- gossamer star:335 A Go implementation of the Polkadot Host.
- solana-go star:316 Go library to interface with Solana JSON RPC and WebSocket interfaces.
Bot Building
Libraries for building and working with bots.
- telegram-bot-api star:3739 Simple and clean Telegram bot client.
- olivia star:3239 A chatbot built with an artificial neural network.
- telebot star:2599 Telegram bot framework written in Go.
- Kelp star:896 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.
- Golang CryptoTrading Bot star:785 A golang implementation of a console-based trading bot for cryptocurrency exchanges.
- go-chat-bot star:744 IRC, Slack & Telegram bot written in Go.
- go-joe A general-purpose bot library inspired by Hubot but written in Go.
- slacker star:606 Easy to use framework to create Slack bots.
- tbot star:323 Telegram bot server with API similar to net/http.
- wayback star:282 A bot for Telegram, Mastodon, Slack, and other messaging platforms archives webpages.
- go-sarah star:243 Framework to build bot for desired chat services including LINE, Slack, Gitter and more.
- go-twitch-irc star:236 Library to write bots for twitch.tv chat
- Tenyks star:171 Service oriented IRC bot using Redis and JSON for messaging.
- echotron star:142 An elegant and concurrent library for Telegram Bots in Go.
- hanu star:136 Framework for writing Slack bots.
- go-tgbot star:112 Pure Golang Telegram Bot API wrapper, generated from swagger file, session-based router and middleware.
- slack-bot star:100 Ready to use Slack Bot for lazy developers: Custom commands, Jenkins, Jira, Bitbucket, Github...
- margelet star:72 Framework for building Telegram bots.
- larry star:66 Larry 🐦 is a really simple Twitter bot generator that tweets random repositories from Github built in Go.
- ephemeral-roles star:63 A Discord bot for managing ephemeral roles based upon voice channel member presence.
- slackscot star:51 Another framework for building Slack bots.
- govkbot star:38 Simple Go VK bot library.
- telego star:31 Telegram Bot API library for Golang with full one-to-one API implementation.
- micha star:18 Go Library for Telegram bot api.
- teleterm star:10 Telegram Bot Exec Terminal Command.
Build Automation
Libraries and tools helping with build automation.
- Task star:5301 simple "Make" alternative.
- realize star:4243 Go build system with file watchers and live reload. Run, build and watch file changes with custom paths.
- mage star:3037 Mage is a make/rake-like build tool using Go.
- mmake star:1602 Modern Make.
- goyek star:293 Create build pipelines in Go.
- taskctl star:191 Concurrent task runner.
- 1build star:167 Command line tool to frictionlessly manage project-specific commands.
- gaper star:56 Builds and restarts a Go project when it crashes or some watched file changes.
- gilbert Build system and task runner for Go projects.
- anko star:24 Simple application watcher for multiple programming languages.
Command Line
Advanced Console UIs
Libraries for building Console Applications and Console User Interfaces.
- termui star:11877 Go terminal dashboard based on termbox-go and inspired by blessed-contrib.
- gocui star:8239 Minimalist Go library aimed at creating Console User Interfaces.
- gommon/color Style terminal text.
- go-prompt star:4503 Library for building a powerful interactive prompt, inspired by python-prompt-toolkit.
- termbox-go star:4339 Termbox is a library for creating cross-platform text-based interfaces.
- pterm star:2640 A library to beautify console output on every platform with many combinable components.
- progressbar star:2516 Basic thread-safe progress bar that works in every OS.
- termdash star:1994 Go terminal dashboard based on termbox-go and inspired by termui.
- asciigraph star:1950 Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
- uiprogress star:1918 Flexible library to render progress bars in terminal applications.
- spinner star:1807 Go package to easily provide a terminal spinner with options.
- mpb star:1685 Multi progress bar for terminal applications.
- uilive star:1459 Library for updating terminal output in realtime.
- aurora star:1203 ANSI terminal colors that supports fmt.Printf/Sprintf.
- gookit/color star:1119 Terminal color rendering tool library, support 16 colors, 256 colors, RGB color rendering output, compatible with Windows.
- termenv star:1081 Advanced ANSI style & color support for your terminal applications.
- uitable star:650 Library to improve readability in terminal apps using tabular data.
- go-isatty star:622 isatty for golang.
- go-colorable star:618 Colorable writer for windows.
- chalk star:396 Intuitive package for prettifying terminal/console output.
- simpletable star:358 Simple tables in terminal with Go.
- yacspin star:344 Yet Another CLi Spinner package, for working with terminal spinners.
- tabby star:317 A tiny library for super simple Golang tables.
- box-cli-maker star:211 Make Highly Customized Boxes for your CLI.
- go-colortext star:210 Go library for color output in terminals.
- cfmt star:84 Contextual fmt inspired by bootstrap color classes.
- tabular star:63 Print ASCII tables from command line utilities without the need to pass large sets of data to the API.
- cfmt star:41 Simple and convenient formatted stylized output fully compatible with fmt library.
- ctc star:37 The non-invasive cross-platform terminal color library does not need to modify the Print method.
- table star:28 Small library for terminal color based tables .
- marker star:27 Easiest way to match and mark strings for colorful terminal outputs.
- colourize star:25 Go library for ANSI colour text in terminals.
- go-ataman star:11 Go library for rendering ANSI colored text templates in terminals.
Standard CLI
Libraries for building standard or basic Command Line applications.
- cobra star:27093 Commander for modern Go CLI interactions.
- urfave/cli star:18517 Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).
- elvish star:4758 An expressive programming language and a versatile interactive shell.
- kingpin star:3229 Command line and flag parser supporting sub commands (superseded by
kong
; see below). - Dnote star:2314 A simple command line notebook with multi-device sync.
- go-flags star:2248 go command line option parser.
- pflag star:1818 Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
- mitchellh/cli star:1547 Go library for implementing command-line interfaces.
- go-arg star:1401 Struct-based argument parsing in Go.
- ops star:983 Unikernel Builder/Orchestrator.
- liner star:899 Go readline-like library for command-line interfaces.
- complete star:834 Write bash completions in Go + Go command bash completion.
- mow.cli star:802 Go library for building CLI applications with sophisticated flag and argument parsing and validation.
- flaggy star:800 A robust and idiomatic flags package with excellent subcommand support.
- cli star:654 Feature-rich and easy to use command-line package based on golang struct tags.
- argparse star:430 Command line argument parser inspired by Python's argparse module.
- climax star:198 Alternative CLI with "human face", in spirit of Go command.
- wmenu star:163 Easy to use menu structure for cli applications that prompts users to make choices.
- commandeer star:156 Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags.
- sflags star:138 Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin and other libraries.
- flag star:120 Simple but powerful command line option parsing library for Go supporting subcommand.
- clîr star:114 A Simple and Clear CLI library. Dependency free.
- job star:114 JOB, make your short-term command as a long-term job.
- ukautz/clif star:113 Small command line interface framework.
- cli star:108 Simple and complete API for building command line interfaces in Go.
- cmdr star:107 A POSIX/GNU style, getopt-like command-line UI Go library.
- env star:91 Tag-based environment configuration for structs.
- wlog star:57 Simple logging interface that supports cross-platform color and concurrency.
- gocmd star:56 Go library for building command line applications.
- hiboot cli cli application framework with auto configuration and dependency injection.
- carapace-bin star:52 Multi-shell multi-command argument completer.
- acmd star:47 Simple, useful and opinionated CLI package in Go.
- strumt star:46 Library to create prompt chain.
- go-getoptions star:42 Go option parser inspired on the flexibility of Perl’s GetOpt::Long.
- carapace star:39 Command argument completion generator for spf13/cobra.
- flagvar star:39 A collection of flag argument types for Go's standard
flag
package. - argv star:33 Go library to split command line string as arguments array using the bash syntax.
- cmd star:33 Extends the standard
flag
package to support sub commands and more in idiomatic way. - go-commander star:29 Go library to simplify CLI workflow.
- command-chain star:24 A go library for configure and run command chains - such like pipelining in unix shells.
- sand star:18 Simple API for creating interpreters and so much more.
- go-andotp star:15 A CLI program to encrypt/decrypt andOTP files. Can be used as library as well.
- ts star:13 Timestamp convert & compare tool.
- carapace-spec star:2 Define simple completions using a spec file.
- subcmd star:2 Another approach to parsing and running subcommands. Works alongside the standard
flag
package.
Configuration
Libraries for configuration parsing.
- viper star:19578 Go configuration with fangs.
- godotenv star:4995 Go port of Ruby's dotenv library (Loads environment variables from
.env
). - kelseyhightower/envconfig star:4133 Go library for managing configuration data from environment variables.
- ini star:2983 Go package to read and write INI files.
- env star:2516 Parse environment variables to Go structs (with defaults).
- koanf star:1030 Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line.
- kong star:976 Command-line parser with support for arbitrarily complex command-line structures and additional sources of configuration such as YAML, JSON, TOML, etc (succesor to
kingpin
). - konfig star:628 Composable, observable and performant config handling for Go for the distributed processing era.
- cleanenv star:621 Minimalistic configuration reader (from files, ENV, and wherever you want).
- confita star:442 Load configuration in cascade from multiple backends into a struct.
- aconfig star:372 Simple, useful and opinionated config loader.
- gookit/config star:358 application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge.
- config star:311 Cloud native application configuration. Bind ENV to structs in only two lines.
- GoLobby/Config star:284 GoLobby Config is a lightweight yet powerful configuration manager for the Go programming language.
- gone/jconf Modular JSON configuration. Keep you config structs along with the code they configure and delegate parsing to submodules without sacrificing full config serialization.
- hjson star:266 Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.
- store star:260 Lightweight configuration manager for Go.
- config star:250 JSON or YAML configuration wrapper with environment variables and flags parsing.
- xdg star:224 Go implementation of the XDG Base Directory Specification and XDG user directories.
- envconfig star:222 Read your configuration from environment variables.
- fig star:213 Tiny library for reading configuration from a file and from environment variables (with validation & defaults).
- joshbetz/config star:210 Small configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP.
- gcfg star:161 read INI-style configuration files into Go structs; supports user-defined types and subsections.
- harvester star:107 Harvester, a easy to use static and dynamic configuration package supportig seeding, env vars and Consul integration.
- onion star:104 Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP.
- envcfg star:98 Un-marshaling environment variables to Go structs.
- envh star:95 Helpers to manage environment variables.
- configuro star:81 opinionated configuration loading & validation framework from ENV and Files focused towards 12-Factor compliant applications.
- xdg star:68 Cross platform package that follows the XDG Standard.
- gofigure star:64 Go application configuration made easy.
- configuration star:62 Library for initializing configuration structs from env variables, files, flags and 'default' tag.
- configure star:56 Provides configuration through multiple sources, including JSON, flags and environment variables.
- go-aws-ssm star:50 Go package that fetches parameters from AWS System Manager - Parameter Store.
- uConfig star:49 Lightweight, zero-dependency, and extendable configuration management.
- hocon star:44 Configuration library for working with the HOCON(a human-friendly JSON superset) format, supports features like environment variables, referencing other values, comments and multiple files.
- go-up star:37 A simple configuration library with recursive placeholders resolution and no magic.
- goConfig Parses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.
- ingo star:37 Flags persisted in an ini-like config file.
- mini star:30 Golang package for parsing ini-style configuration files.
- genv star:28 Read environment variables easily with dotenv support.
- conflate star:25 Library/tool to merge multiple JSON/YAML/TOML files from arbitrary URLs, validation against a JSON schema, and application of default values defined in the schema.
- env star:22 A lightweight package for loading environment variables into structs.
- config star:20 configure you app using file, environment variables, or flags in two lines of code
- go-ssm-config star:14 Go utility for loading configuration parameters from AWS SSM (Parameter Store).
- envconf star:10 Configuration from environment.
- ini star:9 INI Parser & Write Library, Unmarshal to Struct,Marshal to Json,Write File,watch file.
- go-ini star:8 A Go package that marshals and unmarshals INI-files.
- nasermirzaei89/env star:8 Simple useful package for read environment variables.
- typenv star:7 Minimalistic, zero dependency, typed environment variables library.
- swap star:6 Instantiate/configure structs recursively, based on build environment. (YAML, TOML, JSON and env).
- go-conf star:4 Simple library for application configuration based on annotated structs. It supports reading the configuration from environment variables, config files and command line parameters.
- piper star:4 Viper wrapper with config inheritance and key generation.
- gonfig star:3 Tag-based configuration parser which loads values from different providers into typesafe struct.
- nfigure star:1 Per-library struct-tag based configuration from command lines (Posix & Go-style); environment, JSON, YAML
Continuous Integration
Tools for help with continuous integration.
- drone star:25171 Drone is a Continuous Integration platform built on Docker, written in Go.
- CDS star:3873 Enterprise-Grade CI/CD and DevOps Automation Open Source Platform.
- goveralls star:724 Go integration for Coveralls.io continuous code coverage tracking system.
- gotestfmt star:214 go test output for humans.
- overalls star:109 Multi-Package go project coverprofile for tools like goveralls.
- duci star:73 A simple ci server no needs domain specific languages.
- gomason star:53 Test, Build, Sign, and Publish your go binaries from a clean workspace.
- roveralls star:16 Recursive coverage testing tool.
CSS Preprocessors
Libraries for preprocessing CSS files.
- gcss star:453 Pure Go CSS Preprocessor.
- go-libsass star:188 Go wrapper to the 100% Sass compatible libsass project.
Data Structures and Algorithms
Bit-packing and Compression
- roaring star:1653 Go package implementing compressed bitsets.
- binpacker star:187 Binary packer and unpacker helps user build custom binary stream.
- bit star:120 Golang set data structure with bonus bit-twiddling functions.
- crunch star:59 Go package implementing buffers for handling various datatypes easily.
- go-ef star:20 A Go implementation of the Elias-Fano encoding.
- bingo star:7 Fast, zero-allocation, lexicographical-order-preserving packing of native types to bytes.
Bit Sets
- bitset star:887 Go package implementing bitsets.
- bitmap star:147 Dense, zero-allocation, SIMD-enabled bitmap/bitset in Go.
Bloom and Cuckoo Filters
- bloom star:1590 Go package implementing Bloom filters.
- boomfilters star:1454 Probabilistic data structures for processing continuous, unbounded streams.
- cuckoofilter star:911 Cuckoo filter: a good alternative to a counting bloom filter implemented in Go.
- cuckoo-filter star:218 Cuckoo filter: a comprehensive cuckoo filter, which is configurable and space optimized compared with other implements, and all features mentioned in original paper is available.
- bloom star:146 Bloom filters implemented in Go.
- ring star:126 Go implementation of a high performance, thread safe bloom filter.
- bloom star:72 Golang Bloom filter implementation.
- bloomfilter star:9 Yet another Bloomfilter implementation in Go, compatible with Java's Guava library.
Data Structure and Algorithm Collections
- gods star:11653 Go Data Structures. Containers, Sets, Lists, Stacks, Maps, BidiMaps, Trees, HashSet etc.
- go-datastructures star:6517 Collection of useful, performant, and thread-safe data structures.
- gostl star:663 Data structure and algorithm library for go, designed to provide functions similar to C++ STL.
- algorithms star:644 Algorithms and data structures.CLRS study.
Iterators
- iter star:157 Go implementation of C++ STL iterators and algorithms.
- goterator star:8 Iterator implementation to provide map and reduce functionalities.
Maps
See also Database for more complex key-value stores, and Trees for additional ordered map implementations.
- cmap star:28 a thread-safe concurrent map for go, support using
interface{}
as key and auto scale up shards. - dict star:25 Python-like dictionaries (dict) for Go.
- goradd/maps star:5 Go 1.18+ generic map interface for maps; safe maps; ordered maps; ordered, safe maps; etc.
Miscellaneous Data Structures and Algorithms
- gota star:2204 Implementation of dataframes, series, and data wrangling methods for Go.
- hyperloglog star:780 HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction.
- go-geoindex star:340 In-memory geo index.
- hilbert star:251 Go package for mapping values to and from space-filling curves, such as Hilbert and Peano curves.
- go-rquad star:120 Region quadtrees with efficient point location and neighbour finding.
- conjungo star:105 A small, powerful and flexible merge library.
- go-rampart star:80 Determine how intervals relate to each other.
- count-min-log star:57 Go implementation Count-Min-Log sketch: Approximately counting with approximate counters (Like Count-Min sketch but using less memory).
- hide star:46 ID type with marshalling to/from hash to prevent sending IDs to clients.
- concurrent-writer star:43 Highly concurrent drop-in replacement for
bufio.Writer
. - go-tuple star:28 Generic tuple implementation for Go 1.18+.
- fsm star:21 Finite-State Machine package.
- gofal star:14 fractional api for Go.
- go18ds star:13 Go Data Structures using Go 1.18 generics.
- genfuncs star:12 Go 1.18+ generics package inspired by Kotlin's Sequence and Map.
- slices star:7 Functions that operate on slices; like
package strings
but adapted to work with slices. - slices star:5 Pure, generic functions for slices.
Nullable Types
- nan star:52 Zero allocation Nullable structures in one library with handy conversion functions, marshallers and unmarshallers.
- typ star:32 Null Types, Safe primitive type conversion and fetching value from complex structures.
- null star:25 Nullable Go types that can be marshalled/unmarshalled to/from JSON.
Queues
- deque star:344 Fast ring-buffer deque (double-ended queue).
- goconcurrentqueue star:188 Concurrent FIFO queue.
- memlog star:55 An easy to use, lightweight, thread-safe and append-only in-memory data structure inspired by Apache Kafka.
- deque star:47 A highly optimized double-ended queue.
Sets
- golang-set star:2494 Thread-Safe and Non-Thread-Safe high-performance sets for Go.
- goset star:46 A useful Set collection implementation for Go.
- set star:21 Simple set data structure implementation in Go using LinkedHashMap.
- dsu star:6 Disjoint Set data structure implementation in Go.
Text Analysis
- bleve star:8452 Modern text indexing library for go.
- trie star:589 Trie implementation in Go.
- go-edlib star:328 Go string comparison and edit distance algorithms library (Levenshtein, LCS, Hamming, Damerau levenshtein, Jaro-Winkler, etc.) compatible with Unicode.
- go-adaptive-radix-tree star:233 Go implementation of Adaptive Radix Tree.
- levenshtein star:205 Implementation to calculate levenshtein distance in Go.
- levenshtein star:68 Levenshtein distance and similarity metrics with customizable edit costs and Winkler-like bonus for common prefix.
- ptrie star:27 An implementation of prefix tree.
- mspm star:17 Multi-String Pattern Matching Algorithm for information retrieval.
- parsefields star:6 Tools for parse JSON-like logs for collecting unique fields and events.
Trees
- hashsplit Split byte streams into chunks, and arrange chunks into trees, with boundaries determined by content, not position.
- skiplist star:208 Very fast Go Skiplist implementation.
- skiplist star:79 Skiplist implementation in Go.
- treap star:19 Persistent, fast ordered map using tree heaps.
- treemap star:19 Generic key-sorted map using a red-black tree under the hood.
- merkle star:2 Space-efficient computation of Merkle root hashes and inclusion proofs.
Pipes
- pipeline star:39 An implementation of pipelines with fan-in and fan-out.
- parapipe star:19 FIFO Pipeline which parallels execution on each stage while maintaining the order of messages and results.
- ordered-concurrently star:15 Go module that processes work concurrently and returns output in a channel in the order of input.
Database
Caches
Data stores with expiring records, in-memory distributed data stores, or in-memory subsets of file-based databases.
- groupcache star:11455 Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
- BigCache star:5753 Efficient key/value cache for gigabytes of data.
- GCache star:1955 Cache library with support for expirable Cache, LFU, LRU and ARC.
- cache2go star:1765 In-memory key:value cache which supports automatic invalidation based on timeouts.
- fastcache star:1480 fast thread-safe inmemory cache for big number of entries. Minimizes GC overhead.
- gocache star:1347 A complete Go cache library with mutiple stores (memory, memcache, redis, ...), chainable, loadable, metrics cache and more.
- ttlcache star:435 An in-memory cache with item expiration and generics.
- cachego star:175 Golang Cache component for multiple drivers.
- remember-go star:113 A universal interface for caching slow database queries (backed by redis, memcached, ristretto, or in-memory).
- cache star:107 In-memory key:value store with expiration time, 0 dependencies, <100 LoC, 100% coverage.
- bcache star:88 Eventually consistent distributed in-memory cache Go library.
- go-mcache star:82 Fast in-memory key:value store/cache library. Pointer caches.
- couchcache star:57 RESTful caching micro-service backed by Couchbase server.
- timedmap star:42 Map with expiring key-value pairs.
- clusteredBigCache star:41 BigCache with clustering support and individual item expiration.
- 2q star:10 2Q in-memory cache implementation.
- gdcache star:9 A pure non-intrusive cache library implemented by golang, you can use it to implement your own distributed cache.
- ttlcache star:5 In-memory key value storage with TTL for each record.
Databases Implemented in Go
- prometheus star:42987 Monitoring system and time series database.
- tidb star:31586 TiDB is a distributed SQL database. Inspired by the design of Google F1.
- cockroach star:24920 Scalable, Geo-Replicated, Transactional Datastore.
- influxdb star:23649 Scalable datastore for metrics, events, and real-time analytics.
- dgraph star:18132 Scalable, Distributed, Low Latency, High Throughput Graph Database.
- badger star:10934 Fast key-value store in Go.
- Milvus star:10600 Milvus is a vector database for embedding management, analytics and search.
- rqlite star:10558 The lightweight, distributed, relational database built on SQLite.
- immudb star:7620 immudb is a lightweight, high-speed immutable database for systems and applications written in Go.
- VictoriaMetrics star:6592 fast, resource-effective and scalable open source time series database. May be used as long-term remote storage for Prometheus. Supports PromQL.
- bbolt star:5626 An embedded key/value database for Go.
- 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).
- goleveldb star:5180 Implementation of the LevelDB key/value database in Go.
- ledisdb star:3865 Ledisdb is a high performance NoSQL like Redis based on LevelDB.
- buntdb star:3777 Fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support.
- rosedb star:2896 An embedded k-v database based on LSM+WAL, supports string, list, hash, set, zset.
- tiedot star:2683 Your NoSQL database powered by Golang.
- nutsdb star:2203 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.
- godis star:1936 A Golang implemented high-performance Redis server and cluster.
- CovenantSQL star:1335 CovenantSQL is a SQL database on blockchain.
- diskv star:1173 Home-grown disk-backed key-value store.
- Databunker star:986 Personally identifiable information (PII) storage service built to comply with GDPR and CCPA.
- column star:941 High-performance, columnar, embeddable in-memory store with bitmap indexing and transactions.
- eliasdb star:919 Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.
- pogreb star:899 Embedded key-value store for read-heavy workloads.
- moss star:868 Moss is a simple LSM key-value storage engine written in 100% Go.
- lotusdb star:847 Fast k/v database compatible with lsm and b+tree.
- levigo star:404 Levigo is a Go wrapper for LevelDB.
- pudge star:320 Fast and simple key/value store written using Go's standard library.
- dtf star:242 A distributed transaction manager. Support XA, TCC, SAGA, Reliable Messages.
- Vasto star:238 A distributed high-performance key-value store. On Disk. Eventual consistent. HA. Able to grow or shrink without service interruption.
- clover star:215 A lightweight document-oriented NoSQL database written in pure Golang.
- piladb star:194 Lightweight RESTful database engine based on stack data structures.
- unitdb star:91 Fast timeseries database for IoT, realtime messaging applications. Access unitdb with pubsub over tcp or websocket using github.com/unit-io/unitd application.
- hare star:58 A simple database management system that stores each table as a text file of line-delimited JSON.
- Coffer star:30 Simple ACID key-value database that supports transactions.
- tempdb star:16 Key-value store for temporary items.
Database Schema Migration
- migrate star:8906 Database migrations. CLI and Golang library.
- goose star:2734 Database migration tool. You can manage your database's evolution by creating incremental SQL or Go scripts.
- sql-migrate star:2493 Database migration tool. Allows embedding migrations into the application using go-bindata.
- atlas star:1644 A Database Toolkit. A CLI designed to help companies better work with their data.
- skeema star:1026 Pure-SQL schema management system for MySQL, with support for sharding and external online schema change tools.
- soda Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
- goavro star:808 A Go package that encodes and decodes Avro data.
- gormigrate star:778 Database schema migration helper for Gorm ORM.
- darwin star:130 Database schema evolution library for Go.
- migrator star:127 Dead simple Go database migration library.
- go-pg-migrations star:81 A Go package to help write migrations with go-pg/pg.
- avro star:35 Discover SQL schemas and convert them to AVRO schemas. Query SQL records into AVRO bytes.
- sqlize star:34 Database migration generator. Allows generate sql migration from model and existing sql by differ them.
- pravasan star:28 Simple Migration tool - currently for MySQL but planning to soon support Postgres, SQLite, MongoDB, etc.
- go-fixtures star:27 Django style fixtures for Golang's excellent built-in database/sql library.
- schema star:22 Library to embed schema migrations for database/sql-compatible databases inside your Go binaries.
- migrator star:18 MySQL database migrator designed to run migrations to your features and manage database schema update with intuitive go code.
- go-pg-migrate star:7 CLI-friendly package for go-pg migrations management.
- libschema star:3 Define your migrations separately in each libary. Migrations for open source libraries. MySQL & PostgreSQL.
- godfish star:1 Database migration manager, works with native query language. Support for cassandra, mysql, postgres, sqlite3.
Database Tools
- vitess star:14224 vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.
- pgweb star:7331 Web-based PostgreSQL database browser.
- kingshard star:6036 kingshard is a high performance proxy for MySQL powered by Golang.
- orchestrator star:4563 MySQL replication topology manager & visualizer.
- go-mysql-elasticsearch star:3784 Sync your MySQL data into Elasticsearch automatically.
- go-mysql star:3644 Go toolset to handle MySQL protocol and replication.
- pREST star:3263 Simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new.
- chproxy star:918 HTTP proxy for ClickHouse database.
- pg_timetable star:722 Advanced scheduling for PostgreSQL.
- clickhouse-bulk star:364 Collects small inserts and sends big requests to ClickHouse servers.
- myreplication star:185 MySql binary log replication listener. Supports statement and row based replication.
- octillery star:165 Go package for sharding databases ( Supports every ORM or raw SQL ).
- rdb star:147 Redis RDB file parser for secondary development and memory analysis.
- dbbench star:68 Database benchmarking tool with support for several databases and scripts.
- datagen star:48 A fast data generator that's multi-table aware and supports multi-row DML.
- prep star:31 Use prepared SQL statements without changing your code.
- rwdb star:14 rwdb provides read replica capability for multiple database servers setup.
- dynago star:2 Simplify working with AWS DynamoDB.
SQL Query Builders
Libraries for building and using SQL.
- sqlc star:5765 Generate type-safe code from SQL.
- Squirrel star:4913 Go library that helps you build SQL queries.
- xo star:3133 Generate idiomatic Go code for databases based on existing schema definitions or custom queries supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server.
- goqu star:1562 Idiomatic SQL builder and query library.
- gendry star:1402 Non-invasive SQL builder and powerful data binder.
- jet star:719 Framework for writing type-safe SQL queries in Go, with ability to easily convert database query result into desired arbitrary object structure.
- Dotsql star:634 Go library that helps you keep sql files in one place and use them with ease.
- ozzo-dbx star:551 Powerful data retrieval methods as well as DB-agnostic query building capabilities.
- dbq star:342 Zero boilerplate database operations for Go.
- sqlingo star:244 A lightweight DSL to build SQL in Go.
- sqrl star:243 SQL query builder, fork of Squirrel with improved performance.
- Squalus Thin layer over the Go SQL package that makes it easier to perform queries.
- sq star:161 Type-safe SQL builder and struct mapper for Go.
- igor star:86 Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax.
- sqlf star:69 Fast SQL query builder.
- buildsqlx star:63 Go database query builder library for PostgreSQL.
- godbal star:53 Database Abstraction Layer (dbal) for go. Support SQL builder and get result easily.
- bqb star:37 Lightweight and easy to learn query builder.
- gosql star:23 SQL Query builder with better null values support.
- hasql Library for accessing multi-host SQL database installations.
- qry star:21 Tool that generates constants from files with raw SQL queries.
- mpath star:11 MPTT (Modified Preorder Tree Traversal) package for SQL records - materialized path realisation.
- ormlite star:3 Lightweight package containing some ORM-like features and helpers for sqlite databases.
- sg star:1 A SQL Gen for generating standard SQLs(supports: CRUD) written in Go.
Database Drivers
Interfaces to Multiple Backends
- cayley star:14216 Graph database with support for multiple backends.
- gokv star:438 Simple key-value store abstraction and implementations for Go (Redis, Consul, etcd, bbolt, BadgerDB, LevelDB, Memcached, DynamoDB, S3, PostgreSQL, MongoDB, CockroachDB and many more).
- dsc star:25 Datastore connectivity for SQL, NoSQL, structured files.
Relational Database Drivers
- go-sql-driver/mysql star:12341 MySQL driver for Go.
- pq star:7385 Pure Go Postgres driver for database/sql.
- go-sqlite3 star:5771 SQLite3 driver for go that uses database/sql.
- pgx star:5578 PostgreSQL driver supporting features beyond those exposed by database/sql.
- go-mssqldb star:1586 Microsoft MSSQL driver for Go.
- go-oci8 star:592 Oracle driver for go that uses database/sql.
- sqlhooks star:550 Attach hooks to any database/sql driver.
- godror star:365 Oracle driver for Go, using the ODPI-C driver.
- Kivik star:238 Kivik provides a common Go and GopherJS client library for CouchDB, PouchDB, and similar databases.
- firebirdsql star:171 Firebird RDBMS SQL driver for Go.
- go-adodb star:128 Microsoft ActiveX Object DataBase driver for go that uses database/sql.
- Sqinn-Go star:123 SQLite with pure Go.
- gofreetds star:106 Microsoft MSSQL driver. Go wrapper over FreeTDS.
- avatica star:95 Apache Avatica/Phoenix SQL driver for database/sql.
- bgc star:16 Datastore Connectivity for BigQuery for go.
- pig star:9 Simple pgx wrapper to execute and scan query results easily.
NoSQL Database Drivers
- redis star:14674 Redis client for Golang.
- rueidis Fast Redis RESP3 client with auto pipelining and server-assisted client side caching.
- redigo star:9148 Redigo is a Go client for the Redis database.
- mongo-go-driver star:6740 Official MongoDB driver for the Go language.
- mgo star:1952 (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.
- gorethink star:1598 Go language driver for RethinkDB.
- qmgo star:912 The MongoDB driver for Go. It‘s based on official MongoDB driver but easier to use like Mgo.
- mgm star:511 MongoDB model-based ODM for Go (based on official MongoDB driver).
- redeo star:413 Redis-protocol compatible TCP servers/services.
- aerospike-client-go star:393 Aerospike client in Go language.
- neoism star:386 Neo4j client for Golang.
- gocb star:336 Official Couchbase Go SDK.
- go-couchbase star:317 Couchbase client in Go.
- go-rejson star:268 Golang client for redislabs' ReJSON module using Redigo golang client. Store and manipulate structs as JSON objects in redis with ease.
- godis star:104 redis client implement by golang, inspired by jedis.
- Neo4j-GO star:76 Neo4j REST Client in golang.
- arangolite star:72 Lightweight golang driver for ArangoDB.
- go-pilosa star:53 Go client library for Pilosa.
- forestdb star:32 Go bindings for ForestDB.
- goriak star:27 Go language driver for Riak KV.
- neo4j star:27 Neo4j Rest API Bindings for Golang.
- xredis star:18 Typesafe, customizable, clean & easy to use Redis client.
- godscache star:10 A wrapper for the Google Cloud Platform Go Datastore package that adds caching using memcached.
- gomemcache memcache client library for the Go programming language.
- asc star:8 Datastore Connectivity for Aerospike for go.
- gocosmos star:8 REST client and standard
database/sql
driver for Azure Cosmos DB. - gocql Go language driver for Apache Cassandra.
Search and Analytic Databases
- elastic star:6846 Elasticsearch client for Go.
- go-elasticsearch star:4154 Official Elasticsearch client for Go.
- elastigo star:949 Elasticsearch client library.
- elasticsql star:918 Convert sql to elasticsearch dsl in Go.
- skizze star:85 probabilistic data-structures service and storage.
- goes star:28 Library to interact with Elasticsearch.
Date and Time
Libraries for working with dates and times.
- now star:3721 Now is a time toolkit for golang.
- carbon star:2060 A simple, semantic and developer-friendly golang package for datetime.
- dateparse star:1724 Parse date's without knowing format in advance.
- carbon star:704 Simple Time extension with a lot of util methods, ported from PHP Carbon library.
- durafmt star:437 Time duration formatting library for Go.
- timeutil star:188 Useful extensions (Timedelta, Strftime, ...) to the golang's time package.
- gostradamus star:168 A Go package for working with dates.
- go-persian-calendar star:118 The implementation of the Persian (Solar Hijri) Calendar in Go (golang).
- iso8601 star:104 Efficiently parse ISO8601 date-times without regex.
- date star:90 Augments Time for working with dates, date ranges, time spans, periods, and time-of-day.
- timespan star:81 For interacting with intervals of time, defined as a start time and a duration.
- go-sunrise star:44 Calculate the sunrise and sunset times for a given location.
- feiertage star:42 Set of functions to calculate public holidays in Germany, incl. specialization on the states of Germany (Bundesländer). Things like Easter, Pentecost, Thanksgiving...
- go-str2duration star:40 Convert string to duration. Support time.Duration returned string and more.
- kair star:23 Date and Time - Golang Formatting Library.
- cronrange star:16 Parses Cron-style time range expressions, checks if the given time is within any ranges.
- NullTime star:12 Nullable
time.Time
. - tuesday star:11 Ruby-compatible Strftime function.
- strftime star:9 C99-compatible strftime formatter.
- go-week star:7 An efficient package to work with ISO8601 week dates.
Distributed Systems
Packages that help with building Distributed Systems.
- go-kit star:23226 Microservice toolkit with support for service discovery, load balancing, pluggable transports, request tracking, etc.
- go-micro star:18518 A distributed systems development framework.
- go-zero star:18498 A web and rpc framework. It's born to ensure the stability of the busy sites with resilient design. Builtin goctl greatly improves the development productivity.
- Kratos star:18117 A modular-designed and easy-to-use microservices framework in Go.
- grpc-go star:16235 The Go language implementation of gRPC. HTTP/2 based RPC.
- micro star:11172 A distributed systems runtime for the cloud and beyond.
- NATS star:11007 Lightweight, high performance messaging system for microservices, IoT, and cloud native systems.
- rpcx star:7037 Distributed pluggable RPC service framework like alibaba Dubbo.
- raft star:6107 Golang implementation of the Raft consensus protocol, by HashiCorp.
- raft Go implementation of the Raft consensus protocol, by CoreOS.
- lura star:5116 Ultra performant API Gateway framework with middlewares.
- torrent star:4387 BitTorrent client package.
- dragonboat star:4250 A feature complete and high performance multi-group Raft library in Go.
- emitter-io star:3286 High performance, distributed, secure and low latency publish-subscribe platform built with MQTT, Websockets and love.
- glow star:3072 Easy-to-Use scalable distributed big data processing, Map-Reduce, DAG execution, all in pure Go.
- gleam star:3063 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.
- liftbridge star:2279 Lightweight, fault-tolerant message streams for NATS.
- hprose star:1204 Very newbility RPC Library, support 25+ languages now.
- go-doudou star:817 A gossip protocol and OpenAPI 3.0 spec based decentralized microservice framework. Built-in go-doudou cli focusing on low-code and rapid dev can power up your productivity.
- rain star:741 BitTorrent client and library.
- ringpop-go star:736 Scalable, fault-tolerant application-layer sharding for Go applications.
- redis-lock star:718 Simplified distributed locking implementation using Redis.
- resgate Realtime API Gateway for building REST, real time, and RPC APIs, where all clients are synchronized seamlessly.
- gorpc star:650 Simple, fast and scalable RPC library for high load.
- go-health star:623 Library for enabling asynchronous dependency health checks in your service.
- arpc star:519 More effective network communication, support two-way-calling, notify, broadcast.
- consistent star:486 Consistent hashing with bounded loads.
- go-sundheit star:482 A library built to provide support for defining async service health checks for golang services.
- digota star:446 grpc ecommerce microservice.
- dot distributed sync using operational transformation/OT.
- sleuth star:351 Library for master-less p2p auto-discovery and RPC between HTTP services (using ZeroMQ).
- go-jump star:343 Port of Google's "Jump" Consistent Hash function.
- dht star:237 BitTorrent Kademlia DHT implementation.
- jsonrpc star:229 JSON-RPC 2.0 HTTP client implementation.
- jsonrpc star:167 The jsonrpc package helps implement of JSON-RPC 2.0.
- outboxer star:86 Outboxer is a go library that implements the outbox pattern.
- pglock PostgreSQL-backed distributed locking implementation.
- pjrpc Golang JSON-RPC Server-Client with Protobuf spec.
- Semaphore star:74 A straightforward (micro) service orchestrator.
- doublejump star:73 A revamped Google's jump consistent hash.
- celeriac star:71 Library for adding support for interacting and monitoring Celery workers, tasks and events in Go.
- flowgraph star:49 flow-based programming package.
- go-mysql-lock star:45 MySQL based distributed lock.
- go-pdu star:39 A decentralized identity-based social network.
- drmaa star:38 Job submission library for cluster schedulers based on the DRMAA standard.
- dynamolock DynamoDB-backed distributed locking implementation.
- gmsec star:20 A Go distributed systems development framework.
- dynatomic star:14 A library for using DynamoDB as an atomic counter.
- consistenthash star:11 Consistent hashing with configurable replicas.
- failured star:5 adaptive accrual failure detector for distributed systems.
Dynamic DNS
Tools for updating dynamic DNS records.
- GoDNS star:1088 A dynamic DNS client tool, supports DNSPod & HE.net, written in Go.
- DDNS star:211 Personal DDNS client with Digital Ocean Networking DNS as backend.
- dyndns Background Go process to regularly and automatically check your IP Address and make updates to (one or many) Dynamic DNS records for Google domains whenever your address changes.
Libraries and tools that implement email creation and sending.
- MailHog star:10293 Email and SMTP testing with web and API interface.
- hermes star:2483 Golang package that generates clean, responsive HTML e-mails.
- email star:2066 A robust and flexible email library for Go.
- go-imap star:1565 IMAP library for clients and servers.
- chasquid SMTP server written in Go.
- SendGrid star:822 SendGrid's Go library for sending email.
- mailgun-go star:606 Go library for sending mail with the Mailgun API.
- email-verifier star:469 A Go library for email verification without sending any emails.
- go-simple-mail star:325 Very simple package to send emails with SMTP Keep Alive and two timeouts: Connect and Send.
- go-message star:254 Streaming library for the Internet Message Format and mail messages.
- Hectane star:221 Lightweight SMTP client providing an HTTP API.
- douceur star:217 CSS inliner for your HTML emails.
- mailchain star:117 Send encrypted emails to blockchain addresses written in Go.
- go-premailer star:90 Inline styling for HTML mail in Go.
- go-dkim star:80 DKIM library, to sign & verify email.
- smtp star:71 SMTP server protocol state machine.
- go-email-normalizer star:45 Golang library for providing a canonical representation of email address.
- smtpmock star:45 Lightweight configurable multithreaded fake SMTP server. Mimic any SMTP behaviour for your test environment.
- go-email-validator star:34 Modular email validator for syntax, disposable, smtp, etc... checking.
- go-mail star:19 A simple Go library for sending mails in Go.
- truemail-go star:13 Configurable Golang email validator/verifier. Verify email via Regex, DNS, SMTP and even more.
- mailx star:2 Mailx is a library that makes it easier to send email via SMTP. It is an enhancement of the golang standard library
net/smtp
.
Embeddable Scripting Languages
Embedding other languages inside your go code.
- gopher-lua star:4822 Lua 5.1 VM and compiler written in Go.
- goja star:3001 ECMAScript 5.1(+) implementation in Go.
- tengo star:2753 Bytecode compiled script language for Go.
- expr star:2680 Expression evaluation engine for Go: fast, non-Turing complete, dynamic typing, static typing.
- go-lua star:2376 Port of the Lua 5.2 VM to pure Go.
- go-python star:1394 naive go bindings to the CPython C-API.
- anko star:1246 Scriptable interpreter written in Go.
- cel-go star:1199 Fast, portable, non-Turing complete expression evaluation with gradual typing.
- metacall star:970 Cross-platform Polyglot Runtime which supports NodeJS, JavaScript, TypeScript, Python, Ruby, C#, WebAssembly, Java, Cobol and more.
- go-php star:861 PHP bindings for Go.
- go-duktape star:779 Duktape JavaScript engine bindings for Go.
- golua star:588 Go bindings for Lua C API.
- gval star:502 A highly customizable expression language written in Go.
- gisp star:485 Simple LISP in Go.
- prolog star:376 Embeddable Prolog.
- gentee star:95 Embeddable scripting programming language.
- binder star:58 Go to Lua binding library, based on gopher-lua.
- purl star:34 Perl 5.18.2 embedded in Go.
- ecal star:24 A simple embeddable scripting language which supports concurrent event processing.
- ngaro star:22 Embeddable Ngaro VM implementation enabling scripting in Retro.
Error Handling
Libraries for handling errors.
- errors star:7770 Package that provides simple error handling primitives.
- go-multierror star:1587 Go (golang) package for representing a list of errors as a single error.
- eris star:1026 A better way to handle, trace, and log errors in Go. Compatible with the standard error library and github.com/pkg/errors.
- errorx star:871 A feature rich error package with stack traces, composition of errors and more.
- tracerr star:714 Golang errors with stack trace and source fragments.
- errlog star:406 Hackable package that determines responsible source code for an error (and some other fast-debugging features). Pluggable to any logger in-place.
- emperror star:250 Error handling tools and best practices for Go libraries and applications.
- errors star:145 Drop-in replacement for the standard library errors package and github.com/pkg/errors. Provides various error handling primitives.
- errors star:42 Drop-in replacement for builting Go errors. This is a minimal error handling package with custom error types, user friendly messages, Unwrap & Is. With very easy to use and straightforward helper functions.
- exception star:7 A simple utility package for exception handling with try-catch in Golang.
- Falcon star:7 A Simple Yet Highly Powerful Package For Error Handling.
- errors star:5 The most simple error wrapper with awesome performance and minimal memory overhead.
- errors star:3 Simple golang error handling with classification primitives.
File Handling
Libraries for handling files and file systems.
- afero star:4508 FileSystem Abstraction System for Go.
- pdfcpu star:3200 PDF processor.
- gdu star:1835 Disk usage analyzer with console interface.
- notify star:743 File system event notification library with simple API, similar to os/signal.
- copy star:440 Copy directory recursively.
- bigfile star:225 A file transfer system, support to manage files with http api, rpc call and ftp client.
- afs star:185 Abstract File Storage (mem, scp, zip, tar, cloud: s3, gs) for Go.
- vfs star:174 A pluggable, extensible, and opinionated set of filesystem functionality for Go across a number of filesystem types such as os, S3, and GCS.
- go-exiftool star:113 Go bindings for ExifTool, the well-known library used to extract as much metadata as possible (EXIF, IPTC, ...) from files (pictures, PDF, office, ...).
- go-csv-tag star:94 Load csv file using tag.
- skywalker star:80 Package to allow one to concurrently go through a filesystem with ease.
- stl Modules to read and write STL (stereolithography) files. Concurrent algorithm for reading.
- gofs star:78 A file synchronization tool out of the box.
- opc star:72 Load Open Packaging Conventions (OPC) files for Go.
- checksum star:59 Compute message digest, like MD5, SHA256, SHA1, CRC or BLAKE2s, for large files.
- parquet star:54 Read and write parquet files.
- tarfs star:50 Implementation of the
FileSystem
interface for tar files. - baraka star:43 A library to process http file uploads easily.
- go-gtfs star:32 Load gtfs files in go.
- flop star:31 File operations library which aims to mirror feature parity with GNU cp.
- gut/yos star:24 Simple and reliable package for file operations like copy/move/diff/list on files, directories and symbolic links.
- go-decent-copy star:16 Copy files for humans.
- todotxt star:13 Go library for Gina Trapani's todo.txt files, supports parsing and manipulating of task lists in the todo.txt format.
- pathtype star:11 Treat paths as their own type instead of using strings.
- higgs star:9 A tiny cross-platform Go library to hide/unhide files and directories.
Financial
Packages for accounting and finance.
- ticker star:4268 Terminal stock watcher and stock position tracker.
- decimal star:4122 Arbitrary-precision fixed-point decimal numbers.
- go-money star:1111 Implementation of Fowler's Money pattern.
- accounting star:748 money and currency formatting for golang.
- techan star:641 Technical analysis library with advanced market analysis and trading strategies.
- go-finance star:537 Comprehensive financial markets data in Go.
- ach star:314 A reader, writer, and valdiator for Automated Clearing House (ACH) files.
- currency star:308 Handles currency amounts, provides currency information and formatting.
- orderbook star:268 Matching Engine for Limit Order Book in Golang.
- go-finance star:139 Library of financial functions for time value of money (annuities), cash flow, interest rate conversions, bonds and depreciation calculations.
- transaction star:108 Embedded transactional database of accounts, running in multithreaded mode.
- ofxgo star:101 Query OFX servers and/or parse the responses (with example command-line client).
- sleet star:95 One unified interface for multiple Payment Service Providers (PsP) to process online payment.
- vat star:91 VAT number validation & EU VAT rates.
- go-finnhub star:71 Client for stock market, forex and crypto data from finnhub.io. Access real-time financial market data from 60+ stock exchanges, 10 forex brokers, and 15+ crypto exchanges.
- currency star:46 High performant & accurate currency computation package.
- fastme star:35 Fast extensible matching engine Go implementation.
- fpdecimal star:10 Fast and precise serialization and arithmetic for small fixed-point decimals
- payme star:10 QR code generator (ASCII & PNG) for SEPA payments.
- go-finance star:8 Module to fetch exchange rates, check VAT numbers via VIES and check IBAN bank account numbers.
Forms
Libraries for working with forms.
- nosurf star:1290 CSRF protection middleware for Go.
- gorilla/csrf star:796 CSRF protection for Go web applications & services.
- binding star:791 Binds form and JSON data from net/http Request to struct.
- form star:531 Decodes url.Values into Go value(s) and Encodes Go value(s) into url.Values. Dual Array and Full map support.
- conform star:261 Keeps user input in check. Trims, sanitizes & scrubs data based on struct tags.
- formam star:172 decode form's values into a struct.
- forms star:131 Framework-agnostic library for parsing and validating form/JSON data which supports multipart forms and files.
- httpin star:89 Decode an HTTP request into a custom struct, including querystring, forms, HTTP headers, etc.
- qs star:62 Go module for encoding structs into URL query parameters.
- bind star:27 Bind form data to any Go values.
- queryparam star:13 Decode
url.Values
into usable struct values of standard or custom types.
Functional
Packages to support functional programming in Go.
- go-underscore star:1237 Useful collection of helpfully functional Go collection utilities.
- mo star:518 Monads and popular FP abstractions, based on Go 1.18+ Generics (Option, Result, Either...).
- fpGo star:272 Monad, Functional Programming features for Golang.
- gofp star:126 A lodash like powerful utility library for Golang.
- fuego star:117 Functional Experiment in Go.
- fp-go star:66 Collection of Functional Programming helpers powered by Golang 1.18+ generics.
- underscore star:52 Functional programming helpers for Go 1.18 and beyond.
- valor star:3 Generic option and result types that optionally contain a value.
Game Development
Awesome game development libraries.
- Ebitengine star:6615 dead simple 2D game library in Go.
- Leaf star:4409 Lightweight game server framework.
- Pixel star:3960 Hand-crafted 2D game library in Go.
- goworld star:2117 Scalable game server engine, featuring space-entity framework and hot-swapping.
- nano star:2033 Lightweight, facility, high performance golang based game server framework.
- g3n star:2008 Go 3D Game Engine.
- go-sdl2 star:1776 Go bindings for the Simple DirectMedia Layer.
- engo star:1516 Engo is an open-source 2D game engine written in Go. It follows the Entity-Component-System paradigm.
- Pitaya star:1446 Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK.
- termloop star:1284 Terminal-based game engine for Go, built on top of Termbox.
- Oak star:1228 Pure Go game engine.
- gonet star:1178 Game server skeleton implemented with golang.
- raylib-go star:807 Go bindings for raylib, a simple and easy-to-use library to learn videogames programming.
- Azul3D star:546 3D game engine written in Go.
- go-astar star:502 Go implementation of the A* path finding algorithm.
- go3d star:263 Performance oriented 2D/3D math package for Go.
- prototype star:71 Cross-platform (Windows/Linux/Mac) library for creating desktop games using a minimal API.
- tile star:54 Data-oriented and cache-friendly 2D Grid library (TileMap), includes pathfinding, observers and import/export.
Generators
Tools that generate Go code.
- go-linq star:2983 .NET LINQ-like query methods for Go.
- jennifer star:2451 Generate arbitrary Go code without templates.
- goderive star:983 Derives functions from input types.
- GoWrap star:612 Generate decorators for Go interfaces using simple templates.
- interfaces star:344 Command line tool for generating interface definitions.
- go-enum star:336 Code generation for enums from code comments.
- copygen star:137 Generate type-to-type code without reflection.
- goverter star:122 Generate converters by defining an interface.
- gotype star:39 Golang source code parsing, usage like reflect package.
- generis star:34 Code generation tool providing generics, free-form macros, conditional compilation and HTML templating.
- go-xray star:21 Helpers for making the use of reflection easier.
- typeregistry star:13 A library to create type dynamically.
Geographic
Geographic tools and servers
- godal star:78 Go wrapper for GDAL.
- geoserver star:74 geoserver Is a Go Package For Manipulating a GeoServer Instance via the GeoServer REST API.
- gismanager star:45 Publish Your GIS Data(Vector Data) to PostGIS and Geoserver.
- [h3-go] - Go bindings for H3, a hierarchical hexagonal geospatial indexing system.
- Tile38 star:8145 Geolocation DB with spatial index and realtime geofencing.
- S2 geometry star:1379 S2 geometry library in Go.
- mbtileserver star:350 A simple Go-based server for map tiles stored in mbtiles format.
- osm star:211 Library for reading, writing and working with OpenStreetMap data and APIs.
- simplefeatures star:53 simplesfeatures is a 2D geometry library that provides Go types that model geometries, as well as algorithms that operate on them.
- pbf star:35 OpenStreetMap PBF golang encoder/decoder.
- S2 geojson star:17 Convert geojson to s2 cells & demonstrating some S2 geometry features on map.
- H3 GeoJSON star:1 Conversion utilities between H3 indexes and GeoJSON.
- H3GeoDist Distribution of Uber H3geo cells by virtual nodes.
- Web-Mercator-Projection A project to easily use and convert LonLat, Point and Tile to display info, markers, etc, in a map using the Web Mercator Projection.
- WGS84 star:79 Library for Coordinate Conversion and Transformation (ETRS89, OSGB36, NAD83, RGF93, Web Mercator, UTM).
Go Compilers
Tools for compiling Go to other languages.
- gopherjs star:11166 Compiler from Go to JavaScript.
- tardisgo star:418 Golang to Haxe to CPP/CSharp/Java/JavaScript transpiler.
- c4go star:315 Transpile C code to Go code.
- c2go star:164 Convert C code to Go code.
- esp32 star:46 Transpile Go into Arduino code.
- f4go star:33 Transpile FORTRAN 77 code to Go code.
Goroutines
Tools for managing and working with Goroutines.
- ants star:8486 A high-performance and low-cost goroutine pool in Go.
- tunny star:3079 Goroutine pool for golang.
- goworker star:2664 goworker is a Go-based background worker.
- workerpool star:838 Goroutine pool that limits the concurrency of task execution, not the number of tasks queued.
- grpool star:694 Lightweight Goroutine pool.
- pool star:686 Limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation.
- pond star:555 Minimalistic and High-performance goroutine worker pool written in Go.
- gowp star:397 gowp is concurrency limiting goroutine pool.
- go-floc star:250 Orchestrate goroutines with ease.
- go-flow star:193 Control goroutines execution order.
- semaphore star:145 Fast resizable semaphore implementation based on CAS (faster than channel-based semaphore implementations).
- go-workers star:144 Easily and safely run workers for large data processing pipelines.
- artifex star:134 Simple in-memory job queue for Golang using worker-based dispatching.
- neilotoole/errgroup star:125 Drop-in alternative to
sync/errgroup
, limited to a pool of N worker goroutines. - async star:108 A safe way to execute functions asynchronously, recovering them in case of panic.
- cyclicbarrier star:97 CyclicBarrier for golang.
- semaphore star:89 Semaphore pattern implementation with timeout of lock/unlock operations based on channel and context.
- gollback star:88 asynchronous simple function utilities, for managing execution of closures and callbacks.
- gpool star:84 manages a resizeable pool of context-aware goroutines to bound concurrency.
- Hunch star:82 Hunch provides functions like:
All
,First
,Retry
,Waterfall
etc., that makes asynchronous flow control more intuitive. - worker-pool star:82 goworker is a Go simple async worker pool.
- async star:79 An alternative sync library for Go (Future, Promise, Locks).
- threadpool star:71 Golang threadpool implementation.
- goccm star:52 Go Concurrency Manager package limits the number of goroutines that allowed to run concurrently.
- routine star:50 go routine control with context, support: Main, Go, Pool and some useful Executors.
- nursery star:45 Structured concurrency in Go.
- oversight Oversight is a complete implementation of the Erlang supervision trees.
- kyoo star:38 Provides an unlimited job queue and concurrent worker pools.
- gohive star:35 A highly performant and easy to use Goroutine pool for Go.
- parallel-fn star:33 Run functions in parallel.
- go-waitgroup star:31 Like
sync.WaitGroup
with error handling and concurrency control. - go-trylock star:28 TryLock support on read-write lock for Golang.
- stl star:24 Software transactional locks based on Software Transactional Memory (STM) concurrency control mechanism.
- channelify star:23 Transform your function to return channels for easy and powerful parallel processing.
- gowl star:21 Gowl is a process management and process monitoring tool at once. An infinite worker pool gives you the ability to control the pool and processes and monitor their status.
- conexec star:12 A concurrent toolkit to help execute funcs concurrently in an efficient and safe way. It supports specifying the overall timeout to avoid blocking and uses goroutine pool to improve efficiency.
- queue star:12 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. - execpool star:11 A pool built around exec.Cmd that spins up a given number of processes in advance and attaches stdin and stdout to them when needed. Very similar to FastCGI or Apache Prefork MPM but works for any command.
- hands star:8 A process controller used to control the execution and return strategies of multiple goroutines.
- concurrency-limiter star:7 Concurrency limiter with support for timeouts , dynamic priority and context cancellation of goroutines.
- go-tools/multithreading star:7 Manage a pool of goroutines using this lightweight library with a simple API.
- breaker star:5 Flexible mechanism to make execution flow interruptible.
- async-job star:1 AsyncJob is an asynchronous queue job manager with light code, clear and speed.
GUI
Libraries for building GUI Applications.
Toolkits
- fyne star:17256 Cross platform native GUIs designed for Go based on Material Design. Supports: Linux, macOS, Windows, BSD, iOS and Android.
- gio Gio is a library for writing cross-platform immediate mode GUI-s in Go. Gio supports all the major platforms: Linux, macOS, Windows, Android, iOS, FreeBSD, OpenBSD and WebAssembly.
- webview star:10153 Cross-platform webview window with simple two-way JavaScript bindings (Windows / macOS / Linux).
- qt star:9285 Qt binding for Go (support for Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi).
- ui star:8130 Platform-native GUI library for Go. Cross platform.
- Wails Mac, Windows, Linux desktop apps with HTML UI using built-in OS HTML renderer.
- app star:6198 Package to create apps with GO, HTML and CSS. Supports: MacOS, Windows in progress.
- walk star:6074 Windows application library kit for Go.
- go-astilectron star:4395 Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron).
- go-gtk Go bindings for GTK.
- go-sciter star:2406 Go bindings for Sciter: the Embeddable HTML/CSS/script engine for modern desktop UI development. Cross platform.
- gotk3 star:1753 Go bindings for GTK3.
- gowd star:360 Rapid and simple desktop UI development with GO, HTML, CSS and NW.js. Cross platform.
- goradd/html5tag star:3 Library for outputting HTML5 tags.
Interaction
- robotgo star:7611 Go Native cross-platform GUI system automation. Control the mouse, keyboard and other.
- systray star:2408 Cross platform Go library to place an icon and menu in the notification area.
- gosx-notifier star:571 OSX Desktop Notifications library for Go.
- zenity star:277 Cross-platform Go library and CLI to create simple dialogs that interact graphically with the user.
- trayhost star:226 Cross-platform Go library to place an icon in the host operating system's taskbar.
- go-appindicator star:19 Go bindings for libappindicator3 C library.
- mac-activity-tracker star:18 OSX library to notify about any (pluggable) activity on your machine.
- mac-sleep-notifier star:16 OSX Sleep/Wake notifications in golang.
Hardware
Libraries, tools, and tutorials for interacting with hardware.
- arduino-cli star:3441 Official Arduino CLI and library. Can run standalone, or be incorporated into larger Go projects.
- go-rpio star:1889 GPIO for Go, doesn't require cgo.
- ghw star:1176 Golang hardware discovery/inspection library.
- emgo star:983 Go-like language for programming embedded systems (e.g. STM32 MCU).
- sysinfo star:360 A pure Go library providing Linux OS / kernel / hardware system information.
- goroslib star:193 Robot Operating System (ROS) library for Go.
- go-osc star:154 Open Sound Control (OSC) bindings for Go.
- joystick star:32 a polled API to read the state of an attached joystick.
Images
Libraries for manipulating images.
- gocv star:4851 Go package for computer vision using OpenCV 3.3+.
- imaginary star:4389 Fast and simple HTTP microservice for image resizing.
- imaging star:4260 Simple Go image processing package.
- bild star:3545 Collection of image processing algorithms in pure Go.
- gg star:3458 2D rendering in pure Go.
- ln star:3069 3D line art rendering in Go.
- resize star:2839 Image resizing for Go with common interpolation methods.
- pt star:2013 Path tracing engine written in Go.
- bimg star:1925 Small package for fast and efficient image processing using libvips.
- svgo star:1851 Go Language Library for SVG generation.
- picfit star:1658 An image resizing server written in Go.
- smartcrop star:1642 Finds good crops for arbitrary images and crop sizes.
- gift star:1557 Package of image processing filters.
- gowitness star:1538 Screenshoting webpages using go and headless chrome on command line.
- imagick star:1452 Go binding to ImageMagick's MagickWand C API.
- go-opencv star:1271 Go bindings for OpenCV.
- geopattern star:1187 Create beautiful generative image patterns from a string.
- stegify star:1013 Go tool for LSB steganography, capable of hiding any file within an image.
- canvas star:984 Vector graphics to PDF, SVG or rasterized image.
- govips star:692 A lightning fast image processing and resizing library for Go.
- image2ascii star:670 Convert image to ASCII.
- draft star:535 Generate High Level Microservice Architecture diagrams for GraphViz using simple YAML syntax.
- goimagehash star:507 Go Perceptual image hashing package.
- govatar star:499 Library and CMD tool for generating funny avatars.
- mort star:458 Storage and image processing server written in Go.
- go-nude star:350 Nudity detection with Go.
- rez star:205 Image resizing in pure Go and SIMD.
- darkroom star:192 An image proxy with changeable storage backends and image processing engines with focus on speed and resiliency.
- mergi star:175 Tool & Go library for image manipulation (Merge, Crop, Resize, Watermark, Animate).
- gltf star:160 Efficient and robust glTF 2.0 reader, writer and validator.
- steganography star:143 Pure Go Library for LSB steganography.
- img star:138 Selection of image manipulation tools.
- go-cairo star:118 Go binding for the cairo graphics library.
- cameron star:87 An avatar generator for Go.
- go-webp star:55 Library for encode and decode webp pictures, using libwebp.
- go-gd star:53 Go binding for GD library.
- gridder star:52 A Grid based 2D Graphics library.
- webp-server star:44 Simple and minimal image server capable of storing, resizing, converting and caching images.
- goimghdr star:38 The imghdr module determines the type of image contained in a file for Go.
- tga star:30 Package tga is a TARGA image format decoder/encoder.
- go-webcolors star:26 Port of webcolors library from Python to Go.
- mpo star:9 Decoder and conversion tool for MPO 3D Photos.
- scout star:4 Scout is a standalone open source software solution for DIY video security.
IoT (Internet of Things)
Libraries for programming devices of the IoT.
- flogo star:2011 Project Flogo is an Open Source Framework for IoT Edge Apps & Integration.
- mainflux star:1797 Industrial IoT Messaging and Device Management Server.
- periph Peripherals I/O to interface with low-level board facilities.
- gatt star:1027 Gatt is a Go package for building Bluetooth Low Energy peripherals.
- gobot Gobot is a framework for robotics, physical computing, and the Internet of Things.
- connectordb star:337 Open-Source Platform for Quantified Self & IoT.
- devices star:254 Suite of libraries for IoT devices, experimental for x/exp/io.
- sensorbee star:212 Lightweight stream processing engine for IoT.
- huego star:208 An extensive Philips Hue client library for Go.
- iot IoT is a simple framework for implementing a Google IoT Core device.
- eywa star:53 Project Eywa is essentially a connection manager that keeps track of connected devices.
Job Scheduler
Libraries for scheduling jobs.
- gocron star:1961 Easy and fluent Go job scheduling. This is an actively maintained fork of jasonlvhit/gocron.
- JobRunner star:928 Smart and featureful cron job scheduler with job queuing and live monitoring built in.
- gron star:896 Define time-based tasks using a simple Go API and Gron’s scheduler will run them accordingly.
- go-quartz star:862 Simple, zero-dependency scheduling library for Go.
- jobs star:490 Persistent and flexible background jobs library.
- scheduler star:385 Cronjobs scheduling made easy.
- go-cron star:210 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.
- gronx star:201 Cron expression parser, task runner and daemon consuming crontab like task list.
- Dagu star:128 No-code workflow executor. it executes DAGs defined in a simple YAML format.
- clockwerk star:120 Go package to schedule periodic jobs using a simple, fluent syntax.
- tasks star:96 An easy to use in-process scheduler for recurring tasks in Go.
- leprechaun star:87 Job scheduler that supports webhooks, crons and classic scheduling.
- goflow star:41 A workflow orchestrator and scheduler for rapid prototyping of ETL/ML/AI pipelines.
- cheek star:40 A simple crontab like scheduler that aims to offer a KISS approach to job scheduling.
- sched star:24 A job scheduler with the ability to fast-forward time.
- cdule star:7 Job scheduler library with database support
- cronticker star:2 A ticker implementation to support cron schedules.
JSON
Libraries for working with JSON.
- GJSON star:10443 Get a JSON value with one line of code.
- gojson star:2502 Automatically generate Go (golang) struct definitions from example JSON.
- fastjson star:1573 Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection.
- OjG star:482 Optimized JSON for Go is a high performance parser with a variety of additional JSON tools including JSONPath.
- kazaam star:230 API for arbitrary transformation of JSON documents.
- gojq star:182 JSON query in Golang.
- jsondiff star:171 JSON diff library for Go based on RFC6902 (JSON Patch).
- jettison star:128 Fast and flexible JSON encoder for Go.
- ajson star:117 Abstract JSON for golang with JSONPath support.
- gjo star:108 Small utility to create JSON objects.
- jsongo star:102 Fluent API to make it easier to create Json objects.
- json2go star:100 Advanced JSON to Go struct conversion. Provides package that can parse multiple JSON documents and create struct to fit them all.
- JayDiff star:86 JSON diff utility written in Go.
- jsonf star:63 Console tool for highlighted formatting and struct query fetching JSON.
- ujson star:58 Fast and minimal JSON parser and transformer that works on unstructured JSON.
- go-respond star:47 Go package for handling common HTTP JSON responses.
- mp star:45 Simple cli email parser. It currently takes stdin and outputs JSON.
- vjson star:30 Go package for validating JSON objects with declaring a JSON schema with fluent API.
- jsoncolor star:28 Drop-in replacement for
encoding/json
that outputs colorized JSON. - ask star:14 Easy access to nested values in maps and slices. Works in combination with encoding/json and other packages that "Unmarshal" arbitrary data into Go data-types.
- jscan star:14 High performance zero-allocation JSON iterator.
- JSON-to-Go Convert JSON to Go struct.
- JSON-to-Proto Convert JSON to Protobuf online.
- dynjson star:12 Client-customizable JSON formats for dynamic APIs.
- go-jsonerror star:12 Go-JsonError is ment to allow us to easily create json response errors that follow the JsonApi spec.
- jsonapi-errors star:12 Go bindings based on the JSON API errors reference.
- mapslice-json star:12 Go MapSlice for ordered marshal/ unmarshal of maps in JSON.
- jsonhal star:10 Simple Go package to make custom structs marshal into HAL compatible JSON responses.
- epoch star:9 Contains primitives for marshaling/unmarshaling Unix timestamp/epoch to/from build-in time.Time type in JSON.
- ej star:7 Write and read JSON from different sources succinctly.
- jsonic star:7 Utilities to handle and query JSON without defining structs in a type safe manner.
- jzon star:6 JSON library with standard compatible API/behavior.
- omg.jsonparser star:4 Simple JSON parser with validation by condition via golang struct fields tags.
Logging
Libraries for generating and working with log files.
- logrus star:20694 Structured logger for Go.
- zap star:16107 Fast, structured, leveled logging in Go.
- zerolog star:6438 Zero-allocation JSON logger.
- spew star:5042 Implements a deep pretty printer for Go data structures to aid in debugging.
- lumberjack star:3345 Simple rolling logger, implements io.WriteCloser.
- glog star:3181 Leveled execution logs for Go.
- tail star:2355 Go package striving to emulate the features of the BSD tail program.
- seelog star:1610 Logging functionality with flexible dispatching, filtering, and formatting.
- log star:1234 Structured logging package for Go.
- log15 star:1050 Simple, powerful logging for Go.
- phuslu/log star:427 Structured Logging Made Easy.
- onelog star:399 Onelog is a dead simple but very efficient JSON logger. It is the fastest JSON logger out there in all scenarios. Also, it is one of the logger with the lowest allocation.
- logxi star:348 12-factor app logger that is fast and makes you happy.
- logutils star:324 Utilities for slightly better logging in Go (Golang) extending the standard logger.
- log star:279 Simple, configurable and scalable Structured Logging for Go.
- go-logger star:276 Simple logger of Go Programs, with level handlers.
- httpretty star:257 Pretty-prints your regular HTTP requests on your terminal for debugging (similar to http.DumpRequest).
- rollingwriter star:231 RollingWriter is an auto-rotate
io.Writer
implementation with multi policies to provide log file rotation. - sqldb-logger star:220 A logger for Go SQL database driver without modify existing *sql.DB stdlib usage.
- logur star:161 An opinionated logger interface and collection of logging best practices with adapters and integrations for well-known libraries (logrus, go-kit log, zap, zerolog, etc).
- glg star:157 glg is simple and fast leveled logging library for Go.
- logger star:152 Minimalistic logging library for Go.
- xlog star:135 Structured logger for
net/context
aware HTTP handlers with flexible dispatching. - yell Yet another minimalistic logging library.
- ozzo-log star:118 High performance logging supporting log severity, categorization, and filtering. Can send filtered log messages to various targets (e.g. console, network, mail).
- log-voyage star:91 Full-featured logging saas written in golang.
- go-cronowriter star:47 Simple writer that rotate log files automatically based on current date and time, like cronolog.
- stdlog star:44 Stdlog is an object-oriented library providing leveled logging. It is very useful for cron jobs.
- gologger star:42 Simple easy to use log lib for go, logs in Colored Console, Simple Console, File or Elasticsearch.
- logex star:39 Golang log lib, supports tracking and level, wrap by standard log lib.
- go-log star:38 Log4j implementation in Go.
- noodlog star:37 Parametrized JSON logging library which lets you obfuscate sensitive data and marshal any kind of content. No more printed pointers instead of values, nor escape chars for the JSON strings.
- go-log star:31 Log lib supports level and multi handlers.
- journald star:30 Go implementation of systemd Journal's native API for logging.
- logrusly star:27 logrus plug-in to send errors to a Loggly.
- distillog star:26 distilled levelled logging (think of it as stdlib + log levels).
- mlog star:25 Simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output.
- log star:24 Structured log interface for Go cleanly separates logging facade from its implementation.
- gomol star:18 Multiple-output, structured logging for Go with extensible logging outputs.
- gone/log Fast, extendable, full-featured, std-lib source compatible log library.
- zkits-logger star:16 A powerful zero-dependency JSON logger.
- glo star:14 PHP Monolog inspired logging facility with identical severity levels.
- logmatic star:14 Colorized logger for Golang with dynamic log level configuration.
- logrusiowriter star:13
io.Writer
implementation using logrus logger. - go-log star:12 Simple and configurable Logging in Go, with level, formatters and writers.
- go-log star:9 A logging library with strack traces, object dumping and optional timestamps.
- log star:9 An O(1) logging system that allows you to connect one log to multiple writers (e.g. stdout, a file and a TCP connection).
- logdump star:9 Package for multi-level logging.
- logo star:9 Golang logger to different configurable writers.
- kemba star:8 A tiny debug logging tool inspired by debug, great for CLI tools and applications.
- xlog star:7 Plugin architecture and flexible log system for Go, with level ctrl, multiple log target and custom log format.
- structy/log star:4 A simple to use log system, minimalist but with features for debugging and differentiation of messages.
- slf4g star:1 Simple Logging Facade for Golang: Simple structured logging; but powerful, extendable and customizable, with huge amount of learnings from decades of past logging frameworks.
Machine Learning
Libraries for Machine Learning.
- GoLearn star:8424 General Machine Learning library for Go.
- gorse star:5808 An offline recommender system backend based on collaborative filtering written in Go.
- gorgonia star:4525 graph-based computational library like Theano for Go that provides primitives for building various machine learning and neural network algorithms.
- m2cgen star:2111 A CLI tool to transpile trained classic ML models into a native Go code with zero dependencies, written in Python with Go language support.
- tfgo star:1965 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.
- gosseract star:1785 Go package for OCR (Optical Character Recognition), by using Tesseract C++ library.
- goml star:1350 On-line Machine Learning in Go.
- eaopt star:791 An evolutionary optimization library.
- bayesian star:737 Naive Bayesian Classification for Golang.
- CloudForest star:712 Fast, flexible, multi-threaded ensembles of decision trees for machine learning in pure Go.
- gobrain star:520 Neural Networks written in go.
- ocrserver star:502 A simple OCR API server, seriously easy to be deployed by Docker and Heroku.
- onnx-go star:397 Go Interface to Open Neural Network Exchange (ONNX).
- go-deep star:372 A feature-rich neural network library in Go.
- regommend star:299 Recommendation & collaborative filtering engine.
- Goptuna star:211 Bayesian optimization framework for black-box functions written in Go. Everything will be optimized.
- go-galib star:192 Genetic Algorithms library written in Go / golang.
- goRecommend star:185 Recommendation Algorithms library written in Go.
- goga star:164 Genetic algorithm library for Go.
- shield star:151 Bayesian text classifier with flexible tokenizers and storage backends for Go.
- go-fann star:109 Go bindings for Fast Artificial Neural Networks(FANN) library.
- go-featureprocessing star:79 Fast and convenient feature processing for low latency machine learning in Go.
- goscore star:78 Go Scoring API for PMML.
- gonet star:74 Neural Network for Go.
- libsvm star:71 libsvm golang version derived work based on LIBSVM 3.14.
- fonet star:67 A Deep Neural Network library written in Go.
- neat star:63 Plug-and-play, parallel Go framework for NeuroEvolution of Augmenting Topologies (NEAT).
- neural-go star:63 Multilayer perceptron network implemented in Go, with training via backpropagation.
- go-pr star:61 Pattern recognition package in Go lang.
- golinear star:44 liblinear bindings for Go.
- Varis star:44 Golang Neural Network.
- godist star:33 Various probability distributions, and associated methods.
- go-cluster star:31 Go implementation of the k-modes and k-prototypes clustering algorithms.
- GoMind star:30 A simplistic Neural Network Library in Go.
- evoli star:23 Genetic Algorithm and Particle Swarm Optimization library.
- randomforest star:22 Easy to use Random Forest library for Go.
- ddt star:17 Dynamic decision tree, create trees defining customizable rules.
- probab star:17 Probability distribution functions. Bayesian inference. Written in pure Go.
Messaging
Libraries that implement messaging systems.
- sarama star:8650 Go library for Apache Kafka.
- gorush star:6387 Push notification server using APNs2 and google GCM.
- machinery star:6301 Asynchronous task queue/job queue based on distributed message passing.
- Centrifugo star:6114 Real-time messaging (Websockets or SockJS) server in Go.
- go-socket.io star:4658 socket.io library for golang, a realtime application framework.
- Benthos star:4485 A message streaming bridge between a range of protocols.
- NATS Go Client star:3975 Lightweight and high performance publish-subscribe and distributed queueing messaging system - this is the Go library.
- Confluent Kafka Golang Client star:3353 confluent-kafka-go is Confluent's Golang client for Apache Kafka and the Confluent Platform.
- Asynq star:3274 A simple, reliable, and efficient distributed task queue for Go built on top of Redis.
- Mercure star:2765 Server and library to dispatch server-sent updates using the Mercure protocol (built on top of Server-Sent Events).
- APNs2 star:2650 HTTP/2 Apple Push Notification provider for Go — Send push notifications to iOS, tvOS, Safari and OSX apps.
- melody star:2466 Minimalist framework for dealing with websocket sessions, includes broadcasting and automatic ping/pong handling.
- go-nsq star:2182 the official Go package for NSQ.
- gopush-cluster star:2048 gopush-cluster is a go push server cluster.
- Uniqush-Push star:1383 Redis backed unified push service for server-side notifications to mobile devices.
- Beaver star:1343 A real time messaging server to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps.
- EventBus star:1161 The lightweight event bus with async compatibility.
- zmq4 star:998 Go interface to ZeroMQ version 4. Also available for version 3 and version 2.
- Gollum star:918 A n:m multiplexer that gathers messages from different sources and broadcasts them to a set of destinations.
- Chanify star:867 A push notification server send message to your iOS devices.
- dbus star:715 Native Go bindings for D-Bus.
- golongpoll star:599 HTTP longpoll server library that makes web pub-sub simple.
- mangos star:520 Pure go implementation of the Nanomsg ("Scalability Protocols") with transport interoperability.
- emitter star:428 Emits events using Go way, with wildcard, predicates, cancellation possibilities and many other good wins.
- Glue star:402 Robust Go and Javascript Socket Library (Alternative to Socket.io).
- pubsub star:375 Simple pubsub package for go.
- amqp star:367 Go RabbitMQ Client Library.
- Bus star:266 Minimalist message bus implementation for internal communication.
- messagebus star:219 messagebus is a Go simple async message bus, perfect for using as event bus when doing event sourcing, CQRS, DDD.
- rabtap star:216 RabbitMQ swiss army knife cli app.
- Quamina star:192 Fast pattern-matching for filtering messages and events.
- guble star:151 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.
- hub star:115 A Message/Event Hub for Go applications, using publish/subscribe pattern with support for alias like rabbitMQ exchanges.
- oplog star:112 Generic oplog/replication system for REST APIs.
- rabbus star:93 A tiny wrapper over amqp exchanges and queues.
- redisqueue star:83 redisqueue provides a producer and consumer of a queue that uses Redis streams.
- drone-line star:76 Sending Line notifications using a binary, docker or Drone CI.
- go-mq star:74 RabbitMQ client with declarative configuration.
- nsq-event-bus star:73 A tiny wrapper around NSQ topic and channel.
- RapidMQ star:63 RapidMQ is a lightweight and reliable library for managing of the local messages queue.
- go-notify star:61 Native implementation of the freedesktop notification spec.
- Commander star:60 A high-level event driven consumer/producer supporting various "dialects" such as Apache Kafka.
- go-res star:58 Package for building REST/real-time services where clients are synchronized seamlessly, using NATS and Resgate.
- event star:46 Implementation of the pattern observer.
- hare star:46 A user friendly library for sending messages and listening to TCP sockets.
- ami star:23 Go client to reliable queues based on Redis Cluster Streams.
- gosd star:19 A library for scheduling when to dispatch a message to a channel.
- rmqconn star:19 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.
- go-vitotrol star:17 Client library to Viessmann Vitotrol web service.
- jazz star:15 A simple RabbitMQ abstraction layer for queue administration and publishing and consuming of messages.
- gaurun-client star:10 Gaurun Client written in Go.
Microsoft Office
- unioffice star:3374 Pure go library for creating and processing Office Word (.docx), Excel (.xlsx) and Powerpoint (.pptx) documents.
Microsoft Excel
Libraries for working with Microsoft Excel.
- excelize star:12003 Golang library for reading and writing Microsoft Excel™ (XLSX) files.
- xlsx star:5319 Library to simplify reading the XML format used by recent version of Microsoft Excel in Go programs.
- xlsx star:149 Fast and safe way to read/update your existing Microsoft Excel files in Go programs.
- go-excel star:146 A simple and light reader to read a relate-db-like excel as a table.
- goxlsxwriter star:18 Golang bindings for libxlsxwriter for writing XLSX (Microsoft Excel) files.
- exl star:7 Excel binding to struct written in Go.(Only supports Go1.18+)
Miscellaneous
Dependency Injection
Libraries for working with dependency injection.
- google/wire star:8392 Automated Initialization in Go.
- fx star:2842 A dependency injection based application framework for Go (built on top of dig).
- dig star:2565 A reflection based dependency injection toolkit for Go.
- GoLobby/Container star:357 GoLobby Container is a lightweight yet powerful IoC dependency injection container for the Go programming language.
- goioc/di star:185 Spring-inspired Dependency Injection Container.
- di star:151 A dependency injection container for go programming language.
- dingo star:131 A dependency injection toolkit for Go, based on Guice.
- do star:107 A dependency injection framework based on Generics.
- alice star:45 Additive dependency injection container for Golang.
- wire star:35 Strict Runtime Dependency Injection for Golang.
- linker star:34 A reflection based dependency injection and inversion of control library with components lifecycle support.
- gocontainer star:15 Simple Dependency Injection Container.
- nject star:12 A type safe, reflective framework for libraries, tests, http endpoints, and service startup.
- kinit star:7 Customizable dependency injection container with the global mode, cascade initialization and panic-safe finalization.
- HnH/di star:4 DI container library that is focused on clean API and flexibility.
Project Layout
Unofficial set of patterns for structuring projects.
- golang-standards/project-layout star:32585 Set of common historical and emerging project layout patterns in the Go ecosystem. Note: despite the org-name they do not represent official golang standards, see this issue for more information. Nonetheless, some may find the layout useful.
- ardanlabs/service star:2345 A starter kit for building production grade scalable web service applications.
- modern-go-application star:1242 Go application boilerplate and example applying modern practices.
- cookiecutter-golang star:525 A Go application boilerplate template for quick starting projects following production best practices.
- pagoda star:307 Rapid, easy full-stack web development starter kit built in Go.
- golang-templates/seed star:269 Go application GitHub repository template.
- go-starter star:155 An opinionated production-ready RESTful JSON backend template, highly integrated with VSCode DevContainers.
- go-todo-backend star:155 Go Todo Backend example using modular project layout for product microservice.
- scaffold star:113 Scaffold generates a starter Go project layout. Lets you focus on business logic implemented.
- go-sample star:101 A sample layout for Go application projects with the real code.
- gobase star:30 A simple skeleton for golang application with basic setup for real golang application.
- wangyoucao577/go-project-layout star:17 Set of practices and discussions on how to structure Go project layout.
- insidieux/inizio star:10 Golang project layout generator with plugins.
Strings
Libraries for working with strings.
- xstrings star:1043 Collection of useful string functions ported from other languages.
- sttr star:380 cross-platform, cli app to perform various operations on string.
- strutil star:175 String utilities.
- gobeam/Stringy star:133 String manipulation library to convert string to camel case, snake case, kebab case / slugify etc.
- bexp star:7 Go implementation of Brace Expansion mechanism to generate arbitrary strings.
- go-formatter Implements replacement fields surrounded by curly braces
{}
format strings.
Uncategorized
These libraries were placed here because none of the other categories seemed to fit.
- gopsutil star:7858 Cross-platform library for retrieving process and system utilization(CPU, Memory, Disks, etc).
- archiver star:3599 Library and command for making and extracting .zip and .tar.gz archives.
- gatus star:2590 Automated service health dashboard.
- gofakeit star:2485 Random data generator written in go.
- base64Captcha star:1475 Base64captch supports digit, number, alphabet, arithmetic, audio and digit-alphabet captcha.
- go-resiliency star:1434 Resiliency patterns for golang.
- gosms star:1386 Your own local SMS gateway in Go that can be used to send SMS.
- go-commons-pool star:1046 Generic object pool for Golang.
- go-openapi Collection of packages to parse and utilize open-api schemas.
- llvm star:912 Library for interacting with LLVM IR in pure Go.
- shortid star:768 Distributed generation of super short, unique, non-sequential, URL friendly IDs.
- health star:500 A simple and flexible health check library for Go.
- stateless star:440 A fluent library for creating state machines.
- health star:431 Easy to use, extensible health check library.
- banner star:395 Add beautiful banners into your Go applications.
- conv star:377 Package conv provides fast and intuitive conversions across Go types.
- shoutrrr star:377 Notification library providing easy access to various messaging services like slack, mattermost, gotify and smtp among others.
- xz star:377 Pure golang package for reading and writing xz-compressed files.
- gountries star:343 Package that exposes country and subdivision data.
- ffmt star:270 Beautify data display for Humans.
- lk star:246 A simple licensing library for golang.
- antch star:233 A fast, powerful and extensible web crawling & scraping framework.
- healthcheck star:221 An opinionated and concurrent health-check HTTP handler for RESTful services.
- battery star:204 Cross-platform, normalized battery information library.
- bitio star:194 Highly optimized bit-level Reader and Writer for Go.
- go-unarr star:184 Decompression library for RAR, TAR, ZIP and 7z archives.
- stats star:161 Monitors Go MemStats + System stats such as Memory, Swap and CPU and sends via UDP anywhere you want for logging etc...
- turtle star:133 Emojis for Go.
- captcha star:103 Package captcha provides an easy to use, unopinionated API for captcha generation.
- gommit star:95 Analyze git commit messages to ensure they follow defined patterns.
- indigo star:95 Distributed unique ID generator of using Sonyflake and encoded by Base58.
- gotoprom star:93 Type-safe metrics builder wrapper library for the official Prometheus client.
- morse star:76 Library to convert to and from morse code.
- persian star:64 Some utilities for Persian language in go.
- faker star:62 Random fake data and struct generator for Go.
- pdfgen star:57 HTTP service to generate PDF from Json requests.
- xkg star:53 X Keyboard Grabber.
- gtree star:50 Provide CLI and Package for tree output and directories creation from Markdown or programmatically.
- browscap_go star:40 GoLang Library for Browser Capabilities Project.
- datacounter star:40 Go counters for readers/writer/http.ResponseWriter.
- autoflags star:36 Go package to automatically define command line flags from struct fields.
- url-shortener star:35 A modern, powerful, and robust URL shortener microservice with mysql support.
- VarHandler Generate boilerplate http input and output handling.
- sandid star:34 Every grain of sand on earth has its own ID.
- gosh star:28 Provide Go Statistics Handler, Struct, Measure Method.
- xdg star:28 FreeDesktop.org (xdg) Specs implemented in Go.
- metrics star:22 Library for metrics instrumentation and Prometheus exposition.
- shellwords star:17 A Golang library to manipulate strings according to the word parsing rules of the UNIX Bourne shell.
- anagent star:14 Minimalistic, pluggable Golang evloop/timer handler with dependency-injection.
- avgRating star:11 Calculate average score and rating based on Wilson Score Equation.
- hostutils star:10 A golang library for packing and unpacking FQDNs list.
- numa star:9 NUMA is a utility library, which is written in go. It help us to write some NUMA-AWARED code.
- openapi star:6 OpenAPI 3.x parser.
- faker star:5 Fake data generator.
- go-commandbus star:5 A slight and pluggable command-bus for Go.
- basexx star:2 Convert to, from, and between digit strings in various number bases.
- varint star:2 A faster varying length integer encoder/decoder than the one provided in the standard library.
Natural Language Processing
Libraries for working with human languages.
See also Text Processing and Text Analysis.
Language Detection
- whatlanggo star:543 Natural language detection package for Go. Supports 84 languages and 24 scripts (writing systems e.g. Latin, Cyrillic, etc).
- getlang star:136 Fast natural language detection package.
- guesslanguage star:54 Functions to determine the natural language of a unicode text.
- detectlanguage star:15 Language Detection API Go Client. Supports batch requests, short phrase or single word language detection.
Morphological Analyzers
- spaGO star:1175 Self-contained Machine Learning and Natural Language Processing library in Go.
- spelling-corrector A spelling corrector for the Spanish language or create your own.
- kagome star:619 JP morphological analyzer written in pure Go.
- nlp star:381 Extract values from strings and fill your structs with nlp.
- nlp star:366 Go Natural Language Processing library supporting LSA (Latent Semantic Analysis).
- RAKE.go star:93 Go port of the Rapid Automatic Keyword Extraction Algorithm (RAKE).
- go-stem star:66 Implementation of the porter stemming algorithm.
- go2vec star:46 Reader and utility functions for word2vec embeddings.
- porter2 star:44 Really fast Porter 2 stemmer.
- snowball star:31 Snowball stemmer port (cgo wrapper) for Go. Provides word stem extraction functionality Snowball native.
- paicehusk star:28 Golang implementation of the Paice/Husk Stemming Algorithm.
- govader star:25 Go implementation of VADER Sentiment Analysis.
- golibstemmer star:19 Go bindings for the snowball libstemmer library including porter 2.
- libtextcat star:11 Cgo binding for libtextcat C library. Guaranteed compatibility with version 2.2.
- porter star:9 This is a fairly straightforward port of Martin Porter's C implementation of the Porter stemming algorithm.
- gosentiwordnet star:8 Sentiment analyzer using sentiwordnet lexicon in Go.
- govader-backend star:2 Microservice implementation of GoVader.
Slugifiers
- slug star:822 URL-friendly slugify with multiple languages support.
- go-slugify star:78 Make pretty slug with multiple languages support.
- Slugify star:31 Go slugify application that handles string.
Tokenizers
- prose star:2928 Library for text processing that supports tokenization, part-of-speech tagging, named-entity extraction, and more. English only.
- gse star:1933 Go efficient text segmentation; support english, chinese, japanese and other.
- gojieba star:1887 This is a Go implementation of jieba which a Chinese word splitting algorithm.
- sentences star:321 Sentence tokenizer: converts text into a list of sentences.
- segment star:70 Go library for performing Unicode Text Segmentation as described in Unicode Standard Annex #29
- textcat star:67 Go package for n-gram based text categorization, with support for utf-8 and raw text.
- MMSEGO star:61 This is a GO implementation of MMSEG which a Chinese word splitting algorithm.
- stemmer star:51 Stemmer packages for Go programming language. Includes English and German stemmers.
- gotokenizer star:14 A tokenizer based on the dictionary and Bigram language models for Golang. (Now only support chinese segmentation)
- shamoji star:12 The shamoji is word filtering package written in Go.
Translation
- go-pinyin star:1162 CN Hanzi to Hanyu Pinyin converter.
- gotext star:339 GNU gettext utilities for Go.
- go-i18n Package and an accompanying tool to work with localized text.
- go-localize star:35 Simple and easy to use i18n (Internationalization and localization) engine - used for translating locale strings.
- iuliia-go star:30 Transliterate Cyrillic → Latin in every possible way.
- go-mystem star:28 CGo bindings to Yandex.Mystem - russian morphology analyzer.
- icu star:20 Cgo binding for icu4c C library detection and conversion functions. Guaranteed compatibility with version 50.1.
- t star:11 Another i18n pkg for golang, which follows GNU gettext style and supports .po/.mo files:
t.T (gettext)
,t.N (ngettext)
, etc. And it contains a cmd tool xtemplate, which can extract messages as a pot file from text/html template. - spreak star:4 Flexible translation and humanization library for Go, based on the concepts behind gettext.
Transliteration
- go-unidecode star:92 ASCII transliterations of Unicode text.
- gounidecode star:75 Unicode transliterator (also known as unidecode) for Go.
- transliterator star:22 Provides one-way string transliteration with supporting of language-specific transliteration rules.
- enca star:11 Minimal cgo bindings for libenca, which detects character encodings.
Networking
Libraries for working with various layers of the network.
- fasthttp star:17869 Package fasthttp is a fast HTTP implementation for Go, up to 10 times faster than net/http.
- kcptun star:12911 Extremely simple & fast udp tunnel based on KCP protocol.
- webrtc star:9435 A pure Go implementation of the WebRTC API.
- quic-go star:6807 An implementation of the QUIC protocol in pure Go.
- gnet star:6586
gnet
is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go. - dns star:6354 Go library for working with DNS.
- gopacket star:4881 Go library for packet processing with libpcap bindings.
- HTTPLab star:3810 HTTPLabs let you inspect HTTP requests and forge responses.
- kcp-go star:3339 KCP - Fast and Reliable ARQ Protocol.
- gobgp star:2881 BGP implemented in the Go Programming Language.
- netpoll star:2699 A high-performance non-blocking I/O networking framework, which focused on RPC scenarios, developed by ByteDance.
- ssh star:2577 Higher-level API for building SSH servers (wraps crypto/ssh).
- fortio star:2545 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.
- water star:1463 Simple TUN/TAP library.
- gev star:1418 gev is a lightweight, fast non-blocking TCP network library based on Reactor mode.
- go-getter star:1364 Go library for downloading files or directories from various sources using a URL.
- NFF-Go star:1207 Framework for rapid development of performant network functions for cloud and bare-metal (former YANFF).
- sftp star:1161 Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt.
- grab star:1053 Go package for managing file downloads.
- ftp star:946 Package ftp implements a FTP client as described in RFC 959.
- mdns star:887 Simple mDNS (Multicast DNS) client/server library in Golang.
- mqttPaho The Paho Go Client provides an MQTT client library for connection to MQTT brokers via TCP, TLS or WebSockets.
- gosnmp star:857 Native Go library for performing SNMP actions.
- vssh star:809 Go library for building network and server automation over SSH protocol.
- cidranger star:721 Fast IP to CIDR lookup for Go.
- nbio star:695 Pure Go 1000k+ connections solution, support tls/http1.x/websocket and basically compatible with net/http, with high-performance and low memory cost, non-blocking, event-driven, easy-to-use.
- lhttp star:670 Powerful websocket framework, build your IM server more easily.
- gmqtt star:668 Gmqtt is a flexible, high-performance MQTT broker library that fully implements the MQTT protocol V3.1.1.
- peerdiscovery star:545 Pure Go library for cross-platform local peer discovery using UDP multicast.
- go-stun star:507 Go implementation of the STUN client (RFC 3489 and RFC 5389).
- gotcp star:492 Go package for quickly writing tcp applications.
- stun star:486 Go implementation of RFC 5389 STUN protocol.
- gopcap star:443 Go wrapper for libpcap.
- gaio star:436 High performance async-io networking for Golang in proactor mode.
- raw star:421 Package raw enables reading and writing data at the device driver level for a network interface.
- tcp_server star:415 Go library for building tcp servers faster.
- easytcp star:387 A light-weight TCP framework written in Go (Golang), built with message router. EasyTCP helps you build a TCP server easily fast and less painful.
- winrm star:366 Go WinRM client to remotely execute commands on Windows machines.
- ftpserverlib star:307 Fully featured FTP server library.
- arp star:287 Package arp implements the ARP protocol, as described in RFC 826.
- buffstreams star:249 Streaming protocolbuffer data over TCP made easy.
- ethernet star:240 Package ethernet implements marshaling and unmarshaling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags.
- gNxI star:213 A collection of tools for Network Management that use the gNMI and gNOI protocols.
- dnsmonster star:195 Passive DNS Capture/Monitoring Framework.
- jazigo star:177 Jazigo is a tool written in Go for retrieving configuration for multiple network devices.
- utp star:163 Go uTP micro transport protocol implementation.
- canopus star:148 CoAP Client/Server implementation (RFC 7252).
- sslb star:139 It's a Super Simples Load Balancer, just a little project to achieve some kind of performance.
- xtcp star:132 TCP Server Framework with simultaneous full duplex communication, graceful shutdown, and custom protocol.
- iplib star:81 Library for working with IP addresses (net.IP, net.IPNet), inspired by python ipaddress and ruby ipaddr
- ether star:78 Cross-platform Go package for sending and receiving ethernet frames.
- dhcp6 star:74 Package dhcp6 implements a DHCPv6 server, as described in RFC 3315.
- gldap star:69 gldap provides an ldap server implementation and you provide handlers for its ldap operations.
- packet star:69 Send packets over TCP and UDP. It can buffer messages and hot-swap connections if needed.
- go-powerdns star:58 PowerDNS API bindings for Golang.
- linkio star:51 Network link speed simulation for Reader/Writer interfaces.
- portproxy star:50 Simple TCP proxy which adds CORS support to API's which don't support it.
- panoptes-stream star:34 A cloud native distributed streaming network telemetry (gNMI, Juniper JTI and Cisco MDT).
- graval star:27 Experimental FTP server framework.
- publicip star:25 Package publicip returns your public facing IPv4 address (internet egress).
- golibwireshark star:24 Package golibwireshark use libwireshark library to decode pcap file and analyse dissection data.
- gohooks star:16 GoHooks make it easy to send and consume secured web-hooks from a Go application. Inspired by Spatie's Laravel Webhook Client and Server.
- goshark star:14 Package goshark use tshark to decode IP packet and create data struct to analyse packet.
- httpproxy star:12 HTTP proxy handler and dialer.
- llb star:12 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.
- tspool star:12 A TCP Library use worker pool to improve performance and protect your server.
HTTP Clients
Libraries for making HTTP requests.
- resty star:6220 Simple HTTP and REST client for Go inspired by Ruby rest-client.
- req star:2363 Simple Go HTTP client with Black Magic (Less code and More efficiency).
- heimdall star:2280 An enhanced http client with retry and hystrix capabilities.
- grequests star:1885 A Go "clone" of the great and famous Requests library.
- sling star:1448 Sling is a Go HTTP client library for creating and sending API requests.
- go-retryablehttp star:1207 Retryable HTTP client in Go.
- gentleman star:956 Full-featured plugin-driven HTTP client library.
- pester star:589 Go HTTP client calls with retries, backoff, and concurrency.
- requests star:349 HTTP requests for Gophers. Uses context.Context and doesn't hide the underlying net/http.Client, making it compatible with standard Go APIs. Also includes testing tools.
- go-cleanhttp star:250 Get easily stdlib HTTP client, which does not share any state with other clients.
- request star:205 HTTP client for golang. If you have experience about axios or requests, you will love it. No 3rd dependency.
- go-http-client star:40 Make http calls simply and easily.
- rq star:40 A nicer interface for golang stdlib HTTP client.
- go-otelroundtripper star:20 Go http.RoundTripper that emits open telemetry metrics for HTTP requests.
- httpretry star:20 Enriches the default go HTTP client with retry functionality.
- go-req star:15 Declarative golang HTTP client.
- httpc star:4 A customizable and simple HTTP client library. Only depend on the stdlib HTTP client.
OpenGL
Libraries for using OpenGL in Go.
- glfw star:1271 Go bindings for GLFW 3.
- gl star:911 Go bindings for OpenGL (generated via glow).
- mathgl star:435 Pure Go math package specialized for 3D math, with inspiration from GLM.
- goxjs/gl star:157 Go cross-platform OpenGL bindings (OS X, Linux, Windows, browsers, iOS, Android).
- goxjs/glfw star:74 Go cross-platform glfw library for creating an OpenGL context and receiving events.
- go-glmatrix star:3 Go port of glMatrix library.
ORM
Libraries that implement Object-Relational Mapping or datamapping techniques.
- GORM star:28472 The fantastic ORM library for Golang, aims to be developer friendly.
- ent star:10993 An entity framework for Go. Simple, yet powerful ORM for modeling and querying data.
- go-pg star:5093 PostgreSQL ORM with focus on PostgreSQL specific features and performance.
- SQLBoiler star:4978 ORM generator. Generate a featureful and blazing-fast ORM tailored to your database schema.
- gorp star:3573 Go Relational Persistence, ORM-ish library for Go.
- upper.io/db star:3075 Single interface for interacting with different data sources through the use of adapters that wrap mature database drivers.
- XORM Simple and powerful ORM for Go. (Support: MySQL, MyMysql, PostgreSQL, Tidb, SQLite3, MsSql and Oracle).
- gormt star:1903 Mysql database to golang gorm struct.
- reform star:1269 Better ORM for Go, based on non-empty interfaces and code generation.
- Prisma star:1236 Prisma Client Go, Typesafe database access for Go.
- pop/soda star:1208 Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
- go-sqlbuilder star:783 A flexible and powerful SQL string builder library plus a zero-config ORM.
- go-queryset star:663 100% type-safe ORM with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support based on GORM.
- rel star:529 Modern Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API.
- Zoom star:290 Blazing-fast datastore and querying engine built on Redis.
- go-sql star:160 A easy ORM for mysql.
- grimoire star:156 Grimoire is a database access layer and validation for golang. (Support: MySQL, PostgreSQL and SQLite3).
- go-store star:108 Simple and fast Redis backed key-value store library for Go.
- golobby/orm star:90 Simple, fast, type-safe, generic orm for developer happiness.
- go-firestorm star:33 A simple ORM for Google/Firebase Cloud Firestore.
- cacheme star:20 Schema based, typed Redis caching/memoize framework for Go.
- marlow star:11 Generated ORM from project structs for compile time safety assurances.
- lore star:10 Simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go.
Package Management
Official tooling for dependency and package management
- go modules Modules are the unit of source code interchange and versioning. The go command has direct support for working with modules, including recording and resolving dependencies on other modules.
Official experimental tooling for package management
Unofficial libraries for package and dependency management.
- glide star:8156 Manage your golang vendor and vendored packages with ease. Inspired by tools like Maven, Bundler, and Pip.
- godep star:5590 dependency tool for go, godep helps build packages reproducibly by fixing their dependencies.
- govendor star:4981 Go Package Manager. Go vendor tool that works with the standard vendor file.
- gopm star:2489 Go Package Manager.
- gom star:1391 Go Manager - bundle for go.
- gpm star:1198 Barebones dependency manager for Go.
- goop star:775 Simple dependency manager for Go (golang), inspired by Bundler.
- modgv star:406 Converts 'go mod graph' output into Graphviz's DOT language.
- nut star:236 Vendor Go dependencies.
- johnny-deps star:212 Minimal dependency version using Git.
- mvn-golang star:140 plugin that provides way for auto-loading of Golang SDK, dependency management and start build environment in Maven project infrastructure.
- VenGO star:120 create and manage exportable isolated go virtual environments.
- gop star:48 Build and manage your Go applications out of GOPATH.
Performance
- jaeger star:15895 A distributed tracing system.
- pixie star:3448 No instrumentation tracing for Golang applications via eBPF.
- statsviz star:1835 Live visualization of your Go application runtime statistics.
- profile star:1726 Simple profiling support package for Go.
- tracer star:64 Simple, lightweight tracing.
Query Language
- graphql-go star:8581 Implementation of GraphQL for Go.
- gqlgen star:7659 go generate based graphql server library.
- graphql star:4158 GraphQL server with a focus on ease of use.
- dasel star:3307 Query and update data structures using selectors from the command line. Comparable to jq/yq but supports JSON, YAML, TOML and XML with zero runtime dependencies.
- gojsonq star:1886 A simple Go package to Query over JSON Data.
- rql star:257 Resource Query Language for REST API.
- jsonql star:251 JSON query expression library in Golang.
- jsonslice star:67 Jsonpath queries with advanced filters.
- graphql star:55 graphql parser + utilities.
- api-fu star:42 Comprehensive GraphQL implementation.
- rqp star:39 Query Parser for REST API. Filtering, validations, both
AND
,OR
operations are supported directly in the query. - goven star:33 A drop-in query language for any database schema.
- straf star:33 Easily Convert Golang structs to GraphQL objects.
- jsonpath star:10 A query library for retrieving part of JSON based on JSONPath syntax.
- gws star:4 Apollos' "GraphQL over Websocket" client and server implementation.
Resource Embedding
- statik star:3432 Embeds static files into a Go executable.
- packr star:3409 The simple and easy way to embed static files into Go binaries.
- go.rice star:2283 go.rice is a Go package that makes working with resources such as HTML, JS, CSS, images, and templates very easy.
- vfsgen star:945 Generates a vfsdata.go file that statically implements the given virtual filesystem.
- esc star:622 Embeds files into Go programs and provides http.FileSystem interfaces to them.
- fileb0x star:611 Simple tool to embed files in go with focus on "customization" and ease to use.
- go-resources star:174 Unfancy resources embedding with Go.
- statics star:64 Embeds static resources into go files for single binary compilation + works with http.FileSystem + symlinks.
- templify star:27 Embed external template files into Go code to create single file binaries.
- rebed star:22 Recreate folder structures and files from Go 1.16's
embed.FS
type - debme star:18 Create an
embed.FS
from an existingembed.FS
subdirectory. - mule star:11 Embed external resources like images, movies ... into Go source code to create single file binaries using
go generate
. Focussed on simplicity.
Science and Data Analysis
Libraries for scientific computing and data analyzing.
- gonum star:5827 Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more.
- stats star:2453 Statistics package with common functions missing from the Golang standard library.
- gonum/plot star:2194 gonum/plot provides an API for building and drawing plots in Go.
- gosl star:1669 Go scientific library for linear algebra, FFT, geometry, NURBS, numerical methods, probabilities, optimisation, differential equations, and more.
- streamtools star:1316 general purpose, graphical tool for dealing with streams of data.
- dataframe-go star:831 Dataframes for machine-learning and statistics (similar to pandas).
- go-dsp star:776 Digital Signal Processing for Go.
- chart star:725 Simple Chart Plotting library for Go. Supports many graphs types.
- goraph star:687 Pure Go graph theory library(data structure, algorithm visualization).
- graph star:554 Library of basic graph algorithms.
- orb star:541 2D geometry types with clipping, GeoJSON and Mapbox Vector Tile support.
- ewma star:386 Exponentially-weighted moving averages.
- calendarheatmap star:350 Calendar heatmap in plain Go inspired by Github contribution activity.
- gohistogram star:164 Approximate histograms for data streams.
- TextRank star:156 TextRank implementation in Golang with extendable features (summarization, weighting, phrase extraction) and multithreading (goroutine) support.
- sparse star:131 Go Sparse matrix formats for linear algebra supporting scientific and machine learning applications, compatible with gonum matrix libraries.
- go-estimate star:96 State estimation and filtering algorithms in Go.
- pagerank star:75 Weighted PageRank algorithm implemented in Go.
- jsonl-graph star:58 Tool to manipulate JSONL graphs with graphviz support.
- geom star:51 2D geometry for golang.
- evaler star:49 Simple floating point arithmetic expression evaluator.
- decimal star:26 Package decimal implements arbitrary-precision decimal floating-point arithmetic.
- goent star:26 GO Implementation of Entropy Measures.
- triangolatte star:26 2D triangulation library. Allows translating lines and polygons (both based on points) to the language of GPUs.
- piecewiselinear star:22 Tiny linear interpolation library.
- GoStats star:20 GoStats is an Open Source GoLang library for math statistics mostly used in Machine Learning domains, it covers most of the Statistical measures functions.
- godesim star:19 Extended/multivariable ODE solver framework for event-based simulations with simple API.
- ode star:17 Ordinary differential equation (ODE) solver which supports extended states and channel-based iteration stop conditions.
- PiHex star:15 Implementation of the "Bailey-Borwein-Plouffe" algorithm for the hexadecimal number Pi.
- assocentity star:8 Package assocentity returns the average distance from words to a given entity.
- rootfinding star:7 root-finding algorithms library for finding roots of quadratic functions.
- go-gt star:6 Graph theory algorithms written in "Go" language.
- bradleyterry star:5 Provides a Bradley-Terry Model for pairwise comparisons.
Security
Libraries that are used to help make your application more secure.
- age star:10720 A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
- lego star:5339 Pure Go ACME client library and CLI tool (for use with Let's Encrypt).
- CertMagic star:4083 Mature, robust, and powerful ACME client integration for fully-managed TLS certificate issuance and renewal.
- Cameradar star:2939 Tool and library to remotely hack RTSP streams from surveillance cameras.
- memguard star:2168 A pure Go library for handling sensitive values in memory.
- secure star:1944 HTTP middleware for Go that facilitates some quick security wins.
- acmetool star:1914 ACME (Let's Encrypt) client tool with automatic renewal.
- themis star:1533 high-level cryptographic library for solving typical data security tasks (secure data storage, secure messaging, zero-knowledge proof authentication), available for 14 languages, best fit for multi-platform apps.
- acra star:1000 Network encryption proxy to protect database-based applications from data leaks: strong selective encryption, SQL injections prevention, intrusion detection system.
- Coraza star:539 Enterprise-ready, modsecurity and OWASP CRS compatible WAF library.
- nacl star:522 Go implementation of the NaCL set of API's.
- ssh-vault star:350 encrypt/decrypt using ssh keys.
- go-password-validator star:340 Password validator based on raw cryptographic entropy values.
- firewalld-rest star:316 A rest application to dynamically update firewalld rules on a linux server.
- optimus-go star:316 ID hashing and Obfuscation using Knuth's Algorithm.
- BadActor star:305 In-memory, application-driven jailer built in the spirit of fail2ban.
- passlib star:267 Futureproof password hashing library.
- go-yara star:260 Go Bindings for YARA, the "pattern matching swiss knife for malware researchers (and everyone else)".
- dongle star:237 A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption.
- simple-scrypt star:180 Scrypt package with a simple, obvious API and automatic cost calibration built-in.
- argon2pw star:88 Argon2 password hash generation with constant-time password comparison.
- autocert Auto provision Let's Encrypt certificates and start a TLS server.
- goSecretBoxPassword star:51 A probably paranoid package for securely hashing and encrypting passwords.
- Interpol Rule-based data generator for fuzzing and penetration testing.
- go-generate-password star:41 Password generator that can be used on the cli or as a library.
- secureio star:25 An keyexchanging+authenticating+encrypting wrapper and multiplexer for
io.ReadWriteCloser
based on XChaCha20-poly1305, ECDH and ED25519. - go-htpasswd star:24 Apache htpasswd Parser for Go.
- certificates star:23 An opinionated tool for generating tls certificates.
- argon2-hashing star:17 light wrapper around Go's argon2 package that closely mirrors with Go's standard library Bcrypt and simple-scrypt package.
- goArgonPass star:15 Argon2 password hash and verification designed to be compatible with existing Python and PHP implementations.
- sslmgr star:14 SSL certificates made easy with a high level wrapper around acme/autocert.
- secret star:10 Prevent your secrets from leaking into logs, std* etc.
Serialization
Libraries and tools for binary serialization.
- jsoniter star:10957 High-performance 100% compatible drop-in replacement of "encoding/json".
- goprotobuf star:8500 Go support, in the form of a library and protocol compiler plugin, for Google's protocol buffers.
- mapstructure star:5814 Go library for decoding generic map values into native Go structures.
- gogoprotobuf star:5307 Protocol Buffers for Go with Gadgets.
- go-codec star:1653 High Performance, feature-Rich, idiomatic encode, decode and rpc library for msgpack, cbor and json, with runtime-based OR code-generation support.
- csvutil star:716 High Performance, idiomatic CSV record encoding and decoding to native Go structures.
- colfer star:666 Code generation for the Colfer binary format.
- cbor star:452 Small, safe, and easy CBOR encoding and decoding library.
- go-capnproto star:282 Cap'n Proto library and parser for go.
- php_session_decoder star:154 GoLang library for working with PHP session format and PHP Serialize/Unserialize functions.
- structomap star:132 Library to easily and dynamically generate maps from static structures.
- bambam star:64 generator for Cap'n Proto schemas from go.
- binstruct star:54 Golang binary decoder for mapping data into the structure.
- asn1 star:50 Asn.1 BER and DER encoding library for golang.
- bel star:24 Generate TypeScript interfaces from Go structs/interfaces. Useful for JSON RPC.
- fwencoder star:20 Fixed width file parser (encoding and decoding library) for Go.
- pletter star:18 A standard way to wrap a proto message for message brokers.
- elastic star:16 Convert slices, maps or any other unknown value across different types at run-time, no matter what.
- fixedwidth star:6 Fixed-width text formatting (UTF-8 supported).
- unitpacking star:4 Library to pack unit vectors into as fewest bytes as possible.
- go-lctree star:3 Provides a CLI and primitives to serialize and deserialize LeetCode binary trees.
Server Applications
- Caddy star:41253 Caddy is an alternative, HTTP/2 web server that's easy to configure and use.
- consul Consul is a tool for service discovery, monitoring and configuration.
- etcd star:40236 Highly-available key value store for shared configuration and service discovery.
- minio star:33666 Minio is a distributed object storage server.
- RoadRunner star:6520 High-performance PHP application server, load-balancer and process manager.
- Easegress star:4463 A cloud native high availability/performance traffic orchestration system with observability and extensibility.
- SFTPGo star:4398 Fully featured and highly configurable SFTP server with optional FTP/S and WebDAV support. It can serve local filesystem and Cloud Storage backends such as S3 and Google Cloud Storage.
- devd star:3258 Local webserver for developers.
- algernon star:1972 HTTP/2 web server with built-in support for Lua, Markdown, GCSS and Amber.
- Fider star:1945 Fider is an open platform to collect and organize customer feedback.
- Flagr star:1920 Flagr is an open-source feature flagging and A/B testing service.
- flipt star:1836 A self contained feature flag solution written in Go and Vue.js
- Trickster star:1693 HTTP reverse proxy cache and time series accelerator.
- discovery star:1653 A registry for resilient mid-tier load balancing and failover.
- Wish star:1310 Make SSH apps, just like that!
- jackal star:1281 An XMPP server written in Go.
- go-feature-flag star:441 A feature flag solution, with only a YAML file in the backend (S3, GitHub, HTTP, local file ...), no server to install, just add a file in a central system and refer to it.
- Euterpe star:405 Self-hosted music streaming server with built-in web UI and REST API.
- dummy star:152 Run mock server based off an API contract with one command.
- dudeldu star:136 A simple SHOUTcast server.
- lets-proxy2 star:63 Reverse proxy for handle https with issue certificates in fly from lets-encrypt.
- go-proxy-cache star:52 Simple Reverse Proxy with Caching, written in Go, using Redis.
- cortex-tenant star:47 Prometheus remote write proxy that adds add Cortex tenant ID header based on metric labels.
- psql-streamer star:40 Stream database events from PostgreSQL to Kafka.
- nginx-prometheus star:31 Nginx log parser and exporter to Prometheus.
- nsq A realtime distributed messaging platform.
- simple-jwt-provider star:25 Simple and lightweight provider which exhibits JWTs, supports login, password-reset (via mail) and user management.
- protoxy star:24 A proxy server that converts JSON request bodies to Protocol Buffers.
- Moxy star:7 Moxy is a simple mocker and proxy application server, you can create mock endpoints as well as proxy requests in case no mock exists for the endpoint.
- riemann-relay star:1 Relay to load-balance Riemann events and/or convert them to Carbon.
Stream Processing
Libraries and tools for stream processing and reactive programming.
- go-streams star:961 Go stream processing library.
- machine star:113 Go library for writing and generating stream workers with built in metrics and traceability.
- stream star:60 Go Stream, like Java 8 Stream: Filter/Map/FlatMap/Peek/Sorted/ForEach/Reduce...
- goio star:35 An implementation of IO, Stream, Fiber for Golang, inspired by awesome Scala libraries cats and fs2.
Template Engines
Libraries and tools for templating and lexing.
- sprig star:3009 Useful template functions for Go templates.
- quicktemplate star:2468 Fast, powerful, yet easy to use template engine. Converts templates into Go code and then compiles it.
- pongo2 star:2253 Django-like template-engine for Go.
- jet star:936 Jet template engine.
- Razor star:798 Razor view engine for Golang.
- maroto star:660 A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.
- fasttemplate star:605 Simple and fast template engine. Substitutes template placeholders up to 10x faster than text/template.
- ego star:524 Lightweight templating language that lets you write templates in Go. Templates are translated into Go and compiled.
- raymond star:478 Complete handlebars implementation in Go.
- goview star:282 Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
- Soy star:162 Closure templates (aka Soy templates) for Go, following the official spec.
- liquid star:159 Go implementation of Shopify Liquid templates.
- extemplate star:49 Tiny wrapper around html/template to allow for easy file-based template inheritance.
- gospin star:37 Article spinning and spintax/spinning syntax engine, useful for A/B, testing pieces of text/articles and creating more natural conversations.
- tbd star:18 A really simple way to create text templates with placeholders - exposes extra builtin Git repo metadata.
- got star:2 A Go code generator inspired by Hero and Fasttemplate. Has include files, custom tag definitions, injected Go code, language translation, and more.
Testing
Libraries for testing codebases and generating test data.
-
Testing Frameworks
- Testify star:16661 Sacred extension to the standard go testing package.
- testmd Convert markdown snippets into testable go code.
- go-cmp star:2982 Package for comparing Go values in tests.
- httpexpect star:1917 Concise, declarative, and easy to use end-to-end HTTP and REST API testing.
- godog star:1687 Cucumber or Behat like BDD framework for Go.
- is star:1443 Professional lightweight testing mini-framework for Go.
- go-vcr star:882 Record and replay your HTTP interactions for fast, deterministic and accurate tests.
- goblin star:850 Mocha like testing framework fo Go.
- gnomock star:833 integration testing with real dependencies (database, cache, even Kubernetes or AWS) running in Docker, without mocks.
- testfixtures star:806 A helper for Rails' like test fixtures to test database applications.
- baloo star:725 Expressive and versatile end-to-end HTTP API testing made easy.
- go-mutesting star:534 Mutation testing for Go source code.
- goc star:531 Goc is a comprehensive coverage testing system for The Go Programming Language.
- gocheck More advanced testing framework alternative to gotest.
- GoConvey BDD-style framework with web UI and live reload.
- gofight star:401 API Handler Testing for Golang Router framework.
- embedded-postgres star:389 Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test.
- testza star:389 Full-featured test framework with nice colorized output.
- gotest.tools star:313 A collection of packages to augment the go testing package and support common patterns.
- go-testdeep star:301 Extremely flexible golang deep comparison, extends the go testing package.
- frisby star:272 REST API testing framework.
- got star:231 An enjoyable golang test framework.
- go-carpet star:226 Tool for viewing test coverage in terminal.
- cupaloy star:217 Simple snapshot testing addon for your test framework.
- endly star:207 Declarative end to end functional testing.
- commander star:200 Tool for testing cli applications on windows, linux and osx.
- charlatan star:195 Tool to generate fake interface implementations for tests.
- dbcleaner star:139 Clean database for testing purpose, inspired by
database_cleaner
in Ruby. - GoSpec star:112 BDD-style testing framework for the Go programming language.
- go-hit star:107 Hit is an http integration test framework written in golang.
- testcase star:94 Idiomatic testing framework for Behavior Driven Development.
- wstest star:91 Websocket client for unit-testing a websocket http.Handler.
- jsonassert star:85 Package for verifying that your JSON payloads are serialized correctly.
- omg.testingtools The simple library for change a values of private fields for testing.
- gocrest star:83 Composable hamcrest-like matchers for Go assertions.
- restit star:55 Go micro framework to help writing RESTful API integration test.
- gospecify star:52 This provides a BDD syntax for testing your Go code. It should be familiar to anybody who has used libraries such as rspec.
- covergates star:48 Self-hosted code coverage report review and management service.
- gherkingen star:46 BDD boilerplate generator and framework.
- ginkgo BDD Testing Framework for Go.
- gomatch star:41 library created for testing JSON against patterns.
- gomega Rspec like matcher/assertion library.
- assert star:39 Basic Assertion Library used along side native go testing, with building blocks for custom assertions.
- dsunit star:39 Datastore testing for SQL, NoSQL, structured files.
- Hamcrest star:27 fluent framework for declarative Matcher objects that, when applied to input values, produce self-describing results.
- 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.
- flute star:17 HTTP client testing framework.
- schema star:17 Quick and easy expression matching for JSON schemas used in requests and responses.
- be star:15 The minimalist generic test assertion library.
- testsql star:13 Generate test data from SQL files before testing and clear it after finished.
- gogiven star:12 YATSPEC-like BDD testing framework for Go.
- gosuite star:11 Brings lightweight test suites with setup/teardown facilities to
testing
by leveraging Go1.7's Subtests. - biff star:10 Bifurcation testing framework, BDD compatible.
- badio star:9 Extensions to Go's
testing/iotest
package. - fixenv star:6 Fixture manage engine, inspired by pytest fixtures.
- stop-and-go star:5 Testing helper for concurrency.
- trial star:5 Quick and easy extendable assertions without introducing much boilerplate.
- go-testpredicate star:4 Test predicate style assertions library with extensive diagnostics output.
- Tt star:4 Simple and colorful test tools.
-
Mock
- gomock star:7503 Mocking framework for the Go programming language.
- go-sqlmock star:4471 Mock SQL driver for testing database interactions.
- mockery star:3601 Tool to generate Go interfaces.
- hoverfly star:1882 HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI.
- gock star:1643 Versatile HTTP mocking made easy.
- httpmock star:1413 Easy mocking of HTTP responses from external resources.
- counterfeiter star:672 Tool for generating self-contained mock objects.
- genmock Go mocking system with code generator for building calls of the interface methods.
- minimock star:455 Mock generator for Go interfaces.
- go-txdb star:449 Single transaction based database driver mainly for testing purposes.
- govcr star:105 HTTP mock for Golang: record and replay HTTP interactions for offline testing.
- timex star:63 A test-friendly replacement for the native
time
package. - go-localstack star:47 Tool for using localstack in AWS testing.
- mockhttp star:21 Mock object for Go http.ResponseWriter.
- mockit star:9 Allows functions and method easy mocking, without defining new types; it's similar to Mockito for Java.
-
Fuzzing and delta-debugging/reducing/shrinking.
-
Selenium and browser control tools.
- chromedp star:7731 a way to drive/test Chrome, Safari, Edge, Android Webviews, and other browsers supporting the Chrome Debugging Protocol.
- rod star:2475 A Devtools driver to make web automation and scraping easy.
- selenoid star:2173 alternative Selenium hub server that launches browsers within containers.
- playwright-go star:828 browser automation library to control Chromium, Firefox and WebKit with a single API.
- cdp star:613 Type-safe bindings for the Chrome Debugging Protocol that can be used with browsers or other debug targets that implement it.
- ggr star:286 a lightweight server that routes and proxies Selenium WebDriver requests to multiple Selenium hubs.
-
Fail injection
- failpoint star:695 An implementation of failpoints for Golang.
Text Processing
Libraries for parsing and manipulating texts.
See also Natural Language Processing and Text Analysis.
Formatters
- go-humanize star:3209 Formatters for time, numbers, and memory size to human readable format.
- gotabulate star:280 Easily pretty-print your tabular data with Go.
- align star:75 A general purpose application that aligns text.
- bytes Formats and parses numeric byte values (10K, 2M, 3G, etc.).
- go-fixedwidth star:63 Fixed-width text formatting (encoder/decoder with reflection).
- address star:48 Handles address representation, validation and formatting.
- textwrap star:2 Wraps text at end of lines. Implementation of
textwrap
module from Python.
Markup Languages
- blackfriday star:4947 Markdown processor in Go.
- github_flavored_markdown GitHub Flavored Markdown renderer (using blackfriday) with fenced code block highlighting, clickable header anchor links.
- toml star:3891 TOML configuration format (encoder/decoder with reflection).
- goldmark star:2167 A Markdown parser written in Go. Easy to extend, standard (CommonMark) compliant, well structured.
- go-toml star:1252 Go library for the TOML format with query support and handy cli tools.
- mxj star:519 Encode / decode XML as JSON or map[string]interface{}; extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.
- htmlquery star:489 An XPath query package for HTML, lets you extract data or evaluate from HTML documents by an XPath expression.
- html-to-markdown star:363 Convert HTML to Markdown. Even works with entire websites and can be extended through rules.
- goq star:217 Declarative unmarshaling of HTML using struct tags with jQuery syntax (uses GoQuery).
- bafi star:57 Universal JSON, BSON, YAML, XML translator to ANY format using templates.
- go-output-format star:7 Output go structures into multiple formats (YAML/JSON/etc) in your command line app.
- bbConvert star:6 Converts bbCode to HTML that allows you to add support for custom bbCode tags.
Parsers/Encoders/Decoders
- sh star:4844 Shell parser and formatter.
- gofeed star:1903 Parse RSS and Atom feeds in Go.
- commonregex star:814 A collection of common regular expressions for Go.
- gographviz star:480 Parses the Graphviz DOT language.
- omniparser star:459 A versatile ETL library that parses text input (CSV/txt/JSON/XML/EDI/X12/EDIFACT/etc) in streaming fashion and transforms data into JSON output using data-driven schema.
- go-nmea star:178 NMEA parser library for the Go language.
- sdp star:114 SDP: Session Description Protocol [RFC 4566].
- editorconfig-core-go star:99 Editorconfig file parser and manipulator for Go.
- go-vcard star:71 Parse and format vCard.
- did star:60 DID (Decentralized Identifiers) Parser and Stringer in Go.
- allot star:55 Placeholder and wildcard text parsing for CLI tools and bots.
- parth star:41 URL path segmentation parsing.
- gonameparts star:36 Parses human names into individual name parts.
- normalize star:29 Sanitize, normalize and compare fuzzy text.
- codetree star:20 Parses indented code (python, pixy, scarlet, etc.) and returns a tree structure.
- parseargs-go star:9 string argument parser that understands quotes and backslashes.
- encdec star:7 Package provides a generic interface to encoders and decoders.
- ltsv star:7 High performance LTSV (Labeled Tab Separated Value) reader for Go.
- doi star:6 Document object identifier (doi) parser in Go.
- go-fasttld star:5 High performance top level domains (TLD) extraction module.
- tokenizer — Parse any string, slice or infinite buffer to any tokens.
- when star:1153 Natural EN and RU language date/time parser with pluggable rules.
- xj2go star:24 Convert xml or json to go struct.
Regular Expressions
- regroup star:109 Match regex expression named groups into go struct using struct tags and automatic parsing.
- goregen star:69 Library for generating random strings from regular expressions.
- genex star:65 Count and expand Regular Expressions into all matching Strings.
- go-wildcard star:15 Simple and lightweight wildcard pattern matching.
Sanitation
- bluemonday star:2338 HTML Sanitizer.
- gofuckyourself star:48 A sanitization-based swear filter for Go.
Scrapers
- colly star:16794 Fast and Elegant Scraping Framework for Gophers.
- GoQuery star:11546 GoQuery brings a syntax and a set of features similar to jQuery to the Go language.
- xurls star:914 Extract urls from text.
- dataflowkit star:528 Web scraping Framework to turn websites into structured data.
- gospider star:162 A simple golang spider/scraping framework,build a spider in 3 lines. migrated from goribot
- pagser star:62 Pagser is a simple, extensible, configurable parse and deserialize html page to struct based on goquery and struct tags for golang crawler.
- Tagify star:21 Produces a set of tags from given source.
RSS
- podcast star:109 iTunes Compliant and RSS 2.0 Podcast Generator in Golang
- syndfeed star:8 A syndication feed for Atom 1.0 and RSS 2.0.
Utility/Miscellaneous
- go-runewidth star:456 Functions to get fixed width of the character or string.
- radix star:178 Fast string sorting algorithm.
- go-zero-width star:103 Zero-width character detection and removal for Go.
- petrovich star:39 Petrovich is the library which inflects Russian names to given grammatical case.
- kace star:17 Common case conversions covering common initialisms.
- TySug star:12 Alternative suggestions with respect to keyboard layouts.
Third-party APIs
Libraries for accessing third party APIs.
- github star:8602 Go library for accessing the GitHub REST API v3.
- aws-sdk-go star:7669 The official AWS SDK for the Go programming language.
- slack star:3952 Slack API in Go.
- discordgo star:3120 Go bindings for the Discord Chat API.
- google star:3050 Auto-generated Google APIs for Go.
- google-cloud star:2924 Google Cloud APIs Go Client Library.
- minio-go star:1635 Minio Go Library for Amazon S3 compatible cloud storage.
- stripe star:1581 Go client for the Stripe API.
- go-twitter star:1483 Go client library for the Twitter v1.1 APIs.
- go-jira star:1127 Go client library for Atlassian JIRA
- anaconda star:1118 Go client library for the Twitter 1.1 API.
- facebook star:1068 Go Library that supports the Facebook Graph API.
- fasapay-sdk-go Unofficial Fasapay payment gateway XML API Client for Golang.
- githubql star:891 Go library for accessing the GitHub GraphQL API v4.
- webhooks star:726 Webhook receiver for GitHub and Bitbucket.
- paypal star:500 Wrapper for PayPal payment API.
- geo-golang star:433 Go Library to access Google Maps, MapQuest, Nominatim, OpenCage, Bing, Mapbox, and OpenStreetMap geocoding / reverse geocoding APIs.
- ethrpc star:234 Go bindings for Ethereum JSON RPC API.
- twitter-scraper star:224 Scrape the Twitter Frontend API without authentication and limits.
- Trello star:199 Go wrapper for the Trello API.
- go-marathon star:195 Go library for interacting with Mesosphere's Marathon PAAS.
- lark star:175 Feishu/Lark Open API Go SDK, Support ALL Open API and Event Callback.
- Medium star:131 Golang SDK for Medium's OAuth2 API.
- gostorm star:128 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.
- pushover star:122 Go wrapper for the Pushover API.
- wit-go star:120 Go client for wit.ai HTTP API.
- go-trending star:119 Go library for accessing trending repositories and developers at Github.
- hipchat (xmpp) star:110 A golang package to communicate with HipChat over XMPP.
- hipchat star:104 This project implements a golang client library for the Hipchat API.
- go-lark star:96 An easy-to-use unofficial SDK for Feishu and Lark Open Platform.
- cachet star:90 Go client library for Cachet (open source status page system).
- simples3 star:87 Simple no frills AWS S3 Library using REST with V4 Signing written in Go.
- gosip star:79 Go client library SharePoint API.
- igdb star:75 Go client for the Internet Game Database API.
- gogtrends star:65 Google Trends Unofficial API.
- circleci star:62 Go client library for interacting with CircleCI's API.
- go-unsplash star:61 Go client library for the Unsplash.com API.
- clarifai star:56 Go client library for interfacing with the Clarifai API.
- megos star:54 Client library for accessing an Apache Mesos cluster.
- golang-tmdb star:52 Golang wrapper for The Movie Database API v3.
- amazon-product-advertising-api star:51 Go Client Library for Amazon Product Advertising API.
- ynab star:51 Go wrapper for the YNAB API.
- gads star:49 Google Adwords Unofficial API.
- go-postman-collection star:48 Go module to work with Postman Collections (compatible with Insomnia).
- fcm star:47 Go library for Firebase Cloud Messaging.
- go-atlassian star:46 Go library for accessing the Atlassian Cloud services (Jira, Jira Service Management, Jira Agile, Confluence, Admin Cloud)
- uptimerobot star:46 Go wrapper and command-line client for the Uptime Robot v2 API.
- go-xkcd star:45 Go client for the xkcd API.
- go-yapla Go client library for the Yapla v2.0 API.
- GoMusicBrainz star:45 Go MusicBrainz WS2 client library.
- mixpanel star:45 Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications.
- spotify star:43 Go Library to access Spotify WEB API.
- airtable star:39 Go client library for the Airtable API.
- golyrics star:38 Golyrics is a Go library to fetch music lyrics data from the Wikia website.
- google-play-scraper star:34 Get data from Google Play Store.
- gami star:31 Go library for Asterisk Manager Interface.
- go-myanimelist star:31 Go client library for accessing the MyAnimeList API.
- patreon-go star:31 Go library for Patreon API.
- translate star:31 Go online translation package.
- gcm star:30 Go library for Google Cloud Messaging.
- lastpass-go star:27 Go client library for the LastPass API.
- steam star:27 Go Library to interact with Steam game servers.
- go-imgur star:23 Go client library for imgur
- shopify star:23 Go Library to make CRUD request to the Shopify API.
- go-twitch star:21 Go client for interacting with the Twitch v3 API.
- brewerydb star:18 Go library for accessing the BreweryDB API.
- codeship-go star:18 Go client library for interacting with Codeship's API v2.
- jokeapi-go star:17 Go client for JokeAPI.
- textbelt star:17 Go client for the textbelt.com txt messaging API.
- coinpaprika-go star:16 Go client library for interacting with Coinpaprika's API.
- go-hacknews star:16 Tiny Go client for HackerNews API.
- device-check-go star:13 Go client library for interacting with iOS DeviceCheck API v1.
- go-aws-news star:13 Go application and library to fetch what's new from AWS.
- google-analytics star:12 Simple wrapper for easy google analytics reporting.
- gopaapi5 star:12 Go Client Library for Amazon Product Advertising API 5.0.
- go-openproject star:11 Go client library for interacting with OpenProject API.
- go-here star:10 Go client library around the HERE location based APIs.
- go-sophos star:10 Go client library for the Sophos UTM REST API with zero dependencies.
- smite star:10 Go package to wraps access to the Smite game API.
- bqwriter star:9 High Level Go Library to write data into Google BigQuery at a high throughout.
- gomalshare star:9 Go library MalShare API malshare.com
- rrdaclient star:8 Go Library to access statdns.com API, which is in turn RRDA API. DNS Queries over HTTP.
- google-email-audit-api star:7 Go client library for Google G Suite Email Audit API.
- libgoffi star:7 Library adapter toolbox for native libffi integration
- tumblr star:7 Go wrapper for the Tumblr v2 API.
- go-sptrans star:6 Go client library for the SPTrans Olho Vivo API.
- zooz star:6 Go client for the Zooz API.
- go-swagger-ui star:5 Go library containing precompiled Swagger UI for serving swagger json.
- go-telegraph Telegraph publishing platform API client.
- rawg-sdk-go star:5 Go library for the RAWG Video Games Database API
- go-chronos star:4 Go library for interacting with the Chronos Job Scheduler
- go-hibp star:4 Simple Go binding to the "Have I Been Pwned" APIs.
- appstore-sdk-go star:2 Unofficial Golang SDK for AppStore Connect API.
- go-restcountries star:2 Go library for the REST Countries API.
- newsapi-go star:2 Go client for NewsAPI.
- dusupay-sdk-go star:1 Unofficial Dusupay payment gateway API Client for Go
- playlyfe star:1 The Playlyfe Rest API Go SDK.
- TripAdvisor star:1 Go wrapper for the TripAdvisor API.
- vl-go star:1 Go client library around the VerifID identity verification layer API.
Utilities
General utilities and tools to make your life easier.
- fzf star:45087 Command-line fuzzy finder written in Go.
- hub star:21842 wrap git commands with additional functionality to interact with github from the terminal.
- ctop star:12962 Top-like interface (e.g. htop) for container metrics.
- sqlx star:12121 provides a set of extensions on top of the excellent built-in database/sql package.
- goreleaser star:10208 Deliver Go binaries as fast and easily as possible.
- wuzz star:9994 Interactive cli tool for HTTP inspection.
- usql star:7264 usql is a universal command-line interface for SQL databases.
- peco star:6985 Simplistic interactive filtering tool.
- lo star:6234 A Lodash like Go library based on Go 1.18+ Generics (map, filter, contains, find...)
- godropbox star:4032 Common libraries for writing Go services/applications from Dropbox.
- hystrix-go star:3660 Implements Hystrix patterns of programmer-defined fallbacks aka circuit breaker.
- go-funk star:3616 Modern Go utility library which provides helpers (map, find, contains, filter, chunk, reverse, ...).
- panicparse star:3148 Groups similar goroutines and colorizes stack dump.
- minify star:3011 Fast minifiers for HTML, CSS, JS, XML, JSON and SVG file formats.
- goreporter star:2983 Golang tool that does static analysis, unit testing, code review and generate code quality report.
- mc star:2145 Minio Client provides minimal tools to work with Amazon S3 compatible cloud storage and filesystems.
- mergo star:1970 Helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.
- Storm star:1896 Simple and powerful toolkit for BoltDB.
- mole star:1571 cli app to easily create ssh tunnels.
- filetype star:1547 Small package to infer the file type checking the magic numbers signature.
- boilr star:1464 Blazingly fast CLI tool for creating projects from boilerplate templates.
- create-go-app star:1416 A powerful CLI for create a new production-ready project with backend (Golang), frontend (JavaScript, TypeScript) & deploy automation (Ansible, Docker) by running one command.
- jump star:1378 Jump helps you navigate faster by learning your habits.
- circuitbreaker star:1003 Circuit Breakers in Go.
- git-time-metric star:900 Simple, seamless, lightweight time tracking for Git.
- EaseProbe star:773 A simple, standalone, and lightWeight tool that can do health/status checking daemon, support HTTP/TCP/SSH/Shell/Client/... probes, and Slack/Discord/Telegram/SMS... notification.
- hostctl star:760 A CLI tool to manage /etc/hosts with easy commands.
- mimetype star:756 Package for MIME type detection based on magic numbers.
- immortal star:739 *nix cross-platform (OS agnostic) supervisor.
- circuit star:649 An efficient and feature complete Hystrix like Go implementation of the circuit breaker pattern.
- scany star:584 Library for scanning data from a database into Go structs and more.
- htcat star:550 Parallel and Pipelined HTTP GET Utility.
- ergo star:524 The management of multiple local services running over different ports made easy.
- delve star:502 Go debugger.
- koazee star:497 Library inspired in Lazy evaluation and functional programming that takes the hassle out of working with arrays.
- godaemon star:487 Utility to write daemons.
- go-dry star:475 DRY (don't repeat yourself) package for Go.
- gopencils star:437 Small and simple package to easily consume REST APIs.
- request star:413 Go HTTP Requests for Humans™.
- gubrak star:404 Golang utility library with syntactic sugar. It's like lodash, but for golang.
- clockwork star:394 A simple fake clock for golang.
- Deepcopier star:387 Simple struct copying for Go.
- go-rate star:357 Timed rate limiter for Go.
- retry star:319 The most advanced functional mechanism to perform actions repetitively until successful.
- changie star:287 Automated changelog tool for preparing releases with lots of customization options.
- scan star:271 Scan golang
sql.Rows
directly to structs, slices, or primitive types. - serve star:270 A static http server anywhere you need.
- mani star:263 CLI tool to help you manage multiple repositories.
- gohper star:256 Various tools/modules help for development.
- util star:247 Collection of useful utility functions. (strings, concurrency, manipulations, ...).
- go-trigger star:227 Go-lang global event triggerer, Register Events with an id and trigger the event from anywhere from your project.
- gotenv star:224 Load environment variables from
.env
or anyio.Reader
in Go. - clipboard star:219 📋 cross-platform clipboard package in Go.
- grofer star:208 A system and resource monitoring tool written in Golang!
- wifiqr star:206 Wi-Fi QR Code Generator.
- pattern-match star:181 Pattern matching libray.
- Death star:180 Managing go application shutdown with signals.
- go-bind-plugin star:180 go:generate tool for wrapping symbols exported by golang plugins (1.8 only).
- toolbox star:178 Slice, map, multimap, struct, function, data conversion utilities. Service router, macro evaluator, tokenizer.
- go-sitemap-generator star:175 XML Sitemap generator written in Go.
- rospo star:170 Simple and reliable ssh tunnels with embedded ssh server in Golang.
- countries star:163 Full implementation of ISO-3166-1, ISO-4217, ITU-T E.164, Unicode CLDR and IANA ccTLD standarts.
- moldova star:162 Utility for generating random data based on an input template.
- rerun star:161 Recompiling and rerunning go apps when source changes.
- apm star:159 Process manager for Golang applications with an HTTP API.
- robustly star:153 Runs functions resiliently, catching and restarting panics.
- chyle star:144 Changelog generator using a git repository with multiple configuration possibilities.
- go-bsdiff star:129 Pure Go bsdiff and bspatch libraries and CLI tools.
- onecache star:126 Caching library with support for multiple backend stores (Redis, Memcached, filesystem etc).
- lrserver star:120 LiveReload server for Go.
- nostromo star:115 CLI for building powerful aliases.
- cryptgo star:112 Crytpgo is a TUI based application written purely in Go to monitor and observe cryptocurrency prices in real time!
- sorty star:104 Fast Concurrent / Parallel Sorting.
- mongo-go-pagination star:98 Mongodb Pagination for official mongodb/mongo-go-driver package which supports both normal queries and Aggregation pipelines.
- cmd star:95 Library for executing shell commands on osx, windows and linux.
- goseaweedfs star:95 SeaweedFS client library with almost full features.
- limiters star:95 Rate limiters for distributed applications in Golang with configurable back-ends and distributed locks.
- mssqlx star:95 Database client library, proxy for any master slave, master master structures. Lightweight and auto balancing in mind.
- xferspdy star:92 Xferspdy provides binary diff and patch library in golang.
- go-health star:88 Health package simplifies the way you add health check to your services.
- filter star:82 provide filtering, sanitizing, and conversion of Go data.
- repeat star:80 Go implementation of different backoff strategies useful for retrying operations and heartbeating.
- pm star:77 Process (i.e. goroutine) manager with an HTTP API.
- goval star:75 Evaluate arbitrary expressions in Go.
- mimemagic star:75 Pure Go ultra performant MIME sniffing library/utility.
- netbug star:69 Easy remote profiling of your services.
- UNIS star:69 Common Architecture™ for String Utilities in Go.
- handy star:68 Many utilities and helpers like string handlers/formatters and validators.
- go-lock star:65 go-lock is a lock library implementing read-write mutex and read-write trylock without starvation.
- pgo star:65 Convenient functions for PHP community.
- goreadability star:64 Webpage summary extractor using Facebook Open Graph and arc90's readability.
- multitick star:63 Multiplexor for aligned tickers.
- minquery star:59 MongoDB / mgo.v2 query that supports efficient pagination (cursors to continue listing documents where we left off).
- go-astitodo star:58 Parse TODOs in your GO code.
- golog star:56 Easy and lightweight CLI tool to time track your tasks.
- retry star:54 Simple and easy retry mechanism package for Go.
- copy-pasta star:50 Universal multi-workstation clipboard that uses S3 like backend for the storage.
- slice star:49 Type-safe functions for common Go slice operations.
- beyond star:47 The Go tool that will drive you to the AOP world!
- dbt star:47 A framework for running self-updating signed binaries from a central, trusted repository.
- golarm star:47 Fire alarms with system events.
- goback star:45 Go simple exponential backoff package.
- intrinsic star:44 Use x86 SIMD without writing any assembly code.
- retry-go star:44 Retrying made simple and easy for golang.
- gpath star:39 Library to simplify access struct fields with Go's expression in reflection.
- go-httpheader star:38 Go library for encoding structs into Header fields.
- equalizer star:37 Quota manager and rate limiter collection for Go.
- set star:37 Performant and flexible struct mapping and loose type conversion.
- slicer star:37 Makes working with slices easier.
- backscanner star:35 A scanner similar to bufio.Scanner, but it reads and returns lines in reverse order, starting at a given position and going backward.
- gostrutils star:35 Collections of string manipulation and conversion functions.
- myhttp star:34 Simple API to make HTTP GET requests with timeout support.
- shutdown star:34 App shutdown hooks for
os.Signal
handling. - evaluator star:33 Evaluate an expression dynamicly based on s-expression. It's simple and easy to extend.
- rclient star:32 Readable, flexible, simple-to-use client for REST APIs.
- sshman star:30 SSH Manager for authorized_keys files on multiple remote servers.
- tome star:30 Tome was designed to paginate simple RESTful APIs.
- pointer star:29 Package pointer contains helper routines for simplifying the creation of optional fields of basic type.
- throttle star:28 Throttle is an object that will perform exactly one action per duration.
- generate star:26 runs go generate recursively on a specified path or environment variable and can filter by regex.
- ghokin star:26 Parallelized formatter with no external dependencies for gherkin (cucumber, behat...).
- ugo star:26 ugo is slice toolbox with concise syntax for Go.
- goplaceholder star:24 a small golang lib to generate placeholder images.
- rerate star:24 Redis-based rate counter and rate limiter for Go.
- copy star:22 Package for fast copying structs of different types.
- mimesniffer star:21 A MIME type sniffer for Go.
- structs star:20 Implement simple functions to manipulate structs.
- ctxutil star:17 A collection of utility functions for contexts.
- cvt star:17 Easy and safe convert any value to another type.
- filler star:16 small utility to fill structs using "fill" tag.
- dlog star:15 Compile-time controlled logger to make your release smaller without removing debug calls.
- go-convert star:15 Package go-convert enables you to convert a value into another type.
- jsend star:15 JSend's implementation writen in Go.
- okrun star:15 go run error steamroller.
- rest-go star:15 A package that provide many helpful methods for working with rest api.
- command star:13 Command pattern for Go with thread safe serial and parallel dispatcher.
- ptr star:13 Package that provide functions for simplified creation of pointers from constants of basic types.
- go-problemdetails star:12 Go package for working with Problem Details.
- go-type star:12 Library providing Go types for store/validation and transfer of ISO-4217, ISO-3166, and other types.
- retry star:11 A pretty simple library to ensure your work to be done.
- silk star:11 Read silk netflow files.
- go-countries star:9 Lightweight lookup over ISO-3166 codes.
- statiks star:9 Fast, zero-configuration, static HTTP filer server.
- go-actuator star:8 Production ready features for Go based web frameworks.
- go-clip star:8 A minimalistic clipboard manager for Mac.
- retry star:8 A simple but highly configurable retry package for Go.
- sliceconv star:8 Slice conversion between primitive types.
- blank star:7 Verify or remove blanks and whitespace from strings.
- bleep star:7 Perform any number of actions on any set of OS signals in Go.
- go-pkg star:6 A go toolkit.
- nfdump star:6 Read nfdump netflow files.
- go-safe star:5 Panic-safe sandbox.
- loncha star:4 A high-performance slice Utilities.
- lets-go star:3 Go module that provides common utilities for Cloud Native REST API development. Also contains AWS Specific utilities.
- olaf star:3 Twitter Snowflake implemented in Go.
- tik star:3 Simple and easy timing wheel package for Go.
- goctx star:2 Get your context value with high performance.
- reflectutils star:2 Helpers for working with reflection: struct tag parsing; recursive walking; fill value from string.
- objwalker star:1 Walk by go objects with reflection.
UUID
Libraries for working with UUIDs.
- uuid star:3655 Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
- xid star:2790 Xid is a globally unique id generator library, ready to be safely used directly in your server code.
- ulid star:2700 Go implementation of ULID (Universally Unique Lexicographically Sortable Identifier).
- uniq No hassle safe, fast unique identifiers with commands.
- uuid star:1128 Implementation of Universally Unique Identifier (UUID). Supports both creation and parsing of UUIDs. Actively maintained fork of satori uuid.
- wuid star:464 An extremely fast unique number generator, 10-135 times faster than UUID.
- goflake A small, scalable, & serverless unique ID generator for use in distributed systems. Inspired by Twitters Snowflake.
- sno star:65 Compact, sortable and fast unique IDs with embedded metadata.
- nanoid star:50 A tiny and efficient Go unique string ID generator.
- goid star:32 Generate and Parse RFC4122 compliant V4 UUIDs.
- gouid star:15 Generate cryptographically secure random string IDs with just one allocation.
- uuid star:14 Generate, encode, and decode UUIDs v1 with fast or cryptographic-quality random node identifier.
Validation
Libraries for validation.
- validator star:10611 Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving.
- govalidator star:5393 Validators and sanitizers for strings, numerics, slices and structs.
- ozzo-validation star:2750 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.
- govalidator star:1103 Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
- validate star:621 Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features.
- checkdigit star:89 Provide check digit algorithms (Luhn, Verhoeff, Damm) and calculators (ISBN, EAN, JAN, UPC, etc.).
- terraform-validator star:78 A norms and conventions validator for Terraform.
- jio star:67 jio is a json schema validator similar to joi.
- validate star:67 This package provides a framework for writing validations for Go applications.
- gody star:57 🎈 A lightweight struct validator for Go.
- govalid star:29 Fast, tag-based validation for structs.
- Validator star:2 A lightweight model validator written in Go.Contains VFs:Min, Max, MinLength, MaxLength, Length, Enum, Regex.
Version Control
Libraries for version control.
- go-git star:3543 highly extensible Git implementation in pure Go.
- glab star:1953 An open-source GitLab command line tool bringing GitLab's cool features to your command line.
- hercules star:1759 gaining advanced insights from Git repository history.
- git2go star:1743 Go bindings for libgit2.
- gh star:77 Scriptable server and net/http middleware for GitHub Webhooks.
- go-vcs star:73 manipulate and inspect VCS repositories in Go.
- githooks star:44 Per-repo and shared Git hooks with version control and auto update.
- froggit-go star:17 Froggit-Go is a Go library, allowing to perform actions on VCS providers.
- hgo star:13 Hgo is a collection of Go packages providing read-access to local Mercurial repositories.
Video
Libraries for manipulating video.
- goav star:1896 Comprehensive Go bindings for FFmpeg.
- m3u8 star:930 Parser and generator library of M3U8 playlists for Apple HLS.
- gmf star:766 Go bindings for FFmpeg av* libraries.
- go-astits star:423 Parse and demux MPEG Transport Streams (.ts) natively in GO.
- go-astisub star:398 Manipulate subtitles in GO (.srt, .stl, .ttml, .webvtt, .ssa/.ass, teletext, .smi, etc.).
- libvlc-go star:306 Go bindings for libvlc 2.X/3.X/4.X (used by the VLC media player).
- gortsplib star:259 Pure Go RTSP server and client library.
- gst star:164 Go bindings for GStreamer.
- go-m3u8 star:91 Parser and generator library for Apple m3u8 playlists.
- v4l star:67 Video capture library for Linux, written in Go.
- libgosubs star:19 Subtitle format support for go. Supports .srt, .ttml, and .ass.
- go-mpd star:11 Parser and generator library for MPEG-DASH manifest files.
Web Frameworks
Full stack web frameworks.
- Gin star:60275 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.
- Beego star:28298 beego is an open-source, high-performance web framework for the Go programming language.
- Buffalo Bringing the productivity of Rails to Go!
- Confetti Framework Confetti is a Go web application framework with an expressive, elegant syntax. Confetti combines the elegance of Laravel and the simplicity of Go.
- Echo star:22671 High performance, minimalist Go web framework.
- Fiber star:20548 An Express.js inspired web framework build on Fasthttp.
- Revel star:12598 High-productivity web framework for the Go language.
- Goa star:4727 Goa provides a holistic approach for developing remote APIs and microservices in Go.
- Gizmo star:3610 Microservice toolkit used by the New York Times.
- go-json-rest star:3498 Quick and easy way to setup a RESTful JSON API.
- Macaron star:3290 Macaron is a high productive and modular design web framework in Go.
- utron star:2214 Lightweight MVC framework for Go(Golang).
- Goyave star:1098 Feature-complete REST API framework aimed at clean code and fast development, with powerful built-in functionalities.
- tigertonic star:1001 Go framework for building JSON web services inspired by Dropwizard.
- tango star:835 Micro & pluggable web framework for Go.
- Gearbox star:643 A web framework written in Go with a focus on high performance and memory optimization.
- Aero star:473 High-performance web framework for Go, reaches top scores in Lighthouse.
- gongular star:447 Fast Go web framework with input mapping/validation and (DI) Dependency Injection.
- neo star:418 Neo is minimal and fast Go Web Framework with extremely simple API.
- Air star:414 An ideally refined web framework for Go.
- mango star:366 Mango is a modular web-application framework for Go, inspired by Rack, and PEP333.
- Flamingo Commerce star:321 Providing e-commerce features using clean architecture like DDD and ports and adapters, that you can use to build flexible e-commerce applications.
- Gondola star:309 The web framework for writing faster sites, faster.
- Flamingo star:302 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.
- Golf star:259 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.
- WebGo star:247 A micro-framework to build web apps; with handler chaining, middleware and context injection. With standard library compliant HTTP handlers(i.e. http.HandlerFunc).
- rk-boot star:229 A bootstrapper library for building enterprise go microservice with Gin and gRPC quickly and easily.
- Ginrpc star:223 Gin parameter automatic binding tool,gin rpc tools.
- uAdmin star:193 Fully featured web framework for Golang, inspired by Django.
- hiboot star:175 hiboot is a high performance web application framework with auto configuration and dependency injection support.
- Huma Framework for modern REST/GraphQL APIs with built-in OpenAPI 3, generated documentation, and a CLI.
- go-rest star:125 Small and evil REST framework for Go.
- appy star:120 An opinionated productive web framework that helps scaling business easier.
- Microservice star:96 The framework for the creation of microservices, written in Golang.
- patron star:95 Patron is a microservice framework following best cloud practices with a focus on productivity.
- vox star:78 A golang web framework for humans, inspired by Koa heavily.
- rux star:77 Simple and fast web framework for build golang HTTP applications.
- Golax star:74 A non Sinatra fast HTTP framework with support for Google custom methods, deep interceptors, recursion and more.
- aah Scalable, performant, rapid development Web framework for Go.
- YARF star:65 Fast micro-framework designed to build REST APIs and web services in a fast and simple way.
- Fireball star:57 More "natural" feeling web framework.
- goa star:46 goa is just like koajs for golang, it is a flexible, light, high-performance and extensible web framework based on middleware.
- GoTuna star:40 Minimalistic web framework for Go with mux router, middlewares, sessions, templates, embedded views and static files.
- goweb star:32 Web framework with routing, websockets, logging, middleware, static file server (optional gzip), and automatic TLS.
- Resoursea star:32 REST framework for quickly writing resource based services.
- REST Layer Framework to build REST/GraphQL API on top of databases with mostly configuration over code.
- rex star:32 Rex is a library for modular development built upon gorilla/mux, fully compatible with
net/http
. - Banjo star:19 Very simple and fast web framework for Go.
- anoweb star:3 The lightweight and powerful web framework using the new way for Go.Another go the way.
- golamb star:3 Golamb makes it easier to write API endpoints for use with AWS Lambda and API Gateway.
Middlewares
Actual middlewares
- Tollbooth star:2237 Rate limit HTTP request handler.
- CORS star:2105 Easily add CORS capabilities to your API.
- Limiter star:1581 Dead simple rate limit middleware for Go.
- go-server-timing star:835 Add/parse Server-Timing header.
- go-fault star:434 Fault injection middleware for Go.
- ln-paywall star:124 Go middleware for monetizing APIs on a per-request basis with the Lightning Network (Bitcoin).
- XFF star:89 Handle
X-Forwarded-For
header and friends. - rk-grpc star:39 Middleware for gRPC with logging, metrics, auth, tracing etc.
- formjson star:36 Transparently handle JSON input as a standard form POST.
- rk-gin star:31 Middleware for Gin framework with logging, metrics, auth, tracing etc.
- client-timing star:20 An HTTP client for Server-Timing header.
- mid star:4 Miscellaneous HTTP middleware features: idiomatic error return from handlers; receive/respond with JSON data; request tracing; and more.
Libraries for creating HTTP middlewares
- negroni star:7205 Idiomatic HTTP middleware for Golang.
- alice star:2587 Painless middleware chaining for Go.
- render star:1609 Go package for easily rendering JSON, XML, and HTML template responses.
- stats star:586 Go middleware that stores various information about your web application.
- interpose star:295 Minimalist net/http middleware for golang.
- renderer star:240 Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go.
- muxchain star:209 Lightweight middleware for net/http.
- gores star:99 Go package that handles HTML, JSON, XML and etc. responses. Useful for RESTful APIs.
- rye star:97 Tiny Go middleware library (with canned Middlewares) that supports JWT, CORS, Statsd, and Go 1.7 context.
- mediary star:79 add interceptors to
http.Client
to allow dumping/shaping/tracing/... of requests/responses. - chain star:64 Handler wrapper chaining with scoped data (net/context-based "middleware").
- go-wrap star:59 Small middlewares package for net/http.
- catena star:8 http.Handler wrapper catenation (same API as "chain").
Routers
- mux star:16803 Powerful URL router and dispatcher for golang.
- httprouter star:14158 High performance router. Use this and the standard http handlers to form a very high performance web framework.
- chi star:11631 Small, fast and expressive HTTP router built on net/context.
- gocraft/web star:1472 Mux and middleware package in Go.
- Bone star:1280 Lightning Fast HTTP Multiplexer.
- Goji star:902 Goji is a minimalistic and flexible HTTP request multiplexer with support for
net/context
. - fasthttprouter star:866 High performance router forked from
httprouter
. The first router fit forfasthttp
. - httptreemux star:541 High-speed, flexible tree-based HTTP router for Go. Inspiration from httprouter.
- xujiajun/gorouter star:525 A simple and fast HTTP router for Go.
- ozzo-routing star:438 An extremely fast Go (golang) HTTP router that supports regular expression route matching. Comes with full support for building RESTful APIs.
- lars star:387 Is a lightweight, fast and extensible zero allocation HTTP router for Go used to create customizable frameworks.
- Siesta star:352 Composable framework to write middleware and handlers.
- vestigo star:267 Performant, stand-alone, HTTP compliant URL Router for go web applications.
- gowww/router star:164 Lightning fast HTTP router fully compatible with the net/http.Handler interface.
- GoRouter star:128 GoRouter is a Server/API micro framework, HTTP request router, multiplexer, mux that provides request router with middleware supporting
net/context
. - pure star:125 Is a lightweight HTTP router that sticks to the std "net/http" implementation.
- alien star:123 Lightweight and fast http router from outer space.
- violetear star:105 Go HTTP router.
- Bxog star:103 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.
- xmux star:94 High performance muxer based on
httprouter
withnet/context
support. - bellt star:53 A simple Go HTTP router.
- ngamux star:51 Simple HTTP router for Go.
- goblin star:30 A golang http router based on trie tree.
- FastRouter star:21 a fast, flexible HTTP router written in Go.
- GoLobby/Router star:16 GoLobby Router is a lightweight yet powerful HTTP router for the Go programming language.
- goroute star:7 Simple yet powerful HTTP request multiplexer.
- nchi star:3 chi-like router built on httprouter with dependency injection based middleware wrappers
WebAssembly
- tinygo star:10908 Go compiler for small places. Microcontrollers, WebAssembly, and command-line tools. Based on LLVM.
- dom star:455 DOM library.
- go-canvas star:167 Library to use HTML5 Canvas, with all drawing within go code.
- wasmbrowsertest star:124 Run Go WASM tests in your browser.
- webapi star:114 Bindings for DOM and HTML generated from WebIDL.
- vert star:71 Interop between Go and JS values.
Windows
- go-ole star:872 Win32 OLE implementation for golang.
- d3d9 star:131 Go bindings for Direct3D9.
- gosddl star:8 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.
- zek star:568 Generate a Go struct from XML.
- xpath star:485 XPath package for Go.
- xquery star:155 XQuery lets you extract data from HTML/XML documents using XPath expression.
- xml2map star:39 XML to MAP converter written Golang.
- xmlwriter star:21 Procedural XML generation API based on libxml2's xmlwriter module.
- XML-Comp star:17 Simple command line XML comparer that generates diffs of folders, files and tags.
Zero Trust
Libraries and tools to implement Zero Trust architectures.
- Cosign star:2199 Container Signing, Verification and Storage in an OCI registry.
- Spire star:1170 SPIRE (the SPIFFE Runtime Environment) is a toolchain of APIs for establishing trust between software systems across a wide variety of hosting platforms.
- in-toto star:58 Go implementation of the in-toto (provides a framework to protect the integrity of the software supply chain) python reference implementation.
- Spiffe-Vault star:30 Utilizes Spiffe JWT authentication with Hashicorp Vault for secretless authentication.
Code Analysis
Source code analysis tools, also known as Static Application Security Testing (SAST) Tools.
- GoLint star:3943 Golint is a linter for Go source code.
- errcheck star:1851 Errcheck is a program for checking for unchecked errors in Go programs.
- go-critic star:1320 source code linter that brings checks that are currently not implemented in other linters.
- gcvis star:1061 Visualise Go program GC trace data in real time.
- GoPlantUML star:972 Library and CLI that generates text plantump class diagram containing information about structures and interfaces with the relationship among them.
- goreturns Adds zero-value return statements to match the func return types.
- gosimple gosimple is a linter for Go source code that specialises on simplifying code.
- php-parser star:872 A Parser for PHP written in Go.
- 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#. - goast-viewer star:621 Web based Golang AST visualizer.
- GoCover.io GoCover.io offers the code coverage of any golang package as a service.
- goimports Tool to fix (add, remove) your Go imports automatically.
- go-cleanarch star:600 go-cleanarch was created to validate Clean Architecture rules, like a The Dependency Rule and interaction between packages in your Go projects.
- go-mod-outdated star:585 An easy way to find outdated dependencies of your Go projects.
- golines star:412 Formatter that automatically shortens long lines in Go code.
- todocheck star:385 Static code analyser which links TODO comments in code with issues in your issue tracker.
- unconvert star:317 Remove unnecessary type conversions from Go source.
- unused unused checks Go code for unused constants, variables, functions and types.
- dupl star:283 Tool for code clone detection.
- tickgit star:276 CLI and go package for surfacing code comment TODOs (in any language) and applying a
git blame
to identify the author. - gostatus star:243 Command line tool, shows the status of repositories that contain Go packages.
- apicompat star:177 Checks recent changes to a Go project for backwards incompatible changes.
- go-checkstyle star:121 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.
- lint star:66 Run linters as part of go test.
- validate star:59 Automatically validates struct fields with tags.
- go-outdated star:44 Console application that displays outdated packages.
- ChainJacking star:24 Find which of your Go lang direct GitHub dependencies is susceptible to ChainJacking attack.
- tarp star:14 tarp finds functions and methods without direct unit tests in Go source code.
- golang-ifood-sdk star:8 iFood API SDK.
Editor Plugins
Plugin for text editors and IDEs.
- vim-go star:14638 Go development plugin for Vim.
- gocode star:4972 Autocompletion daemon for the Go programming language.
- GoSublime star:3427 Golang plugin collection for the text editor SublimeText 3 providing code completion and other IDE-like features.
- vscode-go star:2719 Extension for Visual Studio Code (VS Code) which provides support for the Go language.
- go-plus star:1512 Go (Golang) Package For Atom That Adds Autocomplete, Formatting, Syntax Checking, Linting and Vetting.
- go-mode star:1246 Go mode for GNU/Emacs.
- coc-go language server extension for Vim/Neovim star:461 This plugin adds gopls features to Vim/Neovim.
- Watch star:192 Runs a command in an acme win on file changes.
- goimports-reviser star:137 Formatting tool for imports.
- goprofiling This extension adds benchmark profiling support for the Go language to VS Code.
- vim-compiler-go star:87 Vim plugin to highlight syntax errors on save.
- go-language-server star:31 A wrapper to turn the VSCode go extension into a language server supporting the language-server-protocol.
- gounit-vim star:23 Vim plugin for generating Go tests based on the function's or method's signature.
- theia-go-extension star:16 Go language support for the Theia IDE.
- Go Doc star:4 A Visual Studio Code extension for showing definition in output and generating go doc.
- Go plugin for JetBrains IDEs Go plugin for JetBrains IDEs.
Go Generate Tools
- gotests star:4007 Generate Go tests from your source code.
- genny star:1638 Elegant generics for Go.
- re2dfa star:192 Transform regular expressions into finite state machines and output Go source code.
- TOML-to-Go Translates TOML into a Go type in the browser instantly.
- xgen star:162 XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator.
- hasgo star:118 Generate Haskell inspired functions for your slices.
- gonerics star:114 Idiomatic Generics in Go.
- gocontracts star:82 brings design-by-contract to Go by synchronizing the code with the documentation.
- gounit star:60 Generate Go tests using your own templates.
- generic star:43 flexible data type for Go.
- godal star:12 Generate orm models corresponding to golang by specifying sql ddl file, which can be used by gorm.
Go Tools
- go-swagger star:7687 Swagger 2.0 implementation for go. Swagger is a simple yet powerful representation of your RESTful API.
- OctoLinker star:4966 Navigate through go files efficiently with the OctoLinker browser extension for GitHub.
- go-callvis star:4138 Visualize call graph of your Go program using dot format.
- depth star:756 Visualize dependency trees of any package by analyzing imports.
- richgo star:692 Enrich
go test
outputs with text decorations. - rts star:230 RTS: response to struct. Generates Go structs from server responses.
- godbg star:184 Implementation of Rusts
dbg!
macro for quick and easy debugging during development. - gomodrun Go tool that executes and caches binaries included in go.mod files.
- gotemplate.io Online tool to preview
text/template
templates live. - typex star:147 Examine Go types and their transitive dependencies, alternatively export results as TypeScript value objects (or types) declaration.
- gothanks star:112 GoThanks automatically stars your go.mod github dependencies, sending this way some love to their maintainers.
- colorgo star:109 Wrapper around
go
command for colorizedgo build
output. - roumon star:81 Monitor current state of all active goroutines via a command line interface.
- igo star:51 An igo to go transpiler (new language features for Go language!)
- go-james star:50 Go project skeleton creator, builds and tests your projects without the manual setup.
- go-pkg-complete star:39 Bash completion for go and wgo.
- generator-go-lang star:24 A Yeoman generator to get new Go projects started.
- docs star:10 Automatically generate RESTful API documentation for GO projects - aligned with Open API Specification standard.
- gotestdox star:8 Show Go test results as readable sentences.
- modver star:2 Compare two versions of a Go module to check the version-number change required (major, minor, or patchlevel), according to semver rules.
Software Packages
Software written in Go.
DevOps Tools
- kubernetes star:89390 Container Cluster Manager from Google.
- Moby star:63292 Collaborative project for the container ecosystem to assemble container-based systems.
- traefik star:38542 Reverse proxy and load balancer with support for multiple backends.
- Gitea star:30522 Fork of Gogs, entirely community driven.
- gitea-github-migrator Migrate all your GitHub repositories, issues, milestones and labels to your Gitea instance.
- Vegeta star:19740 HTTP load testing tool and library. It's over 9000!
- Packer star:13747 Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
- Hey star:13742 Hey is a tiny program that sends some load to a web application.
- webhook star:7807 Tool which allows user to create HTTP endpoints (hooks) that execute commands on the server.
- Wide Web-based IDE for Teams using Golang.
- GVM star:7433 GVM provides an interface to manage Go versions.
- gaia star:4692 Build powerful pipelines in any programming language.
- ko star:4593 Command line tool for building and deploying Go applications on Kubernetes
- Ddosify star:4439 High-performance load testing tool, written in Golang.
- gox star:4267 Dead simple, no frills Go cross compile tool.
- Mizu star:3652 API traffic viewer for Kubernetes enabling you to view all API communication between microservices, multiprotocol support: HTTP1.1, HTTP/2, AMQP, Kafka, Redis.
- bombardier star:3554 Fast cross-platform HTTP benchmarking tool.
- bosun star:3279 Time Series Alerting Framework.
- Pomerium star:3115 Pomerium is an identity-aware access proxy.
- script star:2791 Making it easy to write shell-like scripts in Go for DevOps and system administration tasks.
- kala star:1813 Simplistic, modern, and performant job scheduler.
- fac star:1754 Command-line user interface to fix git merge conflicts.
- goxc star:1679 build tool for Go, with a focus on cross-compiling and packaging.
- StatusOK star:1547 Monitor your Website and REST APIs.Get Notified through Slack, E-mail when your server is down or response time is more than expected.
- s3gof3r star:1119 Small utility/library optimized for high speed transfer of large objects into and out of Amazon S3.
- s5cmd star:1102 Blazing fast S3 and local filesystem execution tool.
- go-selfupdate star:993 Enable your Go applications to self update.
- ghorg star:930 Quickly clone an entire org/users repositories into one directory - Supports GitHub, GitLab, Gitea, and Bitbucket.
- skm star:783 SKM is a simple and powerful SSH Keys Manager, it helps you to manage your multiple SSH keys easily!
- Scaleway-cli star:754 Manage BareMetal Servers from Command Line (as easily as with Docker).
- uTask star:665 Automation engine that models and executes business processes declared in yaml.
- kwatch star:625 Monitor & detect crashes in your Kubernetes(K8s) cluster instantly.
- kool star:597 Command line tool for managing Docker environments as an easy way.
- cassowary star:587 Modern cross-platform HTTP load-testing tool written in Go.
- aurora star:561 Cross-platform web-based Beanstalkd queue server console.
- govvv star:526 “go build” wrapper to easily add version information into Go binaries.
- Pewpew star:339 Flexible HTTP command line stress tester.
- gonative star:330 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.
- jcli star:327 Jenkins CLI allows you manage your Jenkins as an easy way.
- trubka star:318 A CLI tool to manage and troubleshoot Apache Kafka clusters with the ability of generically publishing/consuming protocol buffer and plain text events to/from Kafka.
- Mora star:303 REST server for accessing MongoDB documents and meta data.
- lstags star:288 Tool and API to sync Docker images across different registries.
- manssh star:265 manssh is a command line tool for managing your ssh alias config easily.
- Balerter star:264 A self-hosted script-based alerting manager.
- dogo star:245 Monitoring changes in the source file and automatically compile and run (restart).
- easyssh-proxy star:244 Golang package for easy remote execution through SSH and SCP downloading via
ProxyCommand
. - godbg star:225 Web-based gdb front-end application.
- Gogs A Self Hosted Git Service in the Go Programming Language.
- Blast star:206 A simple tool for API load testing and batch jobs.
- terraform-provider-openapi star:204 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.
- gobrew star:189 gobrew lets you easily switch between multiple versions of go.
- abbreviate star:182 abbreviate is a tool turning long strings in to shorter ones with configurable seperaters, for example to embed branch names in to deployment stack IDs.
- kcli star:175 Command line tool for inspecting kafka topics/partitions/messages.
- ostent star:172 collects and displays system metrics and optionally relays to Graphite and/or InfluxDB.
- grapes star:156 Lightweight tool designed to distribute commands over ssh with ease.
- winrm-cli star:141 Cli tool to remotely execute commands on Windows machines.
- Dockerfile-Generator star:130 A go library and an executable that produces valid Dockerfiles using various input channels.
- drone-scp star:103 Copy files and artifacts via SSH using a binary, docker or Drone CI.
- s3-proxy star:103 S3 Proxy with GET, PUT and DELETE methods and authentication (OpenID Connect and Basic Auth).
- go-furnace star:89 Hosting solution written in Go. Deploy your Application with ease on AWS, GCP or DigitalOcean.
- Mantil star:72 Go specific framework for building serverless applications on AWS that enables you to focus on pure Go code while Mantil takes care of the infrastructure.
- go-rocket-update star:64 A simple way to make self updating Go applications - Supports Github and Gitlab.
- Dropship star:59 Tool for deploying code via cdn.
- drone-jenkins star:33 Trigger downstream Jenkins jobs using a binary, docker or Drone CI.
- docker-go-mingw star:32 Docker image for building Go binaries for Windows with MinGW toolchain.
- Rodent star:32 Rodent helps you manage Go versions, projects and track dependencies.
- awsenv star:29 Small binary that loads Amazon (AWS) environment variables for a profile.
- lwc star:27 A live-updating version of the UNIX wc command.
- DepCharge star:22 Helps orchestrating the execution of commands across the many dependencies in larger projects.
- httpref star:21 httpref is a handy CLI reference for HTTP methods, status codes, headers, and TCP and UDP ports.
- sg star:7 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.
- aptly star:4 aptly is a Debian repository management tool.
- wait-for star:2 Wait for something to happen (from the command line) before continuing. Easy orchestration of Docker services and other things.
Other Software
- croc star:19702 Easily and securely send files or folders from one computer to another.
- Docker Open platform for distributed applications for developers and sysadmins.
- restic star:17064 De-duplicating backup program.
- Gor star:15646 Http traffic replication tool, for replaying traffic from production to stage/dev environments in real-time.
- Seaweed File System star:14638 Fast, Simple and Scalable Distributed File System with O(1) disk seek.
- toxiproxy star:8194 Proxy to simulate network and system conditions for automated tests.
- tsuru Extensible and open source Platform as a Service software.
- Comcast star:7898 Simulate bad network connections.
- confd star:7813 Manage local application configuration files using templates and data from etcd or consul.
- LiteIDE star:6880 LiteIDE is a simple, open source, cross-platform Go IDE.
- drive star:6406 Google Drive client for the commandline.
- nes star:5064 Nintendo Entertainment System (NES) emulator written in Go.
- Duplicacy star:4148 A cross-platform network and cloud backup tool based on the idea of lock-free deduplication.
- scc star:3494 Sloc Cloc and Code, a very fast accurate code counter with complexity calculations and COCOMO estimates.
- myLG star:2573 Command Line Network Diagnostic tool written in Go.
- GoBoy star:2447 Nintendo Game Boy Color emulator written in Go.
- Stack Up star:2347 Stack Up, a super simple deployment tool - just Unix - think of it like 'make' for a network of servers.
- lgo star:2243 Interactive Go programming with Jupyter. It supports code completion, code inspection and 100% Go compatibility.
- 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.
- Circuit star:1951 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.
- snap star:1799 Powerful telemetry framework.
- blocky star:1607 Fast and lightweight DNS proxy as ad-blocker for local network with many features.
- Documize star:1566 Modern wiki software that integrates data from SaaS tools.
- borg star:1548 Terminal based search engine for bash snippets.
- Plik star:995 Plik is a temporary file upload system (Wetransfer like) in Go.
- shell2http star:934 Executing shell commands via http server (for prototyping or remote control).
- vFlow star:902 High-performance, scalable and reliable IPFIX, sFlow and Netflow collector.
- Go Package Store star:886 App that displays updates for the Go packages in your GOPATH.
- peg star:853 Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator.
- Leaps star:723 Pair programming service using Operational Transforms.
- gfile star:664 Securely transfer files between two computers, without any third party, over WebRTC.
- Guora star:596 A self-hosted Quora like web application written in Go.
- Gebug star:576 A tool that makes debugging of Dockerized Go applications super easy by enabling Debugger and Hot-Reload features, seamlessly.
- gocc star:534 Gocc is a compiler kit for Go written in Go.
- mockingjay star:519 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.
- go-peerflix star:449 Video streaming torrent client.
- goblin Golang binaries in a curl, built by goblins.
- ipe star:353 Open source Pusher server implementation compatible with Pusher client libraries written in GO.
- ide star:333 Browser accessible IDE. Designed for Go with Go.
- woke star:325 Detect non-inclusive language in your source code.
- tcpprobe star:322 TCP tool for network performance and path monitoring, including socket statistics.
- Gokapi star:308 Lightweight server to share files, which expire after a set amount of downloads or days. Similar to Firefox Send, but without public upload.
- GoLand Full featured cross-platform Go IDE.
- wellington star:298 Sass project management tool, extends the language with sprite functions (like Compass).
- Cherry star:279 Tiny webchat server in Go.
- Neo-cowsay star:211 🐮 cowsay is reborn. for a New Era.
- tcpdog star:189 eBPF based TCP observability.
- joincap star:173 Command-line utility for merging multiple pcap files together.
- Juju Cloud-agnostic service deployment and orchestration - supports EC2, Azure, Openstack, MAAS and more.
- Orbit star:168 A simple tool for running commands and generating files from templates.
- Better Go Playground Go playground with syntax highlight, code completion and other features.
- vaku star:134 CLI & API for folder-based functions in Vault like copy, move, and search.
- stew star:97 An independent package manager for compiled binaries.
- syncthing Open, decentralized file synchronization tool and protocol.
- dp star:85 Through SDK for data exchange with blockchain, developers can get easy access to DAPP development.
- boxed star:77 Dropbox based blog engine.
- crawley star:60 Web scraper/crawler for cli.
- naclpipe star:22 Simple NaCL EC25519 based crypto pipe tool written in Go.
- term-quiz star:22 Quizzes for your terminal.
- Snitch star:15 Simple way to notify your team and many tools when someone has deployed any application via Tsuru.
- GoDocTooltip star:12 Chrome extension for Go Doc sites, which shows function description as tooltip at function list.
- hoofli star:3 Generate PlantUML diagrams from Chrome or Firefox network inspections.
- hugo Fast and Modern Static Website Engine.
- protoncheck star:3 ProtonMail module for waybar/polybar/yabar/i3blocks.
Resources
Where to discover new Go libraries.
Benchmarks
- go-web-framework-benchmark star:1688 Go web framework benchmark.
- go-http-routing-benchmark star:1570 Go HTTP request router benchmark and comparison.
- go_serialization_benchmarks star:1316 Benchmarks of Go serialization methods.
- skynet star:1010 Skynet 1M threads microbenchmark.
- speedtest-resize star:215 Compare various Image resize algorithms for the Go language.
- go-benchmarks star:143 Few miscellaneous Go microbenchmarks. Compare some language features to alternative approaches.
- gospeed star:109 Go micro-benchmarks for calculating the speed of language constructs.
- autobench star:92 Framework to compare the performance between different Go versions.
- golang-sql-benchmark star:61 Collection of benchmarks for popular Go database/SQL utilities.
- gocostmodel star:57 Benchmarks of common basic operations for the Go language.
- kvbench star:24 Key/Value database benchmark.
- go-ml-benchmarks star:23 benchmarks for machine learning inference in Go.
- go-benchmark-app star:22 Powerful HTTP-benchmark tool mixed with Аb, Wrk, Siege tools. Gathering statistics and various parameters for benchmarks and comparison results.
- go-json-benchmark star:6 Go JSON benchmark.
Conferences
- Capital Go Washington, D.C., USA.
- dotGo Paris, France.
- GoCon Tokyo, Japan.
- GoDays Berlin, Germany.
- GoLab Florence, Italy.
- GopherChina Shanghai, China.
- GopherCon Denver, USA.
- GopherCon Australia Sydney, Australia.
- GopherCon Brazil Florianópolis, Brazil.
- GopherCon Europe Berlin, Germany.
- GopherCon India Pune, India.
- GopherCon Israel Tel Aviv, Israel.
- GopherCon Russia Moscow, Russia.
- GopherCon Singapore Mapletree Business City, Singapore.
- GopherCon UK London, UK.
- GopherCon Vietnam Ho Chi Minh City, Vietnam.
- GoWest Conference Lehi, USA.
E-Books
E-books for purchase
- 100 Go Mistakes: How to Avoid Them
- Build an Orchestrator in Go
- Continuous Delivery in Go This practical guide to continuous delivery shows you how to rapidly establish an automated pipeline that will improve your testing, code quality, and final product.
- For the Love of Go An introductory book for Go beginners.
- Know Go: Generics A guide to understanding and using generics in Go.
- The Power of Go: Tools A guide to writing command-line tools in Go.
- Writing A Compiler In Go
- Writing An Interpreter In Go Book that introduces dozens of techniques for writing idiomatic, expressive, and efficient Go code that avoids common pitfalls.
Free e-books
- A Go Developer's Notebook
- An Introduction to Programming in Go
- Build Web Application with Golang
- Building Web Apps With Go
- Go 101 A book focusing on Go syntax/semantics and all kinds of details.
- Go Bootcamp
- GoBooks star:12377 A curated list of Go books.
- How To Code in Go eBook A 600 page introduction to Go aimed at first time developers.
- Go Succinctly star:22 in Persian.
- Learning Go
- Network Programming With Go
- Practical Go Lessons
- Spaceship Go A Journey to the Standard Library
- The Go Programming Language
- The Golang Standard Library by Example (Chinese)
- Web Application with Go the Anti-Textbook
Gophers
- Free Gophers Pack star:2491 Gopher graphics pack by Maria Letta with illustrations and emotional characters in vector and raster.
- gopher-logos star:105 adorable gopher logos.
- Go-gopher-Vector star:51 Go gopher Vector Data [.ai, .svg].
- gopher-stickers
- gophericons
- gophers star:2777 Free gophers.
- gophers star:2637 Gopher artworks by Ashley McNamara.
- gopherize.me star:577 Gopherize yourself.
- gophers star:102 Gopher amigurumi toy pattern.
- gophers star:56 random gopher graphics.
- gophers star:17 Gophers by Aurélie Vache.
Meetups
- Basel Go Meetup
- Belfast Gophers
- Belgrade Golang Meetup
- Berlin Golang
- Brisbane Gophers
- Canberra Gophers
- Go Language NYC
- Go London User Group
- Go Remote Meetup
- Go Toronto
- Go User Group Atlanta
- GoBandung
- GoBridge, San Francisco, CA
- GoCracow - Krakow, Poland
- GoJakarta
- Golang Amsterdam
- Golang Argentina
- Golang Athens
- Golang Baltimore, MD
- Golang Bangalore
- Golang Belo Horizonte - Brazil
- Golang Boston
- Golang Bulgaria
- Golang Cardiff, UK
- Golang Copenhagen
- Golang Curitiba - Brazil
- Golang DC, Arlington, VA
- Golang Dorset, UK
- Golang Estonia
- Golang Gurgaon, India
- Golang Hamburg - Germany
- Golang Israel
- Golang Kathmandu
- Golang Korea
- Golang Lima - Peru
- Golang Lyon
- Golang Marseille
- Golang Melbourne
- Golang Mountain View
- Golang North East
- Golang Paris
- Golang Poland
- Golang Pune
- Golang Singapore
- Golang Stockholm
- Golang Sydney, AU
- Golang São Paulo - Brazil
- Golang Taipei
- Golang Thessaloniki
- Golang Turkey
- Golang Vancouver, BC
- Golang Vienna, Austria
- Golang Казань
- Golang Москва
- Golang Питер
- GoSF - San Francisco, CA
- Istanbul Golang
- Seattle Go Programmers
- Ukrainian Golang User Groups
- Utah Go User Group
- Women Who Go - San Francisco, CA
Add the group of your city/country here (send PR)
Style Guides
Social Media
Websites
- awesome-awesomeness star:29032 List of other amazingly awesome lists.
- Awesome Remote Job star:22329 Curated list of awesome remote jobs. A lot of them are looking for Go hackers.
- Awesome Golang Workshops star:466 A curated list of awesome golang workshops.
- golang-graphics star:138 Collection of Go images, graphics, and art.
- golang-nuts Go mailing list.
- Google Plus Community The Google+ community for #golang enthusiasts.
- Gopher Community Chat Join Our New Slack Community For Gophers (Understand how it came).
- Gophercises Free coding exercises for budding gophers.
- gowalker.org Go Project API documentation.
- json2go Advanced JSON to Go struct conversion - online tool.
- justforfunc Youtube channel dedicated to Go programming language tips and tricks, hosted by Francesc Campoy @francesc.
- Learn Go Programming Learn Go concepts with illustrations.
- gocryforhelp star:40 Collection of Go projects that needs help. Good place to start your open-source way in Go.
- godoc.org Documentation for open source Go packages.
- Golang Developer Jobs Developer Jobs exclusivly for Golang related Roles.
- Golang Flow Post Updates, News, Packages and more.
- Golang News Links and news about Go programming.
- Golang Resources A curation of the best articles, exercises, talks and videos to learn Go.
- awesome-go-extra star:20 Parse awesome-go README file and generate a new README file with repo info.
- Code with Mukesh Software Engineer and Blogs @ codewithmukesh.com.
- Coding Mystery Solve exciting escape-room-inspired programming challenges using Go.
- CodinGame Learn Go by solving interactive tasks using small games as practical examples.
- Go Blog The official Go blog.
- Go Code Club A group of Gophers read and discuss a different Go project every week.
- Go Community on Hashnode Community of Gophers on Hashnode.
- Go Forum Forum to discuss Go.
- Go Projects List of projects on the Go community wiki.
- Go Proverbs Go Proverbs by Rob Pike.
- Go Report Card A report card for your Go package.
- go.dev A hub for Go developers.
- Awesome Go @LibHunt Your go-to Go Toolbox.
- Made with Golang
- r/Golang News about Go.
- studygolang The community of studygolang in China.
- Trending Go repositories on GitHub today Good place to find new Go libraries.
- TutorialEdge - Golang
Tutorials
- Build web application with Golang star:40412 Golang ebook intro how to build a web app with golang.
- Building and Testing a REST API in Go with Gorilla Mux and PostgreSQL We’ll write an API with the help of the powerful Gorilla Mux.
- Building Go Web Applications and Microservices Using Gin Get familiar with Gin and find out how it can help you reduce boilerplate code and build a request handling pipeline.
- Caching Slow Database Queries How to cache slow database queries.
- Canceling MySQL How to cancel MySQL queries.
- Go Cheat Sheet star:6587 Go's reference card.
- Go database/sql tutorial Introduction to database/sql.
- Go Language Tutorial Learn Go language Tutorial.
- Go Tutorial Learn Go programming.
- Ethereum Development with Go star:1393 A little e-book on Ethereum Development with Go.
- Games With Go A video series teaching programming and game development.
- Go By Example Hands-on introduction to Go using annotated example programs.
- 50 Shades of Go Traps, Gotchas, and Common Mistakes for New Golang Devs.
- A Guide to Golang E-Commerce Building a Golang site for e-commerce (demo included).
- A Tour of Go Interactive tour of Go.
- Design Patterns in Go star:77 Collection of programming design patterns implemented in Go.
- Debugged.it Go patterns star:5 Advanced Go patterns with ready-to-run examples.
- Go WebAssembly Tutorial - Building a Simple Calculator
- go-patterns star:19318 Curated list of Go design patterns, recipes and idioms.
- Learn Go with TDD star:17769 Learn Go with test-driven development.
- Learning Go by examples Serie of article in order to learn Golang language by concrete applications as example.
- Learning Golang - From zero to hero Getting started with golang for beginner.
- package main YouTube channel about Programming in Go.
- Programming with Google Go Coursera Specialization to learn about Go from scratch.
- Saving a Third of Our Memory by Re-ordering Go Struct Fields How inefficient field ordering in Go structs.
- Learn Go with 1000+ Exercises star:13409 Learn Go with thousands of examples, exercises, and quizzes.
- Golang for Node.js Developers star:3018 Examples of Golang compared to Node.js for learning.
- Golang Tutorial Guide A List of Free Courses to Learn the Go Programming Language.
- Golangbot Tutorials to get started with programming in Go.
- GolangCode Collection of code snippets and tutorials to help tackle every day issues.
- GopherSnippets Code snippets with tests and testable examples for the Go programming language.
- Gosamples Collection of code snippets that let you solve everyday code problems.
- Hackr.io Learn Go from the best online golang tutorials submitted & voted by the golang programming community.
- How to Benchmark: dbq vs sqlx vs GORM Learn how to benchmark in Go. As a case-study, we will benchmark dbq, sqlx and GORM.
- How To Deploy a Go Web Application with Docker Learn how to use Docker for Go development and how to build production Docker images.
- How to Use Godog for Behavior-driven Development in Go Get started with Godog — a Behavior-driven development framework for building and testing Go applications.
- go-clean-template star:2973 Clean Architecture template for Golang services.
- goapp star:467 An opinionated guideline to structure & develop a Go web application/service.
- The world’s easiest introduction to WebAssembly with Golang
- Working with Go star:1159 Intro to go for experienced programmers.
- Your basic Go Huge collection of tutorials and how to's.