If you see a package or project here that is no longer maintained or is not a good fit, please submit a pull request to improve this file. Thank you!
Contents
Audio and Music
Libraries for manipulating audio.
-
EasyMIDI - EasyMidi is a simple and reliable library for working with standard midi file (SMF).
-
flac - Native Go FLAC decoder.
-
flac - Native Go FLAC decoder.
-
gaad - Native Go AAC bitstream parser.
-
go-sox - libsox bindings for go.
-
go_mediainfo - libmediainfo bindings for go.
-
gosamplerate - libsamplerate bindings for go.
-
id3v2 - Fast and stable ID3 parsing and writing library for Go.
-
malgo - Mini audio library.
-
minimp3 - Lightweight MP3 decoder library.
-
mix - Sequence-based Go-native audio mixer for music apps.
-
mp3 - Native Go MP3 decoder.
-
music-theory - Music theory models in Go.
-
PortAudio - Go bindings for the PortAudio audio I/O library.
-
portmidi - Go bindings for PortMidi.
-
taglib - Go bindings for taglib.
-
vorbis - "Native" Go Vorbis decoder (uses CGO, but has no dependencies).
-
waveform - Go package capable of generating waveform images from audio streams.
Authentication and OAuth
Libraries for implementing authentications schemes.
-
authboss - Modular authentication system for the web. It tries to remove as much boilerplate and "hard things" as possible so that each time you start a new web project in Go, you can plug it in, configure, and start building your app without having to build an authentication system each time.
-
branca - Golang implementation of Branca Tokens.
-
casbin - Authorization library that supports access control models like ACL, RBAC, ABAC.
-
cookiestxt - provides parser of cookies.txt file format.
-
Go-AWS-Auth - AWS (Amazon Web Services) request signing library.
-
go-jose - Fairly complete implementation of the JOSE working group's JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs.
-
go-oauth2-server - Standalone, specification-compliant, OAuth2 server written in Golang.
-
gologin - chainable handlers for login with OAuth1 and OAuth2 authentication providers.
-
gorbac - provides a lightweight role-based access control (RBAC) implementation in Golang.
-
goth - provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.
-
httpauth - HTTP Authentication middleware.
-
jwt - Clean and easy to use implementation of JSON Web Tokens (JWT).
-
jwt - Lightweight JSON Web Token (JWT) library.
-
jwt-auth - JWT middleware for Golang http servers with many configuration options.
-
jwt-go - Golang implementation of JSON Web Tokens (JWT).
-
loginsrv - JWT login microservice with plugable backends such as OAuth2 (Github), htpasswd, osiam.
-
oauth2 - Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine and App Engine support.
-
osin - Golang OAuth2 server library.
-
paseto - Golang implementation of Platform-Agnostic Security Tokens (PASETO)
-
permissions2 - Library for keeping track of users, login states and permissions. Uses secure cookies and bcrypt.
-
securecookie - Efficient secure cookie encoding/decoding.
-
session - Go session management for web servers (including support for Google App Engine - GAE).
-
sessiongate-go - Go session management using the SessionGate Redis module.
-
sessions - Dead simple, highly performant, highly customizable sessions service for go http servers.
-
signedvalue - Signed and timestamped strings compatible with Tornado's
create_signed_value , decode_signed_value , and therefore set_secure_cookie and get_secure_cookie .
-
yubigo - Yubikey client package that provides a simple API to integrate the Yubico Yubikey into a go application.
Command Line
Standard CLI
Libraries for building standard or basic Command Line applications.
-
argparse - Command line argument parser inspired by Python's argparse module.
-
argv - Go library to split command line string as arguments array using the bash syntax.
-
cli - Feature-rich and easy to use command-line package based on golang struct tags.
-
cli - Simple and complete API for building command line interfaces in Go.
-
cli-init - The easy way to start building Golang command line applications.
-
climax - Alternative CLI with "human face", in spirit of Go command.
-
cobra - Commander for modern Go CLI interactions.
-
commandeer - Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags.
-
complete - Write bash completions in Go + Go command bash completion.
-
docopt.go - Command-line arguments parser that will make you smile.
-
drive - Google Drive client for the commandline.
-
env - Tag-based environment configuration for structs.
-
flag - Simple but powerful command line option parsing library for Go supporting subcommand.
-
flaggy - A robust and idiomatic flags package with excellent subcommand support.
-
flagvar - A collection of flag argument types for Go's standard
flag package.
-
go-arg - Struct-based argument parsing in Go.
-
go-flags - go command line option parser.
-
gocmd - Go library for building command line applications.
-
kingpin - Command line and flag parser supporting sub commands.
-
liner - Go readline-like library for command-line interfaces.
-
mitchellh/cli - Go library for implementing command-line interfaces.
-
mow.cli - Go library for building CLI applications with sophisticated flag and argument parsing and validation.
-
pflag - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
-
readline - Pure golang implementation that provides most features in GNU-Readline under MIT license.
-
sflags - Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin and other libraries.
-
strumt - Library to create prompt chain.
-
ukautz/clif - Small command line interface framework.
-
urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).
-
wlog - Simple logging interface that supports cross-platform color and concurrency.
-
wmenu - Easy to use menu structure for cli applications that prompts users to make choices.
Advanced Console UIs
Libraries for building Console Applications and Console User Interfaces.
-
aurora - ANSI terminal colors that supports fmt.Printf/Sprintf.
-
cfmt - Contextual fmt inspired by bootstrap color classes.
-
chalk - Intuitive package for prettifying terminal/console output.
-
color - Versatile package for colored terminal output.
-
colourize - Go library for ANSI colour text in terminals.
-
ctc - The non-invasive cross-platform terminal color library does not need to modify the Print method
-
go-ataman - Go library for rendering ANSI colored text templates in terminals.
-
go-colorable - Colorable writer for windows.
-
go-colortext - Go library for color output in terminals.
-
go-isatty - isatty for golang.
-
go-prompt - Library for building a powerful interactive prompt, inspired by python-prompt-toolkit.
-
gocui - Minimalist Go library aimed at creating Console User Interfaces.
-
gommon/color - Style terminal text.
-
gookit/color - Terminal color rendering tool library, support 16 colors, 256 colors, RGB color rendering output, compatible with Windows.
-
mpb - Multi progress bar for terminal applications.
-
progressbar - Basic thread-safe progress bar that works in every OS.
-
simpletable - Simple tables in terminal with Go.
-
tabular - Print ASCII tables from command line utilities without the need to pass large sets of data to the API.
-
termbox-go - Termbox is a library for creating cross-platform text-based interfaces.
-
termtables - Go port of the Ruby library terminal-tables for simple ASCII table generation as well as providing markdown and HTML output.
-
termui - Go terminal dashboard based on termbox-go and inspired by blessed-contrib.
-
tui-go - Go UI library for building rich terminal applications.
-
uilive - Library for updating terminal output in realtime.
-
uiprogress - Flexible library to render progress bars in terminal applications.
-
uitable - Library to improve readability in terminal apps using tabular data.
Configuration
Libraries for configuration parsing.
-
config - JSON or YAML configuration wrapper with environment variables and flags parsing.
-
configure - Provides configuration through multiple sources, including JSON, flags and environment variables.
-
confita - Load configuration in cascade from multiple backends into a struct.
-
conflate - Library/tool to merge multiple JSON/YAML/TOML files from arbitrary URLs, validation against a JSON schema, and application of default values defined in the schema.
-
env - Parse environment variables to Go structs (with defaults).
-
envcfg - Un-marshaling environment variables to Go structs.
-
envconf - Configuration from environment.
-
envconfig - Read your configuration from environment variables.
-
envh - Helpers to manage environment variables.
-
gcfg - read INI-style configuration files into Go structs; supports user-defined types and subsections.
-
go-up - A simple configuration library with recursive placeholders resolution and no magic.
-
goConfig - Parses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.
-
godotenv - Go port of Ruby's dotenv library (Loads environment variables from
.env ).
-
gofigure - Go application configuration made easy.
-
gone/jconf - Modular JSON configuration. Keep you config structs along with the code they configure and delegate parsing to submodules without sacrificing full config serialization.
-
gookit/config - application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge.
-
hjson - Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.
-
ingo - Flags persisted in an ini-like config file.
-
ini - Go package to read and write INI files.
-
joshbetz/config - Small configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP.
-
kelseyhightower/envconfig - Go library for managing configuration data from environment variables.
-
mini - Golang package for parsing ini-style configuration files.
-
store - Lightweight configuration manager for Go.
-
viper - Go configuration with fangs.
-
xdg - Cross platform package that follows the XDG Standard.
Continuous Integration
Tools for help with continuous integration.
-
drone - Drone is a Continuous Integration platform built on Docker, written in Go.
-
gomason - Test, Build, Sign, and Publish your go binaries from a clean workspace.
-
goveralls - Go integration for Coveralls.io continuous code coverage tracking system.
-
overalls - Multi-Package go project coverprofile for tools like goveralls.
-
roveralls - Recursive coverage testing tool.
CSS Preprocessors
Libraries for preprocessing CSS files.
-
c6 - High performance SASS compatible-implementation compiler written in Go.
-
gcss - Pure Go CSS Preprocessor.
-
go-libsass - Go wrapper to the 100% Sass compatible libsass project.
Data Structures
Generic datastructures and algorithms in Go.
-
algorithms - Algorithms and data structures.CLRS study.
-
binpacker - Binary packer and unpacker helps user build custom binary stream.
-
bit - Golang set data structure with bonus bit-twiddling functions.
-
bitset - Go package implementing bitsets.
-
bloom - Bloom filters implemented in Go.
-
bloom - Golang Bloom filter implementation.
-
boomfilters - Probabilistic data structures for processing continuous, unbounded streams.
-
concurrent-writer - Highly concurrent drop-in replacement for
bufio.Writer .
-
conjungo - A small, powerful and flexible merge library.
-
count-min-log - Go implementation Count-Min-Log sketch: Approximately counting with approximate counters (Like Count-Min sketch but using less memory).
-
cuckoofilter - Cuckoo filter: a good alternative to a counting bloom filter implemented in Go.
-
deque - Fast ring-buffer deque (double-ended queue).
-
encoding - Integer Compression Libraries for Go.
-
go-adaptive-radix-tree - Go implementation of Adaptive Radix Tree.
-
go-datastructures - Collection of useful, performant, and thread-safe data structures.
-
go-ef - A Go implementation of the Elias-Fano encoding.
-
go-geoindex - In-memory geo index.
-
go-mcache - Fast in-memory key:value store/cache library. Pointer caches.
-
go-rquad - Region quadtrees with efficient point location and neighbour finding.
-
gods - Go Data Structures. Containers, Sets, Lists, Stacks, Maps, BidiMaps, Trees, HashSet etc.
-
golang-set - Thread-Safe and Non-Thread-Safe high-performance sets for Go.
-
goset - A useful Set collection implementation for Go.
-
goskiplist - Skip list implementation in Go.
-
gota - Implementation of dataframes, series, and data wrangling methods for Go.
-
hilbert - Go package for mapping values to and from space-filling curves, such as Hilbert and Peano curves.
-
hyperloglog - HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction.
-
levenshtein - Levenshtein distance and similarity metrics with customizable edit costs and Winkler-like bonus for common prefix.
-
levenshtein - Implementation to calculate levenshtein distance in Go.
-
mafsa - MA-FSA implementation with Minimal Perfect Hashing.
-
merkletree - Implementation of a merkle tree providing an efficient and secure verification of the contents of data structures.
-
mspm - Multi-String Pattern Matching Algorithm for information retrieval.
-
roaring - Go package implementing compressed bitsets.
-
skiplist - Very fast Go Skiplist implementation.
-
skiplist - Skiplist implementation in Go.
-
trie - Trie implementation in Go.
-
ttlcache - In-memory LRU string-interface{} map with expiration for golang.
-
willf/bloom - Go package implementing Bloom filters.
Database
Databases implemented in Go.
-
badger - Fast key-value store in Go.
-
BigCache - Efficient key/value cache for gigabytes of data.
-
bolt - Low-level key/value database for Go.
-
buntdb - Fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support.
-
cache2go - In-memory key:value cache which supports automatic invalidation based on timeouts.
-
clusteredBigCache - BigCache with clustering support and individual item expiration.
-
cockroach - Scalable, Geo-Replicated, Transactional Datastore.
-
couchcache - RESTful caching micro-service backed by Couchbase server.
-
dgraph - Scalable, Distributed, Low Latency, High Throughput Graph Database.
-
diskv - Home-grown disk-backed key-value store.
-
eliasdb - Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.
-
forestdb - Go bindings for ForestDB.
-
GCache - Cache library with support for expirable Cache, LFU, LRU and ARC.
-
go-cache - In-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
-
goleveldb - Implementation of the LevelDB key/value database in Go.
-
gorocksdb - Gorocksdb is a wrapper for RocksDB written in Go.
-
groupcache - Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
-
influxdb - Scalable datastore for metrics, events, and real-time analytics.
-
ledisdb - Ledisdb is a high performance NoSQL like Redis based on LevelDB.
-
levigo - Levigo is a Go wrapper for LevelDB.
-
moss - Moss is a simple LSM key-value storage engine written in 100% Go.
-
piladb - Lightweight RESTful database engine based on stack data structures.
-
prometheus - Monitoring system and time series database.
-
rqlite - The lightweight, distributed, relational database built on SQLite.
-
Scribble - Tiny flat file JSON store.
-
slowpoke - Key-value store with persistence.
-
tempdb - Key-value store for temporary items.
-
tidb - TiDB is a distributed SQL database. Inspired by the design of Google F1.
-
tiedot - Your NoSQL database powered by Golang.
-
Vasto - A distributed high-performance key-value store. On Disk. Eventual consistent. HA. Able to grow or shrink without service interruption.
Database schema migration.
-
darwin - Database schema evolution library for Go.
-
go-fixtures - Django style fixtures for Golang's excellent built-in database/sql library.
-
go-pg-migrations - A Go package to help write migrations with go-pg/pg.
-
gondolier - Gondolier is a library to auto migrate database schemas using structs.
-
goose - Database migration tool. You can manage your database's evolution by creating incremental SQL or Go scripts.
-
gormigrate - Database schema migration helper for Gorm ORM.
-
migrate - Database migrations. CLI and Golang library.
-
pravasan - Simple Migration tool - currently for MySQL but planning to soon support Postgres, SQLite, MongoDB, etc.
-
soda - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
-
sql-migrate - Database migration tool. Allows embedding migrations into the application using go-bindata.
Database tools.
-
chproxy - HTTP proxy for ClickHouse database.
-
clickhouse-bulk - Collects small insterts and sends big requests to ClickHouse servers.
-
go-mysql - Go toolset to handle MySQL protocol and replication.
-
go-mysql-elasticsearch - Sync your MySQL data into Elasticsearch automatically.
-
kingshard - kingshard is a high performance proxy for MySQL powered by Golang.
-
myreplication - MySql binary log replication listener. Supports statement and row based replication.
-
orchestrator - MySQL replication topology manager & visualizer.
-
pgweb - Web-based PostgreSQL database browser.
-
prep - Use prepared SQL statements without changing your code.
-
pREST - Serve a RESTful API from any PostgreSQL database.
-
rwdb - rwdb provides read replica capability for multiple database servers setup.
-
vitess - vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.
SQL query builder, libraries for building and using SQL.
-
dat - Go Postgres Data Access Toolkit.
-
Dotsql - Go library that helps you keep sql files in one place and use them with ease.
-
gendry - Non-invasive SQL builder and powerful data binder.
-
godbal - Database Abstraction Layer (dbal) for go. Support SQL builder and get result easily.
-
goqu - Idiomatic SQL builder and query library.
-
igor - Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax.
-
ozzo-dbx - Powerful data retrieval methods as well as DB-agnostic query building capabilities.
-
scaneo - Generate Go code to convert database rows into arbitrary structs.
-
sqrl - SQL query builder, fork of Squirrel with improved performance.
-
Squirrel - Go library that helps you build SQL queries.
-
xo - Generate idiomatic Go code for databases based on existing schema definitions or custom queries supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server.
Database Drivers
Libraries for connecting and operating databases.
Date and Time
Libraries for working with dates and times.
-
carbon - Simple Time extension with a lot of util methods, ported from PHP Carbon library.
-
date - Augments Time for working with dates, date ranges, time spans, periods, and time-of-day.
-
dateparse - Parse date's without knowing format in advance.
-
durafmt - Time duration formatting library for Go.
-
feiertage - Set of functions to calculate public holidays in Germany, incl. specialization on the states of Germany (Bundesländer). Things like Easter, Pentecost, Thanksgiving...
-
go-persian-calendar - The implementation of the Persian (Solar Hijri) Calendar in Go (golang).
-
go-sunrise - Calculate the sunrise and sunset times for a given location.
-
goweek - Library for working with week entity in golang.
-
now - Now is a time toolkit for golang.
-
NullTime - Nullable
time.Time .
-
strftime - C99-compatible strftime formatter.
-
timespan - For interacting with intervals of time, defined as a start time and a duration.
-
timeutil - Useful extensions (Timedelta, Strftime, ...) to the golang's time package.
-
tuesday - Ruby-compatible Strftime function.
Distributed Systems
Packages that help with building Distributed Systems.
-
celeriac - Library for adding support for interacting and monitoring Celery workers, tasks and events in Go.
-
consistent - Consistent hashing with bounded loads.
-
digota - grpc ecommerce microservice.
-
drmaa - Job submission library for cluster schedulers based on the DRMAA standard.
-
emitter-io - High performance, distributed, secure and low latency publish-subscribe platform built with MQTT, Websockets and love.
-
flowgraph - MPI-style ready-send coordination layer.
-
gleam - Fast and scalable distributed map/reduce system written in pure Go and Luajit, combining Go's high concurrency with Luajit's high performance, runs standalone or distributed.
-
glow - Easy-to-Use scalable distributed big data processing, Map-Reduce, DAG execution, all in pure Go.
-
go-health - Library for enabling asynchronous dependency health checks in your service.
-
go-jump - Port of Google's "Jump" Consistent Hash function.
-
go-kit - Microservice toolkit with support for service discovery, load balancing, pluggable transports, request tracking, etc.
-
gorpc - Simple, fast and scalable RPC library for high load.
-
grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC.
-
heimdall - An enchanced http client with retry and hystrix capabilities.
-
hprose - Very newbility RPC Library, support 25+ languages now.
-
jaeger - A distributed tracing system.
-
jsonrpc - The jsonrpc package helps implement of JSON-RPC 2.0.
-
jsonrpc - JSON-RPC 2.0 HTTP client implementation.
-
KrakenD - Ultra performant API Gateway framework with middlewares.
-
micro - Pluggable microservice toolkit and distributed systems platform.
-
NATS - Lightweight, high performance messaging system for microservices, IoT, and cloud native systems.
-
|
请发表评论