Audio and Music
- flac (⭐282) - Native Go FLAC encoder/decoder with support for FLAC streams.
- Oto (⭐1.4k) - A low-level library to play sound on multiple platforms.
Authentication and OAuth
- gologin (⭐1.7k) - chainable handlers for login with OAuth1 and OAuth2 authentication providers.
- gorbac (⭐1.5k) - provides a lightweight role-based access control (RBAC) implementation in Golang.
- goth (⭐4.8k) - provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.
- jwt (⭐346) - Lightweight JSON Web Token (JWT) library.
- jwt-auth (⭐231) - JWT middleware for Golang http servers with many configuration options.
- loginsrv (⭐1.9k) - JWT login microservice with pluggable backends such as OAuth2 (Github), htpasswd, osiam.
- otpgo (⭐65) - Time-Based One-Time Password (TOTP) and HMAC-Based One-Time Password (HOTP) library for Go.
- paseto (⭐788) - Golang implementation of Platform-Agnostic Security Tokens (PASETO).
- session (⭐114) - Go session management for web servers (including support for Google App Engine - GAE).
- sessions (⭐76) - Dead simple, highly performant, highly customizable sessions service for go http servers.
- sessionup (⭐124) - Simple, yet effective HTTP session management and identification package.
Blockchain
- solana-go (⭐526) - Go library to interface with Solana JSON RPC and WebSocket interfaces.
- tendermint (⭐5.6k) - High-performance middleware for transforming a state machine written in any programming language into a Byzantine Fault Tolerant replicated state machine using the Tendermint consensus and blockchain protocols.
Bot Building
- echotron (⭐311) - An elegant and concurrent library for Telegram Bots in Go.
- ephemeral-roles (⭐85) - A Discord bot for managing ephemeral roles based upon voice channel member presence.
- go-joe - A general-purpose bot library inspired by Hubot but written in Go.
- Kelp (⭐1.1k) - 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.
- larry (⭐155) - Larry 🐦 is a really simple Twitter bot generator that tweets random repositories from Github built in Go.
- slack-bot (⭐159) - Ready to use Slack Bot for lazy developers: Custom commands, Jenkins, Jira, Bitbucket, Github...
- tbot (⭐350) - Telegram bot server with API similar to net/http.
- telego (⭐338) - Telegram Bot API library for Golang with full one-to-one API implementation.
- Tenyks (⭐175) - Service oriented IRC bot using Redis and JSON for messaging.
Build Automation
- 1build (⭐221) - Command line tool to frictionlessly manage project-specific commands.
- anko (⭐36) - Simple application watcher for multiple programming languages.
- gaper (⭐80) - Builds and restarts a Go project when it crashes or some watched file changes.
- gilbert - Build system and task runner for Go projects.
- mage (⭐3.8k) - Mage is a make/rake-like build tool using Go.
Advanced Console UIs
- asciigraph (⭐2.4k) - Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
- cfmt (⭐101) - Contextual fmt inspired by bootstrap color classes.
- cfmt (⭐62) - Simple and convenient formatted stylized output fully compatible with fmt library.
- chalk (⭐442) - Intuitive package for prettifying terminal/console output.
- ctc (⭐46) - The non-invasive cross-platform terminal color library does not need to modify the Print method.
- go-ataman (⭐16) - Go library for rendering ANSI colored text templates in terminals.
- gocui (⭐9.6k) - Minimalist Go library aimed at creating Console User Interfaces.
- gookit/color (⭐1.4k) - Terminal color rendering tool library, support 16 colors, 256 colors, RGB color rendering output, compatible with Windows.
- marker (⭐46) - Easiest way to match and mark strings for colorful terminal outputs.
- mpb (⭐2.2k) - Multi progress bar for terminal applications.
- pterm (⭐4.5k) - A library to beautify console output on every platform with many combinable components.
- spinner (⭐2.2k) - Go package to easily provide a terminal spinner with options.
- tabby (⭐344) - A tiny library for super simple Golang tables.
- table (⭐49) - Small library for terminal color based tables .
- tabular (⭐76) - Print ASCII tables from command line utilities without the need to pass large sets of data to the API.
- termbox-go (⭐4.6k) - Termbox is a library for creating cross-platform text-based interfaces.
- termenv (⭐1.6k) - Advanced ANSI style & color support for your terminal applications.
- uitable (⭐721) - Library to improve readability in terminal apps using tabular data.
- yacspin (⭐427) - Yet Another CLi Spinner package, for working with terminal spinners.
Standard CLI
- argparse (⭐584) - Command line argument parser inspired by Python's argparse module.
- argv (⭐40) - Go library to split command line string as arguments array using the bash syntax.
- cli (⭐716) - Feature-rich and easy to use command-line package based on golang struct tags.
- cli (⭐125) - Simple and complete API for building command line interfaces in Go.
- climax (⭐213) - Alternative CLI with "human face", in spirit of Go command.
- clîr (⭐165) - A Simple and Clear CLI library. Dependency free.
- cmd (⭐41) - Extends the standard
flag
package to support sub commands and more in idiomatic way.
- cmdr (⭐128) - A POSIX/GNU style, getopt-like command-line UI Go library.
- commandeer (⭐172) - Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags.
- complete (⭐909) - Write bash completions in Go + Go command bash completion.
- Dnote (⭐2.6k) - A simple command line notebook with multi-device sync.
- elvish (⭐5.2k) - An expressive programming language and a versatile interactive shell.
- env (⭐108) - Tag-based environment configuration for structs.
- flag (⭐130) - Simple but powerful command line option parsing library for Go supporting subcommand.
- flaggy (⭐843) - A robust and idiomatic flags package with excellent subcommand support.
- flagvar (⭐43) - A collection of flag argument types for Go's standard
flag
package.
- gocmd (⭐67) - Go library for building command line applications.
- hiboot cli (⭐180) - cli application framework with auto configuration and dependency injection.
- job (⭐140) - JOB, make your short-term command as a long-term job.
- kingpin (⭐3.4k) - Command line and flag parser supporting sub commands (superseded by
kong
; see below).
- liner (⭐1k) - Go readline-like library for command-line interfaces.
- mow.cli (⭐871) - Go library for building CLI applications with sophisticated flag and argument parsing and validation.
- pflag (⭐2.3k) - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
- sand (⭐24) - Simple API for creating interpreters and so much more.
- subcmd (⭐8) - Another approach to parsing and running subcommands. Works alongside the standard
flag
package.
- ts (⭐20) - Timestamp convert & compare tool.
- urfave/cli (⭐21k) - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).
- wlog (⭐64) - Simple logging interface that supports cross-platform color and concurrency.
Configuration
- cleanenv (⭐1.4k) - Minimalistic configuration reader (from files, ENV, and wherever you want).
- config (⭐334) - Cloud native application configuration. Bind ENV to structs in only two lines.
- config (⭐268) - JSON or YAML configuration wrapper with environment variables and flags parsing.
- configuration (⭐88) - Library for initializing configuration structs from env variables, files, flags and 'default' tag.
- configure (⭐56) - Provides configuration through multiple sources, including JSON, flags and environment variables.
- configuro (⭐91) - opinionated configuration loading & validation framework from ENV and Files focused towards 12-Factor compliant applications.
- confita (⭐485) - Load configuration in cascade from multiple backends into a struct.
- conflate (⭐32) - 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 (⭐4.2k) - Parse environment variables to Go structs (with defaults).
- env (⭐46) - A lightweight package for loading environment variables into structs.
- envcfg (⭐102) - Un-marshaling environment variables to Go structs.
- envh (⭐98) - Helpers to manage environment variables.
- fig (⭐327) - Tiny library for reading configuration from a file and from environment variables (with validation & defaults).
- gcfg (⭐166) - read INI-style configuration files into Go structs; supports user-defined types and subsections.
- genv (⭐36) - Read environment variables easily with dotenv support.
- go-aws-ssm (⭐54) - Go package that fetches parameters from AWS System Manager - Parameter Store.
- go-conf (⭐11) - Simple library for application configuration based on annotated structs. It supports reading the configuration from environment variables, config files and command line parameters.
- go-ini (⭐11) - A Go package that marshals and unmarshals INI-files.
- go-ssm-config (⭐18) - Go utility for loading configuration parameters from AWS SSM (Parameter Store).
- go-up (⭐43) - A simple configuration library with recursive placeholders resolution and no magic.
- goConfig (⭐3) - Parses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.
- godotenv (⭐7.3k) - Go port of Ruby's dotenv library (Loads environment variables from
.env
).
- gone/jconf (⭐47) - Modular JSON configuration. Keep you config structs along with the code they configure and delegate parsing to submodules without sacrificing full config serialization.
- gonfig (⭐7) - Tag-based configuration parser which loads values from different providers into typesafe struct.
- gookit/config (⭐516) - application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge.
- hjson (⭐318) - Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.
- hocon (⭐69) - Configuration library for working with the HOCON(a human-friendly JSON superset) format, supports features like environment variables, referencing other values, comments and multiple files.
- ingo (⭐36) - Flags persisted in an ini-like config file.
- ini (⭐15) - INI Parser & Write Library, Unmarshal to Struct,Marshal to Json,Write File,watch file.
- joshbetz/config (⭐217) - Small configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP.
- koanf (⭐2.3k) - Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line.
- konfig (⭐644) - Composable, observable and performant config handling for Go for the distributed processing era.
- mini (⭐35) - Golang package for parsing ini-style configuration files.
- onion (⭐115) - Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP.
- piper (⭐7) - Viper wrapper with config inheritance and key generation.
- swap (⭐8) - Instantiate/configure structs recursively, based on build environment. (YAML, TOML, JSON and env).
- typenv (⭐9) - Minimalistic, zero dependency, typed environment variables library.
- uConfig (⭐70) - Lightweight, zero-dependency, and extendable configuration management.
Continuous Integration
- CDS (⭐4.4k) - Enterprise-Grade CI/CD and DevOps Automation Open Source Platform.
- drone (⭐31k) - Drone is a Continuous Integration platform built on Docker, written in Go.
- duci (⭐74) - A simple ci server no needs domain specific languages.
- gomason (⭐60) - Test, Build, Sign, and Publish your go binaries from a clean workspace.
- goveralls (⭐773) - Go integration for Coveralls.io continuous code coverage tracking system.
- overalls (⭐114) - Multi-Package go project coverprofile for tools like goveralls.
CSS Preprocessors
Bit-packing and Compression
- bingo (⭐30) - Fast, zero-allocation, lexicographical-order-preserving packing of native types to bytes.
- binpacker (⭐218) - Binary packer and unpacker helps user build custom binary stream.
- bit (⭐155) - Golang set data structure with bonus bit-twiddling functions.
Bit Sets
- bitmap (⭐265) - Dense, zero-allocation, SIMD-enabled bitmap/bitset in Go.
Bloom and Cuckoo Filters
- bloomfilter (⭐16) - Yet another Bloomfilter implementation in Go, compatible with Java's Guava library.
- boomfilters (⭐1.6k) - Probabilistic data structures for processing continuous, unbounded streams.
Maps
- cmap (⭐82) - a thread-safe concurrent map for go, support using
interface{}
as key and auto scale up shards.
Miscellaneous Data Structures and Algorithms
- count-min-log (⭐66) - Go implementation Count-Min-Log sketch: Approximately counting with approximate counters (Like Count-Min sketch but using less memory).
- go-rquad (⭐129) - Region quadtrees with efficient point location and neighbour finding.
- gota (⭐2.9k) - Implementation of dataframes, series, and data wrangling methods for Go.
- hide (⭐59) - ID type with marshalling to/from hash to prevent sending IDs to clients.
- hilbert (⭐275) - Go package for mapping values to and from space-filling curves, such as Hilbert and Peano curves.
- hyperloglog (⭐903) - HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction.
Text Analysis
- levenshtein (⭐83) - Levenshtein distance and similarity metrics with customizable edit costs and Winkler-like bonus for common prefix.
- mspm (⭐24) - Multi-String Pattern Matching Algorithm for information retrieval.
- parsefields (⭐8) - Tools for parse JSON-like logs for collecting unique fields and events.
Trees
- treap (⭐25) - Persistent, fast ordered map using tree heaps.
Caches
- cache (⭐167) - In-memory key:value store with expiration time, 0 dependencies, <100 LoC, 100% coverage.
- cache2go (⭐2k) - In-memory key:value cache which supports automatic invalidation based on timeouts.
Databases Implemented in Go
- Coffer (⭐37) - Simple ACID key-value database that supports transactions.
- column (⭐1.4k) - High-performance, columnar, embeddable in-memory store with bitmap indexing and transactions.
- Databunker (⭐1.2k) - Personally identifiable information (PII) storage service built to comply with GDPR and CCPA.
- dgraph (⭐20k) - Scalable, Distributed, Low Latency, High Throughput Graph Database.
- eliasdb (⭐987) - Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.
- godis (⭐3.2k) - A Golang implemented high-performance Redis server and cluster.
- hare (⭐85) - A simple database management system that stores each table as a text file of line-delimited JSON.
- immudb (⭐8.4k) - immudb is a lightweight, high-speed immutable database for systems and applications written in Go.
- influxdb (⭐27k) - Scalable datastore for metrics, events, and real-time analytics.
- ledisdb (⭐4.1k) - Ledisdb is a high performance NoSQL like Redis based on LevelDB.
- Milvus (⭐26k) - Milvus is a vector database for embedding management, analytics and search.
- moss (⭐941) - Moss is a simple LSM key-value storage engine written in 100% Go.
- piladb (⭐202) - Lightweight RESTful database engine based on stack data structures.
- rosedb (⭐4.2k) - An embedded k-v database based on LSM+WAL, supports string, list, hash, set, zset.
- rqlite (⭐15k) - The lightweight, distributed, relational database built on SQLite.
- tidb (⭐36k) - TiDB is a distributed SQL database. Inspired by the design of Google F1.
- Vasto (⭐255) - A distributed high-performance key-value store. On Disk. Eventual consistent. HA. Able to grow or shrink without service interruption.
- VictoriaMetrics (⭐10k) - fast, resource-effective and scalable open source time series database. May be used as long-term remote storage for Prometheus. Supports PromQL.
Database Schema Migration
- atlas (⭐4.7k) - A Database Toolkit. A CLI designed to help companies better work with their data.
- avro (⭐45) - Discover SQL schemas and convert them to AVRO schemas. Query SQL records into AVRO bytes.
- go-fixtures (⭐28) - Django style fixtures for Golang's excellent built-in database/sql library.
- goose (⭐5.3k) - Database migration tool. You can manage your database's evolution by creating incremental SQL or Go scripts.
- migrator (⭐24) - MySQL database migrator designed to run migrations to your features and manage database schema update with intuitive go code.
- schema (⭐30) - Library to embed schema migrations for database/sql-compatible databases inside your Go binaries.
- skeema (⭐1.2k) - Pure-SQL schema management system for MySQL, with support for sharding and external online schema change tools.
- soda (⭐1.4k) - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
- sql-migrate (⭐3.1k) - Database migration tool. Allows embedding migrations into the application using go-bindata.
- sqlize (⭐75) - Database migration generator. Allows generate sql migration from model and existing sql by differ them.
Database Tools
- dbbench (⭐96) - Database benchmarking tool with support for several databases and scripts.
- kingshard (⭐6.3k) - kingshard is a high performance proxy for MySQL powered by Golang.
- octillery (⭐185) - Go package for sharding databases ( Supports every ORM or raw SQL ).
- prep (⭐33) - Use prepared SQL statements without changing your code.
- pREST (⭐4k) - Simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new.
- rwdb (⭐18) - rwdb provides read replica capability for multiple database servers setup.
- vitess (⭐18k) - vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.
SQL Query Builders
- bqb (⭐118) - Lightweight and easy to learn query builder.
- dbq (⭐389) - Zero boilerplate database operations for Go.
- Dotsql (⭐707) - Go library that helps you keep sql files in one place and use them with ease.
- godbal (⭐59) - Database Abstraction Layer (dbal) for go. Support SQL builder and get result easily.
- gosql (⭐30) - SQL Query builder with better null values support.
- igor (⭐120) - Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax.
- jet (⭐1.9k) - Framework for writing type-safe SQL queries in Go, with ability to easily convert database query result into desired arbitrary object structure.
- ormlite (⭐12) - Lightweight package containing some ORM-like features and helpers for sqlite databases.
- ozzo-dbx (⭐618) - Powerful data retrieval methods as well as DB-agnostic query building capabilities.
- qry (⭐34) - Tool that generates constants from files with raw SQL queries.
- sq (⭐195) - Type-safe SQL builder and struct mapper for Go.
- sqrl (⭐266) - SQL query builder, fork of Squirrel with improved performance.
- Squalus - Thin layer over the Go SQL package that makes it easier to perform queries.
- xo (⭐3.5k) - Generate idiomatic Go code for databases based on existing schema definitions or custom queries supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server.
Date and Time
- carbon (⭐4.4k) - A simple, semantic and developer-friendly golang package for datetime.
- carbon (⭐771) - Simple Time extension with a lot of util methods, ported from PHP Carbon library.
- cronrange (⭐18) - Parses Cron-style time range expressions, checks if the given time is within any ranges.
- date (⭐122) - Augments Time for working with dates, date ranges, time spans, periods, and time-of-day.
- feiertage (⭐45) - Set of functions to calculate public holidays in Germany, incl. specialization on the states of Germany (Bundesländer). Things like Easter, Pentecost, Thanksgiving...
- go-week (⭐9) - An efficient package to work with ISO8601 week dates.
- kair (⭐25) - Date and Time - Golang Formatting Library.
- timespan (⭐84) - For interacting with intervals of time, defined as a start time and a duration.
- timeutil (⭐193) - Useful extensions (Timedelta, Strftime, ...) to the golang's time package.
Distributed Systems
- arpc (⭐854) - More effective network communication, support two-way-calling, notify, broadcast.
- celeriac (⭐72) - Library for adding support for interacting and monitoring Celery workers, tasks and events in Go.
- dht (⭐295) - BitTorrent Kademlia DHT implementation.
- dot (⭐83) - distributed sync using operational transformation/OT.
- dragonboat (⭐4.9k) - A feature complete and high performance multi-group Raft library in Go.
- drmaa (⭐47) - Job submission library for cluster schedulers based on the DRMAA standard.
- dynamolock - DynamoDB-backed distributed locking implementation.
- emitter-io (⭐3.7k) - High performance, distributed, secure and low latency publish-subscribe platform built with MQTT, Websockets and love.
- failured (⭐11) - adaptive accrual failure detector for distributed systems.
- gleam (⭐3.3k) - Fast and scalable distributed map/reduce system written in pure Go and Luajit, combining Go's high concurrency with Luajit's high performance, runs standalone or distributed.
- glow (⭐3.2k) - Easy-to-Use scalable distributed big data processing, Map-Reduce, DAG execution, all in pure Go.
- gmsec (⭐24) - A Go distributed systems development framework.
- go-doudou (⭐1.3k) - 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.
- go-health (⭐731) - Library for enabling asynchronous dependency health checks in your service.
- go-kit (⭐26k) - Microservice toolkit with support for service discovery, load balancing, pluggable transports, request tracking, etc.
- go-pdu (⭐46) - A decentralized identity-based social network.
- go-sundheit (⭐520) - A library built to provide support for defining async service health checks for golang services.
- go-zero (⭐27k) - A web and rpc framework. It's born to ensure the stability of the busy sites with resilient design. Builtin goctl greatly improves the development productivity.
- gorpc (⭐685) - Simple, fast and scalable RPC library for high load.
- grpc-go (⭐20k) - The Go language implementation of gRPC. HTTP/2 based RPC.
- hprose (⭐1.3k) - Very newbility RPC Library, support 25+ languages now.
- Kratos (⭐22k) - A modular-designed and easy-to-use microservices framework in Go.
- lura (⭐6k) - Ultra performant API Gateway framework with middlewares.
- micro (⭐12k) - A distributed systems runtime for the cloud and beyond.
- NATS (⭐14k) - Lightweight, high performance messaging system for microservices, IoT, and cloud native systems.
- outboxer (⭐151) - Outboxer is a go library that implements the outbox pattern.
- pglock - PostgreSQL-backed distributed locking implementation.
- pjrpc - Golang JSON-RPC Server-Client with Protobuf spec.
- raft (⭐7.7k) - Golang implementation of the Raft consensus protocol, by HashiCorp.
- resgate - Realtime API Gateway for building REST, real time, and RPC APIs, where all clients are synchronized seamlessly.
- ringpop-go (⭐810) - Scalable, fault-tolerant application-layer sharding for Go applications.
- rpcx (⭐7.9k) - Distributed pluggable RPC service framework like alibaba Dubbo.
Dynamic DNS
- DDNS (⭐241) - Personal DDNS client with Digital Ocean Networking DNS as backend.
- dyndns - Background Go process to regularly and automatically check your IP Address and make updates to (one or many) Dynamic DNS records for Google domains whenever your address changes.
- GoDNS (⭐1.4k) - A dynamic DNS client tool, supports DNSPod & HE.net, written in Go.
Email
- go-message (⭐347) - Streaming library for the Internet Message Format and mail messages.
- go-simple-mail (⭐576) - Very simple package to send emails with SMTP Keep Alive and two timeouts: Connect and Send.
- hermes (⭐2.7k) - Golang package that generates clean, responsive HTML e-mails.
- smtpmock (⭐107) - Lightweight configurable multithreaded fake SMTP server. Mimic any SMTP behaviour for your test environment.
Embeddable Scripting Languages
- cel-go (⭐2k) - Fast, portable, non-Turing complete expression evaluation with gradual typing.
- ecal (⭐37) - A simple embeddable scripting language which supports concurrent event processing.
- expr (⭐5.3k) - Expression evaluation engine for Go: fast, non-Turing complete, dynamic typing, static typing.
- gval (⭐691) - A highly customizable expression language written in Go.
- metacall (⭐1.5k) - Cross-platform Polyglot Runtime which supports NodeJS, JavaScript, TypeScript, Python, Ruby, C#, WebAssembly, Java, Cobol and more.
- ngaro (⭐26) - Embeddable Ngaro VM implementation enabling scripting in Retro.
Error Handling
- emperror (⭐326) - Error handling tools and best practices for Go libraries and applications.
- eris (⭐1.4k) - A better way to handle, trace, and log errors in Go. Compatible with the standard error library and github.com/pkg/errors.
- errlog (⭐456) - Hackable package that determines responsible source code for an error (and some other fast-debugging features). Pluggable to any logger in-place.
- errors (⭐191) - Drop-in replacement for the standard library errors package and github.com/pkg/errors. Provides various error handling primitives.
- errors (⭐6) - Simple golang error handling with classification primitives.
- errors (⭐7) - The most simple error wrapper with awesome performance and minimal memory overhead.
- errorx (⭐1.1k) - A feature rich error package with stack traces, composition of errors and more.
- Falcon (⭐10) - A Simple Yet Highly Powerful Package For Error Handling.
File Handling
- afs (⭐282) - Abstract File Storage (mem, scp, zip, tar, cloud: s3, gs) for Go.
- baraka (⭐53) - A library to process http file uploads easily.
- bigfile (⭐247) - A file transfer system, support to manage files with http api, rpc call and ftp client.
- checksum (⭐97) - Compute message digest, like MD5, SHA256, SHA1, CRC or BLAKE2s, for large files.
- flop (⭐34) - File operations library which aims to mirror feature parity with GNU cp.
- gdu (⭐3.1k) - Disk usage analyzer with console interface.
- go-exiftool (⭐214) - Go bindings for ExifTool, the well-known library used to extract as much metadata as possible (EXIF, IPTC, ...) from files (pictures, PDF, office, ...).
- gut/yos (⭐28) - Simple and reliable package for file operations like copy/move/diff/list on files, directories and symbolic links.
- higgs (⭐18) - A tiny cross-platform Go library to hide/unhide files and directories.
- notify (⭐874) - File system event notification library with simple API, similar to os/signal.
- opc (⭐75) - Load Open Packaging Conventions (OPC) files for Go.
- pathtype (⭐13) - Treat paths as their own type instead of using strings.
- skywalker (⭐96) - Package to allow one to concurrently go through a filesystem with ease.
- vfs (⭐267) - A pluggable, extensible, and opinionated set of filesystem functionality for Go across a number of filesystem types such as os, S3, and GCS.
Financial
- currency (⭐482) - Handles currency amounts, provides currency information and formatting.
- currency (⭐58) - High performant & accurate currency computation package.
- go-finance (⭐161) - Library of financial functions for time value of money (annuities), cash flow, interest rate conversions, bonds and depreciation calculations.
- go-finance (⭐24) - Module to fetch exchange rates, check VAT numbers via VIES and check IBAN bank account numbers.
- go-finnhub (⭐84) - 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.
- ofxgo (⭐128) - Query OFX servers and/or parse the responses (with example command-line client).
- payme (⭐28) - QR code generator (ASCII & PNG) for SEPA payments.
- sleet (⭐133) - One unified interface for multiple Payment Service Providers (PsP) to process online payment.
- techan (⭐781) - Technical analysis library with advanced market analysis and trading strategies.
- transaction (⭐127) - Embedded transactional database of accounts, running in multithreaded mode.
- vat (⭐110) - VAT number validation & EU VAT rates.
Forms
- binding (⭐795) - Binds form and JSON data from net/http Request to struct.
- conform (⭐316) - Keeps user input in check. Trims, sanitizes & scrubs data based on struct tags.
- form (⭐681) - Decodes url.Values into Go value(s) and Encodes Go value(s) into url.Values. Dual Array and Full map support.
- forms (⭐137) - Framework-agnostic library for parsing and validating form/JSON data which supports multipart forms and files.
- qs (⭐70) - Go module for encoding structs into URL query parameters.
- queryparam (⭐19) - Decode
url.Values
into usable struct values of standard or custom types.
Functional
- fpGo (⭐336) - Monad, Functional Programming features for Golang.
- gofp (⭐144) - A lodash like powerful utility library for Golang.
Game Development
- engo (⭐1.7k) - Engo is an open-source 2D game engine written in Go. It follows the Entity-Component-System paradigm.
- go3d (⭐286) - Performance oriented 2D/3D math package for Go.
- goworld (⭐2.5k) - Scalable game server engine, featuring space-entity framework and hot-swapping.
- nano (⭐2.6k) - Lightweight, facility, high performance golang based game server framework.
- Pitaya (⭐2.1k) - Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK.
- prototype (⭐84) - Cross-platform (Windows/Linux/Mac) library for creating desktop games using a minimal API.
- tile (⭐135) - Data-oriented and cache-friendly 2D Grid library (TileMap), includes pathfinding, observers and import/export.
Generators
- generis (⭐43) - Code generation tool providing generics, free-form macros, conditional compilation and HTML templating.
- gotype (⭐58) - Golang source code parsing, usage like reflect package.
- GoWrap (⭐862) - Generate decorators for Go interfaces using simple templates.
Geographic
- geoserver (⭐85) - geoserver Is a Go Package For Manipulating a GeoServer Instance via the GeoServer REST API.
- osm (⭐330) - Library for reading, writing and working with OpenStreetMap data and APIs.
- pbf (⭐47) - OpenStreetMap PBF golang encoder/decoder.
- S2 geojson (⭐26) - Convert geojson to s2 cells & demonstrating some S2 geometry features on map.
- simplefeatures (⭐113) - simplesfeatures is a 2D geometry library that provides Go types that model geometries, as well as algorithms that operate on them.
- Tile38 (⭐8.8k) - Geolocation DB with spatial index and realtime geofencing.
- WGS84 (⭐111) - Library for Coordinate Conversion and Transformation (ETRS89, OSGB36, NAD83, RGF93, Web Mercator, UTM).
Go Compilers
- f4go (⭐42) - Transpile FORTRAN 77 code to Go code.
Goroutines
- ants (⭐12k) - A high-performance and low-cost goroutine pool in Go.
- artifex (⭐183) - Simple in-memory job queue for Golang using worker-based dispatching.
- async (⭐171) - An alternative sync library for Go (Future, Promise, Locks).
- async (⭐132) - A safe way to execute functions asynchronously, recovering them in case of panic.
- breaker (⭐16) - Flexible mechanism to make execution flow interruptible.
- channelify (⭐28) - Transform your function to return channels for easy and powerful parallel processing.
- concurrency-limiter (⭐17) - Concurrency limiter with support for timeouts , dynamic priority and context cancellation of goroutines.
- conexec (⭐14) - 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.
- execpool (⭐17) - A pool built around exec.Cmd that spins up a given number of processes in advance and attaches stdin and stdout to them when needed. Very similar to FastCGI or Apache Prefork MPM but works for any command.
- go-workers (⭐162) - Easily and safely run workers for large data processing pipelines.
- goccm (⭐66) - Go Concurrency Manager package limits the number of goroutines that allowed to run concurrently.
- gohive (⭐49) - A highly performant and easy to use Goroutine pool for Go.
- gollback (⭐117) - asynchronous simple function utilities, for managing execution of closures and callbacks.
- gowl (⭐63) - 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.
- gowp (⭐487) - gowp is concurrency limiting goroutine pool.
- gpool (⭐88) - manages a resizeable pool of context-aware goroutines to bound concurrency.
- hands (⭐10) - A process controller used to control the execution and return strategies of multiple goroutines.
- Hunch (⭐97) - Hunch provides functions like:
All
, First
, Retry
, Waterfall
etc., that makes asynchronous flow control more intuitive.
- kyoo (⭐46) - Provides an unlimited job queue and concurrent worker pools.
- pond (⭐1.1k) - Minimalistic and High-performance goroutine worker pool written in Go.
- pool (⭐722) - Limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation.
- queue (⭐15) - Gives you a
sync.WaitGroup
like queue group accessibility. Helps you to throttle and limit goroutines, wait for the end of the all goroutines and much more.
- routine (⭐60) - go routine control with context, support: Main, Go, Pool and some useful Executors.
- semaphore (⭐96) - Semaphore pattern implementation with timeout of lock/unlock operations based on channel and context.
- semaphore (⭐165) - Fast resizable semaphore implementation based on CAS (faster than channel-based semaphore implementations).
- stl (⭐29) - Software transactional locks based on Software Transactional Memory (STM) concurrency control mechanism.
- workerpool (⭐1.2k) - Goroutine pool that limits the concurrency of task execution, not the number of tasks queued.
GUI
- app (⭐7.6k) - Package to create apps with GO, HTML and CSS. Supports: MacOS, Windows in progress.
- fyne (⭐23k) - Cross platform native GUIs designed for Go based on Material Design. Supports: Linux, macOS, Windows, BSD, iOS and Android.
- go-sciter (⭐2.6k) - Go bindings for Sciter: the Embeddable HTML/CSS/script engine for modern desktop UI development. Cross platform.
- gowd (⭐416) - Rapid and simple desktop UI development with GO, HTML, CSS and NW.js. Cross platform.
- qt (⭐10k) - Qt binding for Go (support for Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi).
- ui (⭐8.3k) - Platform-native GUI library for Go. Cross platform.
- webview (⭐12k) - Cross-platform webview window with simple two-way JavaScript bindings (Windows / macOS / Linux).
- robotgo (⭐9.1k) - Go Native cross-platform GUI system automation. Control the mouse, keyboard and other.
- systray (⭐3.1k) - Cross platform Go library to place an icon and menu in the notification area.
- trayhost (⭐248) - Cross-platform Go library to place an icon in the host operating system's taskbar.
- zenity (⭐608) - Cross-platform Go library and CLI to create simple dialogs that interact graphically with the user.
Hardware
- arduino-cli (⭐4.1k) - Official Arduino CLI and library. Can run standalone, or be incorporated into larger Go projects.
- emgo (⭐1k) - Go-like language for programming embedded systems (e.g. STM32 MCU).
- ghw (⭐1.6k) - Golang hardware discovery/inspection library.
- joystick (⭐54) - a polled API to read the state of an attached joystick.
- sysinfo (⭐485) - A pure Go library providing Linux OS / kernel / hardware system information.
Images
- bild (⭐3.9k) - Collection of image processing algorithms in pure Go.
- bimg (⭐2.5k) - Small package for fast and efficient image processing using libvips.
- darkroom (⭐224) - An image proxy with changeable storage backends and image processing engines with focus on speed and resiliency.
- draft (⭐574) - Generate High Level Microservice Architecture diagrams for GraphViz using simple YAML syntax.
- gltf (⭐227) - Efficient and robust glTF 2.0 reader, writer and validator.
- go-webp (⭐189) - Library for encode and decode webp pictures, using libwebp.
- gocv (⭐6.1k) - Go package for computer vision using OpenCV 3.3+.
- goimghdr (⭐40) - The imghdr module determines the type of image contained in a file for Go.
- govips (⭐1.1k) - A lightning fast image processing and resizing library for Go.
- gowitness (⭐2.6k) - Screenshoting webpages using go and headless chrome on command line.
- img (⭐151) - Selection of image manipulation tools.
- mergi (⭐216) - Tool & Go library for image manipulation (Merge, Crop, Resize, Watermark, Animate).
- mort (⭐498) - Storage and image processing server written in Go.
- mpo (⭐14) - Decoder and conversion tool for MPO 3D Photos.
- scout (⭐13) - Scout is a standalone open source software solution for DIY video security.
- stegify (⭐1.2k) - Go tool for LSB steganography, capable of hiding any file within an image.
- tga (⭐34) - Package tga is a TARGA image format decoder/encoder.
- webp-server (⭐69) - Simple and minimal image server capable of storing, resizing, converting and caching images.
IoT (Internet of Things)
- devices (⭐264) - Suite of libraries for IoT devices, experimental for x/exp/io.
- eywa (⭐61) - Project Eywa is essentially a connection manager that keeps track of connected devices.
- flogo (⭐2.4k) - Project Flogo is an Open Source Framework for IoT Edge Apps & Integration.
- gatt (⭐1.1k) - Gatt is a Go package for building Bluetooth Low Energy peripherals.
- gobot (⭐8.7k) - Gobot is a framework for robotics, physical computing, and the Internet of Things.
- huego (⭐246) - An extensive Philips Hue client library for Go.
- iot (⭐65) - IoT is a simple framework for implementing a Google IoT Core device.
- mainflux (⭐21) - Industrial IoT Messaging and Device Management Server.
- periph - Peripherals I/O to interface with low-level board facilities.
Job Scheduler
- cheek (⭐117) - A simple crontab like scheduler that aims to offer a KISS approach to job scheduling.
- clockwerk (⭐141) - Go package to schedule periodic jobs using a simple, fluent syntax.
- go-cron (⭐224) - 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.
- gron (⭐1k) - Define time-based tasks using a simple Go API and Gron’s scheduler will run them accordingly.
- gronx (⭐337) - Cron expression parser, task runner and daemon consuming crontab like task list.
- JobRunner (⭐1k) - Smart and featureful cron job scheduler with job queuing and live monitoring built in.
- jobs (⭐494) - Persistent and flexible background jobs library.
- leprechaun (⭐101) - Job scheduler that supports webhooks, crons and classic scheduling.
- sched (⭐27) - A job scheduler with the ability to fast-forward time.
- tasks (⭐224) - An easy to use in-process scheduler for recurring tasks in Go.
JSON
- ajson (⭐208) - Abstract JSON for golang with JSONPath support.
- ask (⭐34) - Easy access to nested values in maps and slices. Works in combination with encoding/json and other packages that "Unmarshal" arbitrary data into Go data-types.
- dynjson (⭐16) - Client-customizable JSON formats for dynamic APIs.
- ej (⭐10) - Write and read JSON from different sources succinctly.
- epoch (⭐13) - Contains primitives for marshaling/unmarshalling Unix timestamp/epoch to/from build-in time.Time type in JSON.
- fastjson (⭐2.1k) - Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection.
- gjo (⭐123) - Small utility to create JSON objects.
- go-jsonerror (⭐15) - Go-JsonError is meant to allow us to easily create json response errors that follow the JsonApi spec.
- gojson (⭐2.6k) - Automatically generate Go (golang) struct definitions from example JSON.
- jscan (⭐82) - High performance zero-allocation JSON iterator.
- json2go (⭐126) - Advanced JSON to Go struct conversion. Provides package that can parse multiple JSON documents and create struct to fit them all.
- jsoncolor (⭐42) - Drop-in replacement for
encoding/json
that outputs colorized JSON.
- jsonf (⭐65) - Console tool for highlighted formatting and struct query fetching JSON.
- jsongo (⭐109) - Fluent API to make it easier to create Json objects.
- jsonhal (⭐14) - Simple Go package to make custom structs marshal into HAL compatible JSON responses.
- jsonic (⭐11) - Utilities to handle and query JSON without defining structs in a type safe manner.
- jzon (⭐12) - JSON library with standard compatible API/behavior.
- kazaam (⭐272) - API for arbitrary transformation of JSON documents.
- mp (⭐47) - Simple cli email parser. It currently takes stdin and outputs JSON.
- OjG (⭐768) - Optimized JSON for Go is a high performance parser with a variety of additional JSON tools including JSONPath.
- omg.jsonparser (⭐5) - Simple JSON parser with validation by condition via golang struct fields tags.
- ujson (⭐73) - Fast and minimal JSON parser and transformer that works on unstructured JSON.
- vjson (⭐39) - Go package for validating JSON objects with declaring a JSON schema with fluent API.
Logging
- distillog (⭐32) - distilled levelled logging (think of it as stdlib + log levels).
- glg (⭐188) - glg is simple and fast leveled logging library for Go.
- glo (⭐15) - PHP Monolog inspired logging facility with identical severity levels.
- go-cronowriter (⭐56) - Simple writer that rotate log files automatically based on current date and time, like cronolog.
- go-log (⭐14) - Simple and configurable Logging in Go, with level, formatters and writers.
- gologger (⭐42) - Simple easy to use log lib for go, logs in Colored Console, Simple Console, File or Elasticsearch.
- gomol (⭐19) - Multiple-output, structured logging for Go with extensible logging outputs.
- gone/log (⭐47) - Fast, extendable, full-featured, std-lib source compatible log library.
- httpretty (⭐384) - Pretty-prints your regular HTTP requests on your terminal for debugging (similar to http.DumpRequest).
- journald (⭐38) - Go implementation of systemd Journal's native API for logging.
- log (⭐10) - An O(1) logging system that allows you to connect one log to multiple writers (e.g. stdout, a file and a TCP connection).
- log (⭐289) - Simple, configurable and scalable Structured Logging for Go.
- log (⭐26) - Structured log interface for Go cleanly separates logging facade from its implementation.
- logex (⭐43) - Golang log lib, supports tracking and level, wrap by standard log lib.
- logmatic (⭐16) - Colorized logger for Golang with dynamic log level configuration.
- logo (⭐11) - Golang logger to different configurable writers.
- logutils (⭐364) - Utilities for slightly better logging in Go (Golang) extending the standard logger.
- logxi (⭐352) - 12-factor app logger that is fast and makes you happy.
- mlog (⭐33) - Simple logging module for go, with 5 levels, an optional rotating logfile feature and stdout/stderr output.
- noodlog (⭐44) - 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.
- onelog (⭐415) - Onelog is a dead simple but very efficient JSON logger. It is the fastest JSON logger out there in all scenarios. Also, it is one of the logger with the lowest allocation.
- ozzo-log (⭐122) - High performance logging supporting log severity, categorization, and filtering. Can send filtered log messages to various targets (e.g. console, network, mail).
- rollingwriter (⭐291) - RollingWriter is an auto-rotate
io.Writer
implementation with multi policies to provide log file rotation.
- seelog (⭐1.6k) - Logging functionality with flexible dispatching, filtering, and formatting.
- spew (⭐5.8k) - Implements a deep pretty printer for Go data structures to aid in debugging.
- stdlog (⭐47) - Stdlog is an object-oriented library providing leveled logging. It is very useful for cron jobs.
- structy/log (⭐5) - A simple to use log system, minimalist but with features for debugging and differentiation of messages.
- tail (⭐2.7k) - Go package striving to emulate the features of the BSD tail program.
- xlog (⭐8) - Plugin architecture and flexible log system for Go, with level ctrl, multiple log target and custom log format.
- xlog (⭐138) - Structured logger for
net/context
aware HTTP handlers with flexible dispatching.
- yell (⭐1) - Yet another minimalistic logging library.
- zap (⭐21k) - Fast, structured, leveled logging in Go.
Machine Learning
- CloudForest (⭐735) - Fast, flexible, multi-threaded ensembles of decision trees for machine learning in pure Go.
- ddt (⭐33) - Dynamic decision tree, create trees defining customizable rules.
- evoli (⭐28) - Genetic Algorithm and Particle Swarm Optimization library.
- fonet (⭐80) - A Deep Neural Network library written in Go.
- go-cluster (⭐39) - Go implementation of the k-modes and k-prototypes clustering algorithms.
- go-fann (⭐115) - Go bindings for Fast Artificial Neural Networks(FANN) library.
- godist (⭐36) - Various probability distributions, and associated methods.
- Goptuna (⭐249) - Bayesian optimization framework for black-box functions written in Go. Everything will be optimized.
- gorgonia (⭐5.3k) - graph-based computational library like Theano for Go that provides primitives for building various machine learning and neural network algorithms.
- gorse (⭐7.9k) - An offline recommender system backend based on collaborative filtering written in Go.
- gosseract (⭐2.4k) - Go package for OCR (Optical Character Recognition), by using Tesseract C++ library.
- libsvm (⭐73) - libsvm golang version derived work based on LIBSVM 3.14.
- m2cgen (⭐2.7k) - A CLI tool to transpile trained classic ML models into a native Go code with zero dependencies, written in Python with Go language support.
- neat (⭐69) - Plug-and-play, parallel Go framework for NeuroEvolution of Augmenting Topologies (NEAT).
- neural-go (⭐67) - Multilayer perceptron network implemented in Go, with training via backpropagation.
- ocrserver (⭐637) - A simple OCR API server, seriously easy to be deployed by Docker and Heroku.
- probab (⭐19) - Probability distribution functions. Bayesian inference. Written in pure Go.
- shield (⭐156) - Bayesian text classifier with flexible tokenizers and storage backends for Go.
- tfgo (⭐2.3k) - Easy to use Tensorflow bindings: simplifies the usage of the official Tensorflow Go bindings. Define computational graphs in Go, load and execute models trained in Python.
Messaging
- ami (⭐28) - Go client to reliable queues based on Redis Cluster Streams.
- APNs2 (⭐2.9k) - HTTP/2 Apple Push Notification provider for Go — Send push notifications to iOS, tvOS, Safari and OSX apps.
- Asynq (⭐8.2k) - A simple, reliable, and efficient distributed task queue for Go built on top of Redis.
- Beaver (⭐1.5k) - A real time messaging server to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps.
- Bus (⭐323) - Minimalist message bus implementation for internal communication.
- Chanify (⭐1.2k) - A push notification server send message to your iOS devices.
- Commander (⭐65) - A high-level event driven consumer/producer supporting various "dialects" such as Apache Kafka.
- emitter (⭐491) - Emits events using Go way, with wildcard, predicates, cancellation possibilities and many other good wins.
- Glue (⭐410) - Robust Go and Javascript Socket Library (Alternative to Socket.io).
- go-mq (⭐89) - RabbitMQ client with declarative configuration.
- go-notify (⭐67) - Native implementation of the freedesktop notification spec.
- go-res (⭐62) - Package for building REST/real-time services where clients are synchronized seamlessly, using NATS and Resgate.
- Gollum (⭐935) - A n:m multiplexer that gathers messages from different sources and broadcasts them to a set of destinations.
- gosd (⭐23) - A library for scheduling when to dispatch a message to a channel.
- guble (⭐156) - 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.
- hare (⭐51) - A user friendly library for sending messages and listening to TCP sockets.
- hub (⭐139) - A Message/Event Hub for Go applications, using publish/subscribe pattern with support for alias like rabbitMQ exchanges.
- jazz (⭐18) - A simple RabbitMQ abstraction layer for queue administration and publishing and consuming of messages.
- machinery (⭐7.2k) - Asynchronous task queue/job queue based on distributed message passing.
- mangos (⭐630) - Pure go implementation of the Nanomsg ("Scalability Protocols") with transport interoperability.
- melody (⭐3.5k) - Minimalist framework for dealing with websocket sessions, includes broadcasting and automatic ping/pong handling.
- Mercure (⭐3.7k) - Server and library to dispatch server-sent updates using the Mercure protocol (built on top of Server-Sent Events).
- messagebus (⭐262) - messagebus is a Go simple async message bus, perfect for using as event bus when doing event sourcing, CQRS, DDD.
- NATS Go Client (⭐5k) - Lightweight and high performance publish-subscribe and distributed queueing messaging system - this is the Go library.
- oplog (⭐112) - Generic oplog/replication system for REST APIs.
- rabbus (⭐97) - A tiny wrapper over amqp exchanges and queues.
- RapidMQ (⭐67) - RapidMQ is a lightweight and reliable library for managing of the local messages queue.
- redisqueue (⭐119) - redisqueue provides a producer and consumer of a queue that uses Redis streams.
- rmqconn (⭐22) - 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.
- Uniqush-Push (⭐1.5k) - Redis backed unified push service for server-side notifications to mobile devices.
Microsoft Office
- unioffice (⭐4.1k) - Pure go library for creating and processing Office Word (.docx), Excel (.xlsx) and Powerpoint (.pptx) documents.
Microsoft Excel
- excelize (⭐17k) - Golang library for reading and writing Microsoft Excel™ (XLSX) files.
- go-excel (⭐182) - A simple and light reader to read a relate-db-like excel as a table.
- goxlsxwriter (⭐21) - Golang bindings for libxlsxwriter for writing XLSX (Microsoft Excel) files.
- xlsx (⭐5.7k) - Library to simplify reading the XML format used by recent version of Microsoft Excel in Go programs.
- xlsx (⭐171) - Fast and safe way to read/update your existing Microsoft Excel files in Go programs.
Dependency Injection
- alice (⭐51) - Additive dependency injection container for Golang.
- di (⭐219) - A dependency injection container for go programming language.
- dig (⭐3.6k) - A reflection based dependency injection toolkit for Go.
- dingo (⭐172) - A dependency injection toolkit for Go, based on Guice.
- fx (⭐5k) - A dependency injection based application framework for Go (built on top of dig).
- HnH/di (⭐7) - DI container library that is focused on clean API and flexibility.
- kinit (⭐10) - Customizable dependency injection container with the global mode, cascade initialization and panic-safe finalization.
- linker (⭐35) - A reflection based dependency injection and inversion of control library with components lifecycle support.
- wire (⭐38) - Strict Runtime Dependency Injection for Golang.
Project Layout
- cookiecutter-golang (⭐662) - A Go application boilerplate template for quick starting projects following production best practices.
- go-sample (⭐125) - A sample layout for Go application projects with the real code.
- go-starter (⭐411) - An opinionated production-ready RESTful JSON backend template, highly integrated with VSCode DevContainers.
- gobase (⭐53) - A simple skeleton for golang application with basic setup for real golang application.
- golang-standards/project-layout (⭐45k) - 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 (⭐45k) for more information. Nonetheless, some may find the layout useful.
- scaffold (⭐147) - Scaffold generates a starter Go project layout. Lets you focus on business logic implemented.
Strings
- go-formatter - Implements replacement fields surrounded by curly braces
{}
format strings.
- gobeam/Stringy (⭐197) - String manipulation library to convert string to camel case, snake case, kebab case / slugify etc.
- sttr (⭐787) - cross-platform, cli app to perform various operations on string.
- xstrings (⭐1.3k) - Collection of useful string functions ported from other languages.
Uncategorized
- anagent (⭐15) - Minimalistic, pluggable Golang evloop/timer handler with dependency-injection.
- antch (⭐255) - A fast, powerful and extensible web crawling & scraping framework.
- archiver (⭐4.2k) - Library and command for making and extracting .zip and .tar.gz archives.
- autoflags (⭐39) - Go package to automatically define command line flags from struct fields.
- avgRating (⭐16) - Calculate average score and rating based on Wilson Score Equation.
- base64Captcha (⭐2k) - Base64captch supports digit, number, alphabet, arithmetic, audio and digit-alphabet captcha.
- basexx (⭐5) - Convert to, from, and between digit strings in various number bases.
- battery (⭐236) - Cross-platform, normalized battery information library.
- bitio (⭐228) - Highly optimized bit-level Reader and Writer for Go.
- captcha (⭐140) - Package captcha provides an easy to use, unopinionated API for captcha generation.
- conv (⭐385) - Package conv provides fast and intuitive conversions across Go types.
- faker (⭐87) - Random fake data and struct generator for Go.
- go-openapi - Collection of packages to parse and utilize open-api schemas.
- gommit (⭐109) - Analyze git commit messages to ensure they follow defined patterns.
- gopsutil (⭐9.9k) - Cross-platform library for retrieving process and system utilization(CPU, Memory, Disks, etc).
- gosh (⭐35) - Provide Go Statistics Handler, Struct, Measure Method.
- gosms (⭐1.4k) - Your own local SMS gateway in Go that can be used to send SMS.
- gotoprom (⭐109) - Type-safe metrics builder wrapper library for the official Prometheus client.
- gtree (⭐181) - Provide CLI, Package and Web for tree output and directories creation from Markdown or programmatically.
- health (⭐739) - A simple and flexible health check library for Go.
- healthcheck (⭐260) - An opinionated and concurrent health-check HTTP handler for RESTful services.
- indigo (⭐107) - Distributed unique ID generator of using Sonyflake and encoded by Base58.
- lk (⭐338) - A simple licensing library for golang.
- llvm (⭐1.1k) - Library for interacting with LLVM IR in pure Go.
- metrics (⭐27) - Library for metrics instrumentation and Prometheus exposition.
- morse (⭐79) - Library to convert to and from morse code.
- numa (⭐19) - NUMA is a utility library, which is written in go. It help us to write some NUMA-AWARED code.
- pdfgen (⭐69) - HTTP service to generate PDF from Json requests.
- shellwords (⭐22) - A Golang library to manipulate strings according to the word parsing rules of the UNIX Bourne shell.
- shortid (⭐913) - Distributed generation of super short, unique, non-sequential, URL friendly IDs.
- shoutrrr (⭐818) - Notification library providing easy access to various messaging services like slack, mattermost, gotify and smtp among others.
- stats (⭐170) - Monitors Go MemStats + System stats such as Memory, Swap and CPU and sends via UDP anywhere you want for logging etc...
- url-shortener (⭐45) - A modern, powerful, and robust URL shortener microservice with mysql support.
- varint (⭐11) - A faster varying length integer encoder/decoder than the one provided in the standard library.
- xdg (⭐37) - FreeDesktop.org (xdg) Specs implemented in Go.
Language Detection
- detectlanguage (⭐24) - Language Detection API Go Client. Supports batch requests, short phrase or single word language detection.
Morphological Analyzers
- go2vec (⭐50) - Reader and utility functions for word2vec embeddings.
- libtextcat (⭐13) - Cgo binding for libtextcat C library. Guaranteed compatibility with version 2.2.
- nlp (⭐385) - Extract values from strings and fill your structs with nlp.
- nlp (⭐428) - Go Natural Language Processing library supporting LSA (Latent Semantic Analysis).
- paicehusk (⭐29) - Golang implementation of the Paice/Husk Stemming Algorithm.
- porter (⭐12) - This is a fairly straightforward port of Martin Porter's C implementation of the Porter stemming algorithm.
- RAKE.go (⭐107) - Go port of the Rapid Automatic Keyword Extraction Algorithm (RAKE).
Tokenizers
- shamoji (⭐13) - The shamoji is word filtering package written in Go.
- stemmer (⭐51) - Stemmer packages for Go programming language. Includes English and German stemmers.
- textcat (⭐71) - Go package for n-gram based text categorization, with support for utf-8 and raw text.
Transliteration
- transliterator (⭐39) - Provides one-way string transliteration with supporting of language-specific transliteration rules.
Networking
- arp (⭐348) - Package arp implements the ARP protocol, as described in RFC 826.
- dhcp6 (⭐76) - Package dhcp6 implements a DHCPv6 server, as described in RFC 3315.
- easytcp (⭐784) - 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.
- ether (⭐80) - Cross-platform Go package for sending and receiving ethernet frames.
- ethernet (⭐270) - Package ethernet implements marshaling and unmarshalling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags.
- fasthttp (⭐21k) - Package fasthttp is a fast HTTP implementation for Go, up to 10 times faster than net/http.
- fortio (⭐3.1k) - 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.
- gaio (⭐550) - High performance async-io networking for Golang in proactor mode.
- gev (⭐1.7k) - gev is a lightweight, fast non-blocking TCP network library based on Reactor mode.
- gmqtt (⭐943) - Gmqtt is a flexible, high-performance MQTT broker library that fully implements the MQTT protocol V3.1.1.
- gnet (⭐8.4k) -
gnet
is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go.
- gNxI (⭐248) - A collection of tools for Network Management that use the gNMI and gNOI protocols.
- go-getter (⭐1.6k) - Go library for downloading files or directories from various sources using a URL.
- go-stun (⭐624) - Go implementation of the STUN client (RFC 3489 and RFC 5389).
- golibwireshark (⭐29) - Package golibwireshark use libwireshark library to decode pcap file and analyse dissection data.
- gopacket (⭐6k) - Go library for packet processing with libpcap bindings.
- goshark (⭐18) - Package goshark use tshark to decode IP packet and create data struct to analyse packet.
- gosnmp (⭐1k) - Native Go library for performing SNMP actions.
- gotcp (⭐510) - Go package for quickly writing tcp applications.
- HTTPLab (⭐4k) - HTTPLabs let you inspect HTTP requests and forge responses.
- jazigo (⭐206) - Jazigo is a tool written in Go for retrieving configuration for multiple network devices.
- kcptun (⭐14k) - Extremely simple & fast udp tunnel based on KCP protocol.
- lhttp (⭐690) - Powerful websocket framework, build your IM server more easily.
- linkio (⭐52) - Network link speed simulation for Reader/Writer interfaces.
- llb (⭐14) - It's a very simple but quick backend for proxy servers. Can be useful for fast redirection to predefined domain with zero memory allocation and fast response.
- mdns (⭐1.1k) - 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.
- nbio (⭐1.9k) - 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.
- netpoll (⭐3.8k) - A high-performance non-blocking I/O networking framework, which focused on RPC scenarios, developed by ByteDance.
- NFF-Go (⭐1.3k) - Framework for rapid development of performant network functions for cloud and bare-metal (former YANFF).
- packet (⭐78) - Send packets over TCP and UDP. It can buffer messages and hot-swap connections if needed.
- portproxy (⭐53) - Simple TCP proxy which adds CORS support to API's which don't support it.
- publicip (⭐27) - Package publicip returns your public facing IPv4 address (internet egress).
- raw (⭐422) - Package raw enables reading and writing data at the device driver level for a network interface.
- ssh (⭐3.3k) - Higher-level API for building SSH servers (wraps crypto/ssh).
- sslb (⭐145) - It's a Super Simples Load Balancer, just a little project to achieve some kind of performance.
- stun (⭐488) - Go implementation of RFC 5389 STUN protocol.
- tspool (⭐14) - A TCP Library use worker pool to improve performance and protect your server.
- utp (⭐171) - Go uTP micro transport protocol implementation.
- vssh (⭐930) - Go library for building network and server automation over SSH protocol.
- winrm (⭐413) - Go WinRM client to remotely execute commands on Windows machines.
- xtcp (⭐148) - TCP Server Framework with simultaneous full duplex communication, graceful shutdown, and custom protocol.
HTTP Clients
- httpretry (⭐41) - Enriches the default go HTTP client with retry functionality.
- pester (⭐630) - Go HTTP client calls with retries, backoff, and concurrency.
- request (⭐279) - HTTP client for golang. If you have experience about axios or requests, you will love it. No 3rd dependency.
- requests (⭐1.3k) - 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.
- resty (⭐9.1k) - Simple HTTP and REST client for Go inspired by Ruby rest-client.
- rq (⭐51) - A nicer interface for golang stdlib HTTP client.
- sling (⭐1.6k) - Sling is a Go HTTP client library for creating and sending API requests.
OpenGL
- gl (⭐1k) - Go bindings for OpenGL (generated via glow).
- goxjs/gl (⭐169) - Go cross-platform OpenGL bindings (OS X, Linux, Windows, browsers, iOS, Android).
- goxjs/glfw (⭐80) - Go cross-platform glfw library for creating an OpenGL context and receiving events.
- mathgl (⭐524) - Pure Go math package specialized for 3D math, with inspiration from GLM.
ORM
- cacheme (⭐24) - Schema based, typed Redis caching/memoize framework for Go.
- ent (⭐15k) - An entity framework for Go. Simple, yet powerful ORM for modeling and querying data.
- go-store (⭐112) - Simple and fast Redis backed key-value store library for Go.
- GORM (⭐35k) - The fantastic ORM library for Golang, aims to be developer friendly.
- gorp (⭐3.7k) - Go Relational Persistence, ORM-ish library for Go.
- grimoire (⭐161) - Grimoire is a database access layer and validation for golang. (Support: MySQL, PostgreSQL and SQLite3).
- lore (⭐14) - Simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go.
- marlow (⭐14) - Generated ORM from project structs for compile time safety assurances.
- pop/soda (⭐1.4k) - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
- reform (⭐1.4k) - Better ORM for Go, based on non-empty interfaces and code generation.
- rel (⭐720) - Modern Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API.
- SQLBoiler (⭐6.3k) - ORM generator. Generate a featureful and blazing-fast ORM tailored to your database schema.
- upper.io/db (⭐3.4k) - 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).
- Zoom (⭐305) - Blazing-fast datastore and querying engine built on Redis.
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.
- glide (⭐8.2k) - Manage your golang vendor and vendored packages with ease. Inspired by tools like Maven, Bundler, and Pip.
- godep (⭐5.6k) - dependency tool for go, godep helps build packages reproducibly by fixing their dependencies.
- goop (⭐781) - Simple dependency manager for Go (golang), inspired by Bundler.
- gop (⭐49) - Build and manage your Go applications out of GOPATH.
- govendor (⭐4.9k) - Go Package Manager. Go vendor tool that works with the standard vendor file.
- modgv (⭐479) - Converts 'go mod graph' output into Graphviz's DOT language.
- mvn-golang (⭐160) - plugin that provides way for auto-loading of Golang SDK, dependency management and start build environment in Maven project infrastructure.
- VenGO (⭐125) - create and manage exportable isolated go virtual environments.
Performance
- pixie (⭐5.2k) - No instrumentation tracing for Golang applications via eBPF.
- statsviz (⭐3.1k) - Live visualization of your Go application runtime statistics.
Query Language
- dasel (⭐4.8k) - 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.
- gws (⭐7) - Apollos' "GraphQL over Websocket" client and server implementation.
- jsonpath (⭐21) - A query library for retrieving part of JSON based on JSONPath syntax.
- rql (⭐323) - Resource Query Language for REST API.
- rqp (⭐67) - Query Parser for REST API. Filtering, validations, both
AND
, OR
operations are supported directly in the query.
- straf (⭐36) - Easily Convert Golang structs to GraphQL objects.
Resource Embedding
- debme (⭐29) - Create an
embed.FS
from an existing embed.FS
subdirectory.
- esc (⭐639) - Embeds files into Go programs and provides http.FileSystem interfaces to them.
- fileb0x (⭐632) - Simple tool to embed files in go with focus on "customization" and ease to use.
- go.rice (⭐2.4k) - go.rice is a Go package that makes working with resources such as HTML, JS, CSS, images, and templates very easy.
- mule (⭐14) - Embed external resources like images, movies ... into Go source code to create single file binaries using
go generate
. Focused on simplicity.
- packr (⭐3.4k) - The simple and easy way to embed static files into Go binaries.
- rebed (⭐29) - Recreate folder structures and files from Go 1.16's
embed.FS
type
- statics (⭐67) - Embeds static resources into go files for single binary compilation + works with http.FileSystem + symlinks.
- templify (⭐30) - Embed external template files into Go code to create single file binaries.
- vfsgen (⭐980) - Generates a vfsdata.go file that statically implements the given virtual filesystem.
Science and Data Analysis
- assocentity (⭐14) - Package assocentity returns the average distance from words to a given entity.
- chart (⭐763) - Simple Chart Plotting library for Go. Supports many graphs types.
- decimal (⭐38) - Package decimal implements arbitrary-precision decimal floating-point arithmetic.
- evaler (⭐52) - Simple floating point arithmetic expression evaluator.
- go-gt (⭐10) - Graph theory algorithms written in "Go" language.
- godesim (⭐23) - Extended/multivariable ODE solver framework for event-based simulations with simple API.
- gonum (⭐7.1k) - Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more.
- goraph (⭐730) - Pure Go graph theory library(data structure, algorithm visualization).
- gosl (⭐1.8k) - Go scientific library for linear algebra, FFT, geometry, NURBS, numerical methods, probabilities, optimisation, differential equations, and more.
- GoStats (⭐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.
- ode (⭐22) - Ordinary differential equation (ODE) solver which supports extended states and channel-based iteration stop conditions.
- orb (⭐796) - 2D geometry types with clipping, GeoJSON and Mapbox Vector Tile support.
- PiHex (⭐20) - Implementation of the "Bailey-Borwein-Plouffe" algorithm for the hexadecimal number Pi.
- rootfinding (⭐11) - root-finding algorithms library for finding roots of quadratic functions.
- sparse (⭐150) - Go Sparse matrix formats for linear algebra supporting scientific and machine learning applications, compatible with gonum matrix libraries.
- stats (⭐2.9k) - Statistics package with common functions missing from the Golang standard library.
- TextRank (⭐193) - TextRank implementation in Golang with extendable features (summarization, weighting, phrase extraction) and multithreading (goroutine) support.
- triangolatte (⭐36) - 2D triangulation library. Allows translating lines and polygons (both based on points) to the language of GPUs.
Security
- acmetool (⭐2k) - ACME (Let's Encrypt) client tool with automatic renewal.
- acra (⭐1.3k) - Network encryption proxy to protect database-based applications from data leaks: strong selective encryption, SQL injections prevention, intrusion detection system.
- age (⭐15k) - A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
- argon2-hashing (⭐20) - light wrapper around Go's argon2 package that closely mirrors with Go's standard library Bcrypt and simple-scrypt package.
- argon2pw (⭐90) - Argon2 password hash generation with constant-time password comparison.
- BadActor (⭐320) - In-memory, application-driven jailer built in the spirit of fail2ban.
- Cameradar (⭐3.8k) - Tool and library to remotely hack RTSP streams from surveillance cameras.
- CertMagic (⭐4.7k) - Mature, robust, and powerful ACME client integration for fully-managed TLS certificate issuance and renewal.
- dongle (⭐827) - A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption.
- go-yara (⭐338) - Go Bindings for YARA (⭐136), the "pattern matching swiss knife for malware researchers (and everyone else)".
- goArgonPass (⭐16) - Argon2 password hash and verification designed to be compatible with existing Python and PHP implementations.
- lego (⭐7.1k) - Pure Go ACME client library and CLI tool (for use with Let's Encrypt).
- nacl (⭐541) - Go implementation of the NaCL set of API's.
- secure (⭐2.2k) - HTTP middleware for Go that facilitates some quick security wins.
- secureio (⭐32) - An keyexchanging+authenticating+encrypting wrapper and multiplexer for
io.ReadWriteCloser
based on XChaCha20-poly1305, ECDH and ED25519.
- simple-scrypt (⭐192) - Scrypt package with a simple, obvious API and automatic cost calibration built-in.
- sslmgr (⭐23) - SSL certificates made easy with a high level wrapper around acme/autocert.
- themis (⭐1.8k) - 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.
Serialization
- asn1 (⭐53) - Asn.1 BER and DER encoding library for golang.
- bel (⭐35) - Generate TypeScript interfaces from Go structs/interfaces. Useful for JSON RPC.
- binstruct (⭐82) - Golang binary decoder for mapping data into the structure.
- cbor (⭐645) - Small, safe, and easy CBOR encoding and decoding library.
- csvutil (⭐869) - High Performance, idiomatic CSV record encoding and decoding to native Go structures.
- elastic (⭐24) - Convert slices, maps or any other unknown value across different types at run-time, no matter what.
- fwencoder (⭐26) - Fixed width file parser (encoding and decoding library) for Go.
- go-codec (⭐1.8k) - High Performance, feature-Rich, idiomatic encode, decode and rpc library for msgpack, cbor and json, with runtime-based OR code-generation support.
- goprotobuf (⭐9.5k) - Go support, in the form of a library and protocol compiler plugin, for Google's protocol buffers.
- jsoniter (⭐13k) - High-performance 100% compatible drop-in replacement of "encoding/json".
- pletter (⭐19) - A standard way to wrap a proto message for message brokers.
- structomap (⭐144) - Library to easily and dynamically generate maps from static structures.
- unitpacking (⭐6) - Library to pack unit vectors into as fewest bytes as possible.
Server Applications
- algernon (⭐2.6k) - HTTP/2 web server with built-in support for Lua, Markdown, GCSS and Amber.
- Caddy (⭐53k) - 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.
- cortex-tenant (⭐91) - Prometheus remote write proxy that adds add Cortex tenant ID header based on metric labels.
- Easegress (⭐5.7k) - A cloud native high availability/performance traffic orchestration system with observability and extensibility.
- Euterpe (⭐512) - Self-hosted music streaming server with built-in web UI and REST API.
- Fider (⭐2.6k) - Fider is an open platform to collect and organize customer feedback.
- Flagr (⭐2.3k) - Flagr is an open-source feature flagging and A/B testing service.
- flipt (⭐3.2k) - A self contained feature flag solution written in Go and Vue.js
- go-feature-flag (⭐1k) - A simple, complete and lightweight self-hosted feature flag solution 100% Open Source.
- lets-proxy2 (⭐86) - Reverse proxy for handle https with issue certificates in fly from lets-encrypt.
- minio (⭐43k) - Minio is a distributed object storage server.
- Moxy (⭐12) - 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.
- nsq - A realtime distributed messaging platform.
- protoxy (⭐34) - A proxy server that converts JSON request bodies to Protocol Buffers.
- RoadRunner (⭐7.6k) - High-performance PHP application server, load-balancer and process manager.
- SFTPGo (⭐7.8k) - 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.
- simple-jwt-provider (⭐38) - Simple and lightweight provider which exhibits JWTs, supports login, password-reset (via mail) and user management.
Stream Processing
- machine (⭐142) - Go library for writing and generating stream workers with built in metrics and traceability.
- stream (⭐85) - Go Stream, like Java 8 Stream: Filter/Map/FlatMap/Peek/Sorted/ForEach/Reduce...
Template Engines
- ego (⭐576) - Lightweight templating language that lets you write templates in Go. Templates are translated into Go and compiled.
- extemplate (⭐56) - Tiny wrapper around html/template to allow for easy file-based template inheritance.
- gospin (⭐53) - Article spinning and spintax/spinning syntax engine, useful for A/B, testing pieces of text/articles and creating more natural conversations.
- goview (⭐396) - Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
- maroto (⭐1.4k) - A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.
- quicktemplate (⭐3k) - Fast, powerful, yet easy to use template engine. Converts templates into Go code and then compiles it.
- tbd (⭐25) - A really simple way to create text templates with placeholders - exposes extra builtin Git repo metadata.
Testing
Testing Frameworks
- 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.
- assert (⭐62) - Basic Assertion Library used along side native go testing, with building blocks for custom assertions.
- badio (⭐11) - Extensions to Go's
testing/iotest
package.
- baloo (⭐771) - Expressive and versatile end-to-end HTTP API testing made easy.
- be (⭐88) - The minimalist generic test assertion library.
- biff (⭐14) - Bifurcation testing framework, BDD compatible.
- charlatan (⭐200) - Tool to generate fake interface implementations for tests.
- commander (⭐219) - Tool for testing cli applications on windows, linux and osx.
- covergates (⭐61) - Self-hosted code coverage report review and management service.
- cupaloy (⭐283) - Simple snapshot testing addon for your test framework.
- dbcleaner (⭐157) - Clean database for testing purpose, inspired by
database_cleaner
in Ruby.
- dsunit (⭐43) - Datastore testing for SQL, NoSQL, structured files.
- embedded-postgres (⭐710) - Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test.
- endly (⭐251) - Declarative end to end functional testing.
- fixenv (⭐27) - Fixture manage engine, inspired by pytest fixtures.
- fluentassert (⭐39) - Extensible, type-safe, fluent assertion Go library.
- flute (⭐18) - HTTP client testing framework.
- frisby (⭐277) - REST API testing framework.
- gherkingen (⭐67) - BDD boilerplate generator and framework.
- ginkgo - BDD Testing Framework for Go.
- gnomock (⭐1.3k) - integration testing with real dependencies (database, cache, even Kubernetes or AWS) running in Docker, without mocks.
- go-carpet (⭐241) - Tool for viewing test coverage in terminal.
- go-cmp (⭐3.9k) - Package for comparing Go values in tests.
- go-hit (⭐243) - Hit is an http integration test framework written in golang.
- go-mutesting (⭐616) - Mutation testing for Go source code.
- go-mysql-test-container (⭐2) - Golang MySQL testcontainer to help with MySQL integration testing.
- go-snaps (⭐119) - Jest-like snapshot testing in Golang.
- go-testdeep (⭐416) - Extremely flexible golang deep comparison, extends the go testing package.
- go-testpredicate (⭐5) - Test predicate style assertions library with extensive diagnostics output.
- go-vcr (⭐1.1k) - Record and replay your HTTP interactions for fast, deterministic and accurate tests.
- goblin (⭐886) - Mocha like testing framework of Go.
- goc (⭐750) - Goc is a comprehensive coverage testing system for The Go Programming Language.
- gocheck - More advanced testing framework alternative to gotest.
- GoConvey (⭐8k) - BDD-style framework with web UI and live reload.
- gocrest (⭐98) - Composable hamcrest-like matchers for Go assertions.
- godog (⭐2.1k) - Cucumber BDD framework for Go.
- gofight (⭐438) - API Handler Testing for Golang Router framework.
- gogiven (⭐14) - YATSPEC-like BDD testing framework for Go.
- gomatch (⭐45) - library created for testing JSON against patterns.
- gomega - Rspec like matcher/assertion library.
- Gont (⭐68) - Go network testing toolkit for testing building complex network topologies using Linux namespaces.
- gospecify (⭐53) - This provides a BDD syntax for testing your Go code. It should be familiar to anybody who has used libraries such as rspec.
- gosuite (⭐12) - Brings lightweight test suites with setup/teardown facilities to
testing
by leveraging Go1.7's Subtests.
- got (⭐263) - An enjoyable golang test framework.
- gotest.tools (⭐481) - A collection of packages to augment the go testing package and support common patterns.
- Hamcrest (⭐29) - fluent framework for declarative Matcher objects that, when applied to input values, produce self-describing results.
- httpexpect (⭐2.4k) - Concise, declarative, and easy to use end-to-end HTTP and REST API testing.
- is (⭐1.7k) - Professional lightweight testing mini-framework for Go.
- jsonassert (⭐116) - Package for verifying that your JSON payloads are serialized correctly.
- omg.testingtools (⭐1) - The simple library for change a values of private fields for testing.
- restit (⭐55) - Go micro framework to help writing RESTful API integration test.
- schema (⭐21) - Quick and easy expression matching for JSON schemas used in requests and responses.
- stop-and-go (⭐10) - Testing helper for concurrency.
- testcase (⭐114) - Idiomatic testing framework for Behavior Driven Development.
- testcontainers-go (⭐2.8k) - A Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.
- testfixtures (⭐1k) - A helper for Rails' like test fixtures to test database applications.
- Testify (⭐22k) - Sacred extension to the standard go testing package.
- testsql (⭐17) - Generate test data from SQL files before testing and clear it after finished.
- testza (⭐416) - Full-featured test framework with nice colorized output.
- trial (⭐6) - Quick and easy extendable assertions without introducing much boilerplate.
- Tt (⭐7) - Simple and colorful test tools.
- wstest (⭐102) - Websocket client for unit-testing a websocket http.Handler.
Mock
- counterfeiter (⭐907) - Tool for generating self-contained mock objects.
- genmock - Go mocking system with code generator for building calls of the interface methods.
- go-localstack (⭐74) - Tool for using localstack in AWS testing.
- go-sqlmock (⭐5.7k) - Mock SQL driver for testing database interactions.
- go-txdb (⭐606) - Single transaction based database driver mainly for testing purposes.
- gock (⭐2k) - Versatile HTTP mocking made easy.
- gomock (⭐9.2k) - Mocking framework for the Go programming language.
- govcr (⭐161) - HTTP mock for Golang: record and replay HTTP interactions for offline testing.
- hoverfly (⭐2.3k) - HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI.
- httpmock (⭐1.8k) - Easy mocking of HTTP responses from external resources.
- minimock (⭐537) - Mock generator for Go interfaces.
- mockery (⭐5.5k) - Tool to generate Go interfaces.
- mockhttp (⭐23) - Mock object for Go http.ResponseWriter.
- mockit (⭐16) - Allows functions and method easy mocking, without defining new types; it's similar to Mockito for Java.
- monkey (⭐2) - One line to mock functions/methods/variables in place without dependency injection or code generation.
- mooncake (⭐18) - A simple way to generate mocks for multiple purposes
- timex (⭐70) - A test-friendly replacement for the native
time
package.
Third-party APIs
- circleci (⭐67) - Go client library for interacting with CircleCI's API.
- clarifai (⭐55) - Go client library for interfacing with the Clarifai API.
- fcm (⭐51) - Go library for Firebase Cloud Messaging.
- gami (⭐33) - Go library for Asterisk Manager Interface.
- gcm (⭐31) - Go library for Google Cloud Messaging.
- go-here (⭐13) - Go client library around the HERE location based APIs.
- go-yapla - Go client library for the Yapla v2.0 API.
- golyrics (⭐41) - Golyrics is a Go library to fetch music lyrics data from the Wikia website.
- gostorm (⭐129) - 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.
- hipchat (⭐104) - This project implements a golang client library for the Hipchat API.
- mixpanel (⭐60) - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications.
- rrdaclient (⭐10) - Go Library to access statdns.com API, which is in turn RRDA API. DNS Queries over HTTP.
- shopify (⭐25) - Go Library to make CRUD request to the Shopify API.
- simples3 (⭐129) - Simple no frills AWS S3 Library using REST with V4 Signing written in Go.
- smite (⭐11) - Go package to wraps access to the Smite game API.
- steam (⭐31) - Go Library to interact with Steam game servers.
- vl-go (⭐2) - Go client library around the VerifID identity verification layer API.
Utilities
- apm (⭐165) - Process manager for Golang applications with an HTTP API.
- backscanner (⭐57) - A scanner similar to bufio.Scanner, but it reads and returns lines in reverse order, starting at a given position and going backward.
- beyond (⭐56) - The Go tool that will drive you to the AOP world!
- blank (⭐12) - Verify or remove blanks and whitespace from strings.
- bleep (⭐11) - Perform any number of actions on any set of OS signals in Go.
- boilr (⭐1.7k) - Blazingly fast CLI tool for creating projects from boilerplate templates.
- changie (⭐569) - Automated changelog tool for preparing releases with lots of customization options.
- chyle (⭐154) - Changelog generator using a git repository with multiple configuration possibilities.
- circuit (⭐728) - An efficient and feature complete Hystrix like Go implementation of the circuit breaker pattern.
- cmd (⭐145) - Library for executing shell commands on osx, windows and linux.
- command (⭐14) - Command pattern for Go with thread safe serial and parallel dispatcher.
- copy (⭐39) - Package for fast copying structs of different types.
- copy-pasta (⭐50) - Universal multi-workstation clipboard that uses S3 like backend for the storage.
- create-go-app (⭐2.3k) - A powerful CLI for create a new production-ready project with backend (Golang), frontend (JavaScript, TypeScript) & deploy automation (Ansible, Docker) by running one command.
- cryptgo (⭐143) - Crytpgo is a TUI based application written purely in Go to monitor and observe cryptocurrency prices in real time!
- cvt (⭐44) - Easy and safe convert any value to another type.
- dbt (⭐58) - A framework for running self-updating signed binaries from a central, trusted repository.
- Death (⭐192) - Managing go application shutdown with signals.
- dlog (⭐17) - Compile-time controlled logger to make your release smaller without removing debug calls.
- ergo (⭐601) - The management of multiple local services running over different ports made easy.
- filetype (⭐2k) - Small package to infer the file type checking the magic numbers signature.
- filler (⭐17) - small utility to fill structs using "fill" tag.
- filter (⭐147) - provide filtering, sanitizing, and conversion of Go data.
- fzf (⭐58k) - Command-line fuzzy finder written in Go.
- generate (⭐30) - runs go generate recursively on a specified path or environment variable and can filter by regex.
- ghokin (⭐41) - Parallelized formatter with no external dependencies for gherkin (cucumber, behat...).
- go-convert (⭐22) - Package go-convert enables you to convert a value into another type.
- go-funk (⭐4.6k) - Modern Go utility library which provides helpers (map, find, contains, filter, chunk, reverse, ...).
- go-health (⭐94) - Health package simplifies the way you add health check to your services.
- go-lock (⭐105) - go-lock is a lock library implementing read-write mutex and read-write trylock without starvation.
- go-trigger (⭐242) - Go-lang global event triggerer, Register Events with an id and trigger the event from anywhere from your project.
- go-type (⭐17) - Library providing Go types for store/validation and transfer of ISO-4217, ISO-3166, and other types.
- goctx (⭐7) - Get your context value with high performance.
- godropbox (⭐4.2k) - Common libraries for writing Go services/applications from Dropbox.
- golog (⭐60) - Easy and lightweight CLI tool to time track your tasks.
- goreadability (⭐69) - Webpage summary extractor using Facebook Open Graph and arc90's readability.
- goreporter (⭐3.1k) - Golang tool that does static analysis, unit testing, code review and generate code quality report.
- gotenv (⭐281) - Load environment variables from
.env
or any io.Reader
in Go.
- gpath (⭐40) - Library to simplify access struct fields with Go's expression in reflection.
- grofer (⭐323) - A system and resource monitoring tool written in Golang!
- gubrak (⭐471) - Golang utility library with syntactic sugar. It's like lodash, but for golang.
- handy (⭐77) - Many utilities and helpers like string handlers/formatters and validators.
- hub (⭐23k) - wrap git commands with additional functionality to interact with github from the terminal.
- hystrix-go (⭐4.1k) - Implements Hystrix patterns of programmer-defined fallbacks aka circuit breaker.
- jump (⭐1.7k) - Jump helps you navigate faster by learning your habits.
- koazee (⭐520) - Library inspired in Lazy evaluation and functional programming that takes the hassle out of working with arrays.
- lets-go (⭐6) - Go module that provides common utilities for Cloud Native REST API development. Also contains AWS Specific utilities.
- limiters (⭐290) - Rate limiters for distributed applications in Golang with configurable back-ends and distributed locks.
- mani (⭐411) - CLI tool to help you manage multiple repositories.
- mc (⭐2.6k) - Minio Client provides minimal tools to work with Amazon S3 compatible cloud storage and filesystems.
- mergo (⭐2.7k) - Helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.
- minify (⭐3.5k) - Fast minifiers for HTML, CSS, JS, XML, JSON and SVG file formats.
- minquery (⭐62) - MongoDB / mgo.v2 query that supports efficient pagination (cursors to continue listing documents where we left off).
- moldova (⭐167) - Utility for generating random data based on an input template.
- mssqlx (⭐101) - Database client library, proxy for any master slave, master master structures. Lightweight and auto balancing in mind.
- myhttp (⭐34) - Simple API to make HTTP GET requests with timeout support.
- olaf (⭐6) - Twitter Snowflake implemented in Go.
- onecache (⭐134) - Caching library with support for multiple backend stores (Redis, Memcached, filesystem etc).
- pgo (⭐85) - Convenient functions for PHP community.
- pm (⭐80) - Process (i.e. goroutine) manager with an HTTP API.
- ptr (⭐23) - Package that provide functions for simplified creation of pointers from constants of basic types.
- rclient (⭐35) - Readable, flexible, simple-to-use client for REST APIs.
- repeat (⭐84) - Go implementation of different backoff strategies useful for retrying operations and heartbeating.
- rerun (⭐166) - Recompiling and rerunning go apps when source changes.
- rest-go (⭐16) - A package that provide many helpful methods for working with rest api.
- retry (⭐334) - The most advanced functional mechanism to perform actions repetitively until successful.
- retry (⭐10) - A simple but highly configurable retry package for Go.
- retry (⭐65) - Simple and easy retry mechanism package for Go.
- retry (⭐12) - A pretty simple library to ensure your work to be done.
- robustly (⭐157) - Runs functions resiliently, catching and restarting panics.
- rospo (⭐261) - Simple and reliable ssh tunnels with embedded ssh server in Golang.
- scan (⭐498) - Scan golang
sql.Rows
directly to structs, slices, or primitive types.
- scany (⭐1.1k) - Library for scanning data from a database into Go structs and more.
- set (⭐46) - Performant and flexible struct mapping and loose type conversion.
- slice (⭐51) - Type-safe functions for common Go slice operations.
- sqlx (⭐15k) - provides a set of extensions on top of the excellent built-in database/sql package.
- sshman (⭐44) - SSH Manager for authorized_keys files on multiple remote servers.
- statiks (⭐10) - Fast, zero-configuration, static HTTP filer server.
- structs (⭐24) - Implement simple functions to manipulate structs.
- throttle (⭐35) - Throttle is an object that will perform exactly one action per duration.
- tik (⭐5) - Simple and easy timing wheel package for Go.
- tome (⭐35) - Tome was designed to paginate simple RESTful APIs.
- toolbox (⭐195) - Slice, map, multimap, struct, function, data conversion utilities. Service router, macro evaluator, tokenizer.
- ugo (⭐27) - ugo is slice toolbox with concise syntax for Go.
- UNIS (⭐70) - Common Architecture™ for String Utilities in Go.
- usql (⭐8.5k) - usql is a universal command-line interface for SQL databases.
- util (⭐284) - Collection of useful utility functions. (strings, concurrency, manipulations, ...).
- wuzz (⭐10k) - Interactive cli tool for HTTP inspection.
- xferspdy (⭐100) - Xferspdy provides binary diff and patch library in golang.
UUID
- goid (⭐40) - Generate and Parse RFC4122 compliant V4 UUIDs.
- gouid (⭐22) - Generate cryptographically secure random string IDs with just one allocation.
- nanoid (⭐60) - A tiny and efficient Go unique string ID generator.
- sno (⭐89) - Compact, sortable and fast unique IDs with embedded metadata.
- ulid (⭐4k) - Go implementation of ULID (Universally Unique Lexicographically Sortable Identifier).
- uniq - No hassle safe, fast unique identifiers with commands.
- uuid (⭐18) - Generate, encode, and decode UUIDs v1 with fast or cryptographic-quality random node identifier.
- uuid (⭐1.5k) - Implementation of Universally Unique Identifier (UUID). Supports both creation and parsing of UUIDs. Actively maintained fork of satori uuid.
- uuid (⭐4.9k) - Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
- wuid (⭐511) - An extremely fast globally unique number generator.
- xid (⭐3.7k) - Xid is a globally unique id generator library, ready to be safely used directly in your server code.
Validation
- checkdigit (⭐107) - Provide check digit algorithms (Luhn, Verhoeff, Damm) and calculators (ISBN, EAN, JAN, UPC, etc.).
- gody (⭐66) - 🎈 A lightweight struct validator for Go.
- govalidator (⭐1.3k) - Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
- ozzo-validation (⭐3.5k) - Supports validation of various data types (structs, strings, maps, slices, etc.) with configurable and extensible validation rules specified in usual code constructs instead of struct tags.
- validate (⭐993) - Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features.
- validate (⭐93) - This package provides a framework for writing validations for Go applications.
- validator (⭐15k) - Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving.
Version Control
- froggit-go (⭐42) - Froggit-Go is a Go library, allowing to perform actions on VCS providers.
- gh (⭐82) - Scriptable server and net/http middleware for GitHub Webhooks.
- githooks (⭐90) - Per-repo and shared Git hooks with version control and auto update.
- go-vcs (⭐77) - manipulate and inspect VCS repositories in Go.
- hercules (⭐2k) - gaining advanced insights from Git repository history.
- hgo (⭐17) - Hgo is a collection of Go packages providing read-access to local Mercurial repositories.
Video
- gmf (⭐869) - Go bindings for FFmpeg av* libraries.
- go-astisub (⭐546) - Manipulate subtitles in GO (.srt, .stl, .ttml, .webvtt, .ssa/.ass, teletext, .smi, etc.).
- go-mpd (⭐22) - Parser and generator library for MPEG-DASH manifest files.
- libgosubs (⭐24) - Subtitle format support for go. Supports .srt, .ttml, and .ass.
- libvlc-go (⭐396) - Go bindings for libvlc 2.X/3.X/4.X (used by the VLC media player).
- m3u8 (⭐1.1k) - Parser and generator library of M3U8 playlists for Apple HLS.
- v4l (⭐77) - Video capture library for Linux, written in Go.
Web Frameworks
- aah - Scalable, performant, rapid development Web framework for Go.
- Aero (⭐558) - High-performance web framework for Go, reaches top scores in Lighthouse.
- Air (⭐436) - An ideally refined web framework for Go.
- appy (⭐131) - An opinionated productive web framework that helps scaling business easier.
- Banjo (⭐22) - Very simple and fast web framework for Go.
- Buffalo - Bringing the productivity of Rails to Go!
- Echo (⭐28k) - High performance, minimalist Go web framework.
- Fiber (⭐31k) - An Express.js inspired web framework build on Fasthttp.
- Flamingo (⭐420) - 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.
- Flamingo Commerce (⭐472) - Providing e-commerce features using clean architecture like DDD and ports and adapters, that you can use to build flexible e-commerce applications.
- Gearbox (⭐737) - A web framework written in Go with a focus on high performance and memory optimization.
- Gin (⭐75k) - 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.
- Ginrpc (⭐286) - Gin parameter automatic binding tool,gin rpc tools.
- Goa (⭐5.4k) - Goa provides a holistic approach for developing remote APIs and microservices in Go.
- goa (⭐49) - goa is just like koajs for golang, it is a flexible, light, high-performance and extensible web framework based on middleware.
- Golax (⭐75) - A non Sinatra fast HTTP framework with support for Google custom methods, deep interceptors, recursion and more.
- Golf (⭐270) - 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.
- gongular (⭐502) - Fast Go web framework with input mapping/validation and (DI) Dependency Injection.
- GoTuna (⭐47) - Minimalistic web framework for Go with mux router, middlewares, sessions, templates, embedded views and static files.
- goweb (⭐37) - Web framework with routing, websockets, logging, middleware, static file server (optional gzip), and automatic TLS.
- Goyave (⭐1.4k) - Feature-complete REST API framework aimed at clean code and fast development, with powerful built-in functionalities.
- hiboot (⭐180) - hiboot is a high performance web application framework with auto configuration and dependency injection support.
- Macaron (⭐3.5k) - Macaron is a high productive and modular design web framework in Go.
- mango (⭐373) - Mango is a modular web-application framework for Go, inspired by Rack, and PEP333.
- neo (⭐418) - Neo is minimal and fast Go Web Framework with extremely simple API.
- patron (⭐124) - Patron is a microservice framework following best cloud practices with a focus on productivity.
- Resoursea (⭐34) - REST framework for quickly writing resource based services.
- Revel (⭐13k) - High-productivity web framework for the Go language.
- rex (⭐33) - Rex is a library for modular development built upon gorilla/mux, fully compatible with
net/http
.
- rk-boot (⭐477) - A bootstrapper library for building enterprise go microservice with Gin and gRPC quickly and easily.
- rux (⭐97) - Simple and fast web framework for build golang HTTP applications.
- tigertonic (⭐996) - Go framework for building JSON web services inspired by Dropwizard.
- uAdmin (⭐316) - Fully featured web framework for Golang, inspired by Django.
- vox (⭐83) - A golang web framework for humans, inspired by Koa heavily.
- WebGo (⭐294) - A micro-framework to build web apps; with handler chaining, middleware and context injection. With standard library compliant HTTP handlers(i.e. http.HandlerFunc).
- YARF (⭐67) - Fast micro-framework designed to build REST APIs and web services in a fast and simple way.
Middlewares / Actual middlewares
- formjson (⭐38) - Transparently handle JSON input as a standard form POST.
- ln-paywall (⭐138) - Go middleware for monetizing APIs on a per-request basis with the Lightning Network (Bitcoin).
- mid (⭐7) - Miscellaneous HTTP middleware features: idiomatic error return from handlers; receive/respond with JSON data; request tracing; and more.
- rk-gin (⭐42) - Middleware for Gin framework with logging, metrics, auth, tracing etc.
- rk-grpc (⭐69) - Middleware for gRPC with logging, metrics, auth, tracing etc.
- XFF (⭐98) - Handle
X-Forwarded-For
header and friends.
Middlewares / Libraries for creating HTTP middlewares
- catena (⭐9) - http.Handler wrapper catenation (same API as "chain").
- chain (⭐63) - Handler wrapper chaining with scoped data (net/context-based "middleware").
- gores (⭐102) - Go package that handles HTML, JSON, XML and etc. responses. Useful for RESTful APIs.
- mediary (⭐89) - add interceptors to
http.Client
to allow dumping/shaping/tracing/... of requests/responses.
- render (⭐1.9k) - Go package for easily rendering JSON, XML, and HTML template responses.
- renderer (⭐261) - Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go.
- rye (⭐102) - Tiny Go middleware library (with canned Middlewares) that supports JWT, CORS, Statsd, and Go 1.7 context.
- stats (⭐594) - Go middleware that stores various information about your web application.
Routers / Libraries for creating HTTP middlewares
- alien (⭐129) - Lightweight and fast http router from outer space.
- Bxog (⭐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.
- chi (⭐17k) - Small, fast and expressive HTTP router built on net/context.
- fasthttprouter (⭐873) - High performance router forked from
httprouter
. The first router fit for fasthttp
.
- Goji (⭐952) - Goji is a minimalistic and flexible HTTP request multiplexer with support for
net/context
.
- goroute (⭐9) - Simple yet powerful HTTP request multiplexer.
- GoRouter (⭐151) - GoRouter is a Server/API micro framework, HTTP request router, multiplexer, mux that provides request router with middleware supporting
net/context
.
- gowww/router (⭐188) - Lightning fast HTTP router fully compatible with the net/http.Handler interface.
- httprouter (⭐16k) - High performance router. Use this and the standard http handlers to form a very high performance web framework.
- httptreemux (⭐614) - High-speed, flexible tree-based HTTP router for Go. Inspiration from httprouter.
- lars (⭐389) - Is a lightweight, fast and extensible zero allocation HTTP router for Go used to create customizable frameworks.
- mux (⭐20k) - Powerful URL router and dispatcher for golang.
- ozzo-routing (⭐449) - An extremely fast Go (golang) HTTP router that supports regular expression route matching. Comes with full support for building RESTful APIs.
- pure (⭐148) - Is a lightweight HTTP router that sticks to the std "net/http" implementation.
- Siesta (⭐350) - Composable framework to write middleware and handlers.
- vestigo (⭐267) - Performant, stand-alone, HTTP compliant URL Router for go web applications.
- xmux (⭐98) - High performance muxer based on
httprouter
with net/context
support.
WebAssembly / Libraries for creating HTTP middlewares
- go-canvas (⭐223) - Library to use HTML5 Canvas, with all drawing within go code.
- tinygo (⭐14k) - Go compiler for small places. Microcontrollers, WebAssembly, and command-line tools. Based on LLVM.
Windows / Libraries for creating HTTP middlewares
- gosddl (⭐11) - Converter from SDDL-string to user-friendly JSON. SDDL consist of four part: Owner, Primary Group, DACL, SACL.
XML / Libraries for creating HTTP middlewares
- XML-Comp (⭐21) - Simple command line XML comparer that generates diffs of folders, files and tags.
- xmlwriter (⭐26) - Procedural XML generation API based on libxml2's xmlwriter module.
- xquery (⭐158) - XQuery lets you extract data from HTML/XML documents using XPath expression.
Zero Trust / Libraries for creating HTTP middlewares
- Cosign (⭐3.9k) - Container Signing, Verification and Storage in an OCI registry.
- in-toto (⭐113) - Go implementation of the in-toto (provides a framework to protect the integrity of the software supply chain) python reference implementation.
- Spiffe-Vault (⭐72) - Utilizes Spiffe JWT authentication with Hashicorp Vault for secretless authentication.
- Spire (⭐1.6k) - SPIRE (the SPIFFE Runtime Environment) is a toolchain of APIs for establishing trust between software systems across a wide variety of hosting platforms.
Code Analysis / Libraries for creating HTTP middlewares
- apicompat (⭐177) - Checks recent changes to a Go project for backwards incompatible changes.
- ChainJacking (⭐53) - Find which of your Go lang direct GitHub dependencies is susceptible to ChainJacking attack.
- errcheck (⭐2.2k) - Errcheck is a program for checking for unchecked errors in Go programs.
- go-checkstyle (⭐128) - 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.
- go-cleanarch (⭐808) - go-cleanarch was created to validate Clean Architecture rules, like a The Dependency Rule and interaction between packages in your Go projects.
- go-critic (⭐1.7k) - source code linter that brings checks that are currently not implemented in other linters.
- golines (⭐790) - Formatter that automatically shortens long lines in Go code.
- GoPlantUML (⭐1.6k) - 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.
- gostatus (⭐242) - Command line tool, shows the status of repositories that contain Go packages.
- staticcheck (⭐5.8k) - staticcheck is
go vet
on steroids, applying a ton of static analysis checks you might be used to from tools like ReSharper for C#.
- tickgit (⭐317) - CLI and go package for surfacing code comment TODOs (in any language) and applying a
git blame
to identify the author.
- todocheck (⭐409) - Static code analyser which links TODO comments in code with issues in your issue tracker.
Editor Plugins / Libraries for creating HTTP middlewares
- Go Doc (⭐8) - A Visual Studio Code extension for showing definition in output and generating go doc.
- go-language-server (⭐32) - A wrapper to turn the VSCode go extension into a language server supporting the language-server-protocol.
- go-plus (⭐1.5k) - Go (Golang) Package For Atom That Adds Autocomplete, Formatting, Syntax Checking, Linting and Vetting.
- gocode (⭐5k) - Autocompletion daemon for the Go programming language.
- goprofiling - This extension adds benchmark profiling support for the Go language to VS Code.
- GoSublime (⭐3.4k) - Golang plugin collection for the text editor SublimeText 3 providing code completion and other IDE-like features.
- gounit-vim (⭐22) - Vim plugin for generating Go tests based on the function's or method's signature.
- vscode-go (⭐3.7k) - Extension for Visual Studio Code (VS Code) which provides support for the Go language.
- Watch (⭐201) - Runs a command in an acme win on file changes.
Go Generate Tools / Libraries for creating HTTP middlewares
- gocontracts (⭐104) - brings design-by-contract to Go by synchronizing the code with the documentation.
- godal (⭐18) - Generate orm models corresponding to golang by specifying sql ddl file, which can be used by gorm.
- hasgo (⭐132) - Generate Haskell inspired functions for your slices.
- TOML-to-Go - Translates TOML into a Go type in the browser instantly.
- xgen (⭐283) - XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator.
Go Tools / Libraries for creating HTTP middlewares
- colorgo (⭐113) - Wrapper around
go
command for colorized go build
output.
- depth (⭐871) - Visualize dependency trees of any package by analyzing imports.
- docs (⭐34) - Automatically generate RESTful API documentation for GO projects - aligned with Open API Specification standard.
- go-james (⭐63) - Go project skeleton creator, builds and tests your projects without the manual setup.
- go-swagger (⭐9.2k) - Swagger 2.0 implementation for go. Swagger is a simple yet powerful representation of your RESTful API.
- godbg (⭐199) - Implementation of Rusts
dbg!
macro for quick and easy debugging during development.
- gomodrun (⭐31) - Go tool that executes and caches binaries included in go.mod files.
- gothanks (⭐121) - GoThanks automatically stars your go.mod github dependencies, sending this way some love to their maintainers.
- igo (⭐64) - An igo to go transpiler (new language features for Go language!)
- modver (⭐16) - Compare two versions of a Go module to check the version-number change required (major, minor, or patchlevel), according to semver rules.
- OctoLinker (⭐5.2k) - Navigate through go files efficiently with the OctoLinker browser extension for GitHub.
- roumon (⭐161) - Monitor current state of all active goroutines via a command line interface.
- rts (⭐248) - RTS: response to struct. Generates Go structs from server responses.
- typex (⭐194) - Examine Go types and their transitive dependencies, alternatively export results as TypeScript value objects (or types) declaration.
DevOps Tools / Libraries for creating HTTP middlewares
- aptly (⭐11) - aptly is a Debian repository management tool.
- aurora (⭐591) - Cross-platform web-based Beanstalkd queue server console.
- awsenv (⭐34) - Small binary that loads Amazon (AWS) environment variables for a profile.
- Blast (⭐214) - A simple tool for API load testing and batch jobs.
- DepCharge (⭐23) - Helps orchestrating the execution of commands across the many dependencies in larger projects.
- Docker - Open platform for distributed applications for developers and sysadmins.
- dogo (⭐259) - Monitoring changes in the source file and automatically compile and run (restart).
- drone-scp (⭐132) - Copy files and artifacts via SSH using a binary, docker or Drone CI.
- easyssh-proxy (⭐302) - Golang package for easy remote execution through SSH and SCP downloading via
ProxyCommand
.
- fac (⭐1.8k) - Command-line user interface to fix git merge conflicts.
- gaia (⭐5.1k) - Build powerful pipelines in any programming language.
- ghorg (⭐1.4k) - Quickly clone an entire org/users repositories into one directory - Supports GitHub, GitLab, Gitea, and Bitbucket.
- gitea-github-migrator - Migrate all your GitHub repositories, issues, milestones and labels to your Gitea instance.
- go-furnace (⭐97) - Hosting solution written in Go. Deploy your Application with ease on AWS, GCP or DigitalOcean.
- gobrew (⭐194) - gobrew lets you easily switch between multiple versions of go.
- Gogs - A Self Hosted Git Service in the Go Programming Language.
- gonative (⭐338) - Tool which creates a build of Go that can cross compile to all platforms while still using the Cgo-enabled versions of the stdlib packages.
- govvv (⭐535) - “go build” wrapper to easily add version information into Go binaries.
- gox (⭐4.6k) - Dead simple, no frills Go cross compile tool.
- goxc (⭐1.7k) - build tool for Go, with a focus on cross-compiling and packaging.
- grapes (⭐167) - Lightweight tool designed to distribute commands over ssh with ease.
- GVM (⭐9.4k) - GVM provides an interface to manage Go versions.
- Hey (⭐17k) - Hey is a tiny program that sends some load to a web application.
- httpref (⭐35) - httpref is a handy CLI reference for HTTP methods, status codes, headers, and TCP and UDP ports.
- jcli (⭐373) - Jenkins CLI allows you manage your Jenkins as an easy way.
- kala (⭐2.1k) - Simplistic, modern, and performant job scheduler.
- kcli (⭐206) - Command line tool for inspecting kafka topics/partitions/messages.
- kool (⭐660) - Command line tool for managing Docker environments as an easy way.
- kwatch (⭐907) - Monitor & detect crashes in your Kubernetes(K8s) cluster instantly.
- lstags (⭐317) - Tool and API to sync Docker images across different registries.
- lwc (⭐32) - A live-updating version of the UNIX wc command.
- manssh (⭐292) - manssh is a command line tool for managing your ssh alias config easily.
- Moby (⭐67k) - Collaborative project for the container ecosystem to assemble container-based systems.
- Mora (⭐314) - REST server for accessing MongoDB documents and meta data.
- ostent (⭐178) - collects and displays system metrics and optionally relays to Graphite and/or InfluxDB.
- Packer (⭐15k) - Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
- Rodent (⭐33) - Rodent helps you manage Go versions, projects and track dependencies.
- s3-proxy (⭐252) - S3 Proxy with GET, PUT and DELETE methods and authentication (OpenID Connect and Basic Auth).
- s3gof3r (⭐1.1k) - Small utility/library optimized for high speed transfer of large objects into and out of Amazon S3.
- s5cmd (⭐2.2k) - Blazing fast S3 and local filesystem execution tool.
- script (⭐4.9k) - Making it easy to write shell-like scripts in Go for DevOps and system administration tasks.
- sg (⭐8) - 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.
- skm (⭐926) - SKM is a simple and powerful SSH Keys Manager, it helps you to manage your multiple SSH keys easily!
- StatusOK (⭐1.6k) - Monitor your Website and REST APIs.Get Notified through Slack, E-mail when your server is down or response time is more than expected.
- terraform-provider-openapi (⭐270) - 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.
- traefik (⭐47k) - Reverse proxy and load balancer with support for multiple backends.
- trubka (⭐331) - 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.
- uTask (⭐1.1k) - Automation engine that models and executes business processes declared in yaml.
- Vegeta (⭐23k) - HTTP load testing tool and library. It's over 9000!
- webhook (⭐9.7k) - Tool which allows user to create HTTP endpoints (hooks) that execute commands on the server.
- Wide - Web-based IDE for Teams using Golang.
Other Software / Libraries for creating HTTP middlewares
- blocky (⭐3.4k) - Fast and lightweight DNS proxy as ad-blocker for local network with many features.
- borg (⭐1.6k) - Terminal based search engine for bash snippets.
- Circuit (⭐2k) - 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.
- confd (⭐8.3k) - Manage local application configuration files using templates and data from etcd or consul.
- croc (⭐26k) - Easily and securely send files or folders from one computer to another.
- Documize (⭐2k) - Modern wiki software that integrates data from SaaS tools.
- dp (⭐82) - Through SDK for data exchange with blockchain, developers can get easy access to DAPP development.
- Duplicacy (⭐4.9k) - A cross-platform network and cloud backup tool based on the idea of lock-free deduplication.
- Gebug (⭐628) - A tool that makes debugging of Dockerized Go applications super easy by enabling Debugger and Hot-Reload features, seamlessly.
- gfile (⭐720) - Securely transfer files between two computers, without any third party, over WebRTC.
- gocc (⭐590) - Gocc is a compiler kit for Go written in Go.
- GoDocTooltip (⭐13) - Chrome extension for Go Doc sites, which shows function description as tooltip at function list.
- GoLand - Full featured cross-platform Go IDE.
- Gor (⭐18k) - Http traffic replication tool, for replaying traffic from production to stage/dev environments in real-time.
- Guora (⭐662) - A self-hosted Quora like web application written in Go.
- hoofli (⭐8) - Generate PlantUML diagrams from Chrome or Firefox network inspections.
- hugo - Fast and Modern Static Website Engine.
- ide (⭐357) - Browser accessible IDE. Designed for Go with Go.
- ipe (⭐366) - Open source Pusher server implementation compatible with Pusher client libraries written in GO.
- joincap (⭐201) - Command-line utility for merging multiple pcap files together.
- Juju - Cloud-agnostic service deployment and orchestration - supports EC2, Azure, Openstack, MAAS and more.
- Leaps (⭐743) - Pair programming service using Operational Transforms.
- lgo (⭐2.3k) - 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.
- mockingjay (⭐548) - Fake HTTP servers and consumer driven contracts from one configuration file. You can also make the server randomly misbehave to help do more realistic performance tests.
- myLG (⭐2.7k) - Command Line Network Diagnostic tool written in Go.
- naclpipe (⭐24) - Simple NaCL EC25519 based crypto pipe tool written in Go.
- nes (⭐5.3k) - Nintendo Entertainment System (NES) emulator written in Go.
- Orbit (⭐179) - A simple tool for running commands and generating files from templates.
- peg (⭐958) - Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator.
- Plik (⭐1.4k) - Plik is a temporary file upload system (Wetransfer like) in Go.
- scc (⭐5.7k) - Sloc Cloc and Code, a very fast accurate code counter with complexity calculations and COCOMO estimates.
- shell2http (⭐1.2k) - Executing shell commands via http server (for prototyping or remote control).
- Snitch (⭐17) - Simple way to notify your team and many tools when someone has deployed any application via Tsuru.
- Stack Up (⭐2.5k) - Stack Up, a super simple deployment tool - just Unix - think of it like 'make' for a network of servers.
- syncthing - Open, decentralized file synchronization tool and protocol.
- tcpprobe (⭐351) - TCP tool for network performance and path monitoring, including socket statistics.
- toxiproxy (⭐10k) - Proxy to simulate network and system conditions for automated tests.
- tsuru - Extensible and open source Platform as a Service software.
- vaku (⭐151) - CLI & API for folder-based functions in Vault like copy, move, and search.
- vFlow (⭐1.1k) - High-performance, scalable and reliable IPFIX, sFlow and Netflow collector.
- wellington (⭐304) - Sass project management tool, extends the language with sprite functions (like Compass).
- woke (⭐417) - Detect non-inclusive language in your source code.
Benchmarks / Libraries for creating HTTP middlewares
- autobench (⭐99) - Framework to compare the performance between different Go versions.
- go-benchmark-app (⭐27) - Powerful HTTP-benchmark tool mixed with Аb, Wrk, Siege tools. Gathering statistics and various parameters for benchmarks and comparison results.
- go-benchmarks (⭐146) - Few miscellaneous Go microbenchmarks. Compare some language features to alternative approaches.
- gospeed (⭐116) - Go micro-benchmarks for calculating the speed of language constructs.
Conferences / Libraries for creating HTTP middlewares
E-books for purchase / Libraries for creating HTTP middlewares
- 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.
- 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 / Libraries for creating HTTP middlewares
- Go 101 - A book focusing on Go syntax/semantics and all kinds of details.
Gophers / Libraries for creating HTTP middlewares
- Free Gophers Pack (⭐3.3k) - Gopher graphics pack by Maria Letta with illustrations and emotional characters in vector and raster.
Meetups / Libraries for creating HTTP middlewares
Style Guides / Libraries for creating HTTP middlewares
Twitter / Libraries for creating HTTP middlewares
Reddit / Libraries for creating HTTP middlewares
Websites / Libraries for creating HTTP middlewares
- 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 Code Club - A group of Gophers read and discuss a different Go project every week.
- go.dev - A hub for Go developers.
- gocryforhelp (⭐41) - Collection of Go projects that needs help. Good place to start your open-source way in Go.
- Golang Resources - A curation of the best articles, exercises, talks and videos to learn Go.
- Gophercises - Free coding exercises for budding gophers.
- json2go - Advanced JSON to Go struct conversion - online tool.
Tutorials / Libraries for creating HTTP middlewares
- Go By Example - Hands-on introduction to Go using annotated example programs.
- goapp (⭐749) - An opinionated guideline to structure & develop a Go web application/service.
- Golangbot - Tutorials to get started with programming in Go.
- 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.
- Learning Go by examples - Series of articles in order to learn Golang language by concrete applications as example.
]]>