awesome-go/README.md

272 lines
15 KiB
Markdown
Raw Normal View History

2014-07-06 14:03:16 +00:00
# Awesome Go
2014-07-06 13:42:15 +00:00
2014-07-06 14:03:16 +00:00
A curated list of awesome Go frameworks, libraries and software. Inspired by [awesome-python](https://github.com/vinta/awesome-python).
- [Awesome Go](#awesome-go)
- [Web Frameworks](#web-frameworks)
2014-07-06 15:31:59 +00:00
- [Middlewares](#middlewares)
2014-07-06 14:03:16 +00:00
- [Template Engine](#template-engine)
2014-07-06 18:47:13 +00:00
- [Forms](#forms)
2014-07-06 14:03:16 +00:00
- [Authentication and OAuth](#authentication-and-oauth)
2014-07-06 14:13:49 +00:00
- [Database](#database)
2014-07-06 15:16:47 +00:00
- [Database Drivers](#database-drivers)
2014-07-06 17:32:55 +00:00
- [Email](#email)
2014-07-06 16:16:10 +00:00
- [ORM](#orm)
2014-07-06 14:21:12 +00:00
- [Imagery](#imagery)
- [Text Processing](#text-processing)
2014-07-06 19:31:37 +00:00
- [Natural Language Processing](#natural-language-processing)
2014-07-06 19:06:11 +00:00
- [Machine Learning](#machine-learning)
2014-07-06 15:05:37 +00:00
- [Testing](#testing)
2014-07-06 15:46:00 +00:00
- [Audio](#audio)
2014-07-06 19:05:27 +00:00
- [Video](#video)
2014-07-06 17:32:52 +00:00
- [DevOps Tools](#devops-tools)
2014-07-06 19:31:24 +00:00
- [Utilities](#utilities)
2014-07-06 14:03:16 +00:00
- [Resources](#resources)
- [Websites](#websites)
2014-07-06 14:46:46 +00:00
- [(e)Books](#ebooks)
2014-07-06 14:03:16 +00:00
## Web Frameworks
*Full stack web frameworks.*
* [Martini](http://martini.codegangsta.io/) - Martini is a powerful package for quickly writing modular web applications/services in Golang.
* [Gorilla](http://www.gorillatoolkit.org/) - Gorilla is a web toolkit for the Go programming language.
* [Gin](http://gin-gonic.github.io/gin/) - Gin is a web framework written in Go! It features a martini-like API with much better performance, up to 40 times faster. If you need performance and good productivity.
* [Goji](https://goji.io) - Goji is a minimalistic web framework for Golang that's high in antioxidants.
* [web.go](http://webgo.io/) - A simple framework to write webapps in Go.
* [pat](https://github.com/bmizerany/pat) - Sinatra style pattern muxer for Gos net/http library, by the author of Sinatra.
* [Revel](http://revel.github.io/) - A high-productivity web framework for the Go language.
2014-07-06 14:07:40 +00:00
* [Beego](http://beego.me/) - beego is an open-source, high-performance web framework for the Go programming language.
* [traffic](https://github.com/pilu/traffic) - Sinatra inspired regexp/pattern mux and web framework for Go.
2014-07-06 15:50:41 +00:00
* [httprouter](https://github.com/julienschmidt/httprouter) - A high performance router. Use this and the standard http handlers to form a very high performance web framework.
2014-07-06 16:28:18 +00:00
* [gocraft/web](https://github.com/gocraft/web) - A mux and middleware package in Go.
2014-07-06 17:10:21 +00:00
* [mango](https://github.com/paulbellamy/mango) - Mango is a modular web-application framework for Go, inspired by Rack, and PEP333.
2014-07-06 15:50:41 +00:00
2014-07-06 14:03:16 +00:00
2014-07-06 15:31:59 +00:00
### Middlewares
* [negroni](https://github.com/codegangsta/negroni) - Idiomatic HTTP Middleware for Golang
* [alice](https://github.com/justinas/alice) - Painless middleware chaining for Go
2014-07-06 14:03:16 +00:00
## Template Engine
*Libraries and tools for templating and lexing.*
* [mustache](https://github.com/hoisie/mustache) - A Go implementation of the Mustache template language.
* [kasia.go](https://github.com/ziutek/kasia.go) - Templating system for HTML and other text documents - go implementation.
* [gold](https://github.com/yosssi/gold) - Gold is a template engine for Go. This simplifies HTML coding in Go web application development. This is influenced by Slim and Jade.
* [Razor](https://github.com/sipin/gorazor) - Razor view engine for Golang.
2014-07-06 16:28:18 +00:00
* [Pongo](https://github.com/flosch/pongo) - A Django-like template engine for Go.
2014-07-06 17:46:06 +00:00
* [Soy](https://github.com/robfig/soy) - Closure templates (aka Soy templates) for Go, following the [official spec](https://developers.google.com/closure/templates/)
2014-07-06 14:03:16 +00:00
2014-07-06 18:47:13 +00:00
## Forms
*Libraries for working with forms.*
* [nosurf](https://github.com/justinas/nosurf) - A CSRF protection middleware for Go.
2014-07-06 14:03:16 +00:00
## Authentication and OAuth
*Libraries for implementing authentications schemes.*
* [goauth](http://alloy-d.net/goauth/) - A Go library for doing header-based OAuth over HTTP or HTTPS. Mostly created for working with Twitter.
* [httpauth](https://github.com/goji/httpauth) - HTTP Authentication middlewares.
2014-07-06 14:03:16 +00:00
2014-07-06 14:13:49 +00:00
## Database
*Databases implemented in Go.*
* [tiedot](https://github.com/HouzuoGuo/tiedot) - Your NoSQL database powered by Golang.
* [diskv](https://github.com/peterbourgon/diskv) - A home-grown disk-backed key-value store.
2014-07-06 15:16:22 +00:00
* [bolt](https://github.com/boltdb/bolt) - A low-level key/value database for Go.
* [go-cache](https://github.com/pmylund/go-cache) - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
2014-07-06 14:13:49 +00:00
2014-07-06 15:16:47 +00:00
## Database Drivers
*Libraties for connecting and operating databases.*
* Relational Databases
* [pq](https://github.com/lib/pq) - Pure Go Postgres driver for database/sql.
* [go-pgsql](https://github.com/lxn/go-pgsql) - A PostgreSQL client package for the Go Programming Language.
* [go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) - MySQL driver for Go.
* [go-sqlite3](https://github.com/mattn/go-sqlite3) - SQLite3 driver for go that using database/sql.
* [go-db](https://github.com/phf/go-db) - Generic database API for Go.
2014-07-06 15:16:47 +00:00
* NoSQL Databases
* [mgo](http://labix.org/mgo) - MongoDB driver for the Go language that implements a rich and well tested selection of features under a very simple API following standard Go idioms.
* [redis](https://github.com/hoisie/redis) - A simple, powerful Redis client for Go.
2014-07-06 17:10:21 +00:00
* [redigo](https://github.com/garyburd/redigo) - Redigo is a Go client for the Redis database.
2014-07-06 15:16:47 +00:00
* [Neo4j-GO](https://github.com/davemeehan/Neo4j-GO) - Neo4j REST Client in golang.
* [gocouch](https://github.com/hoisie/gocouch) - Couchdb client for Go.
* [gomemcache](https://github.com/bradfitz/gomemcache/) - memcache client library for the Go programming language.
2014-07-06 15:16:47 +00:00
2014-07-06 17:32:55 +00:00
## Email
*Libraries that implement email creation and sending*
* [email](https://github.com/jordan-wright/email) - A robust and flexible email library for Go.
2014-07-06 15:16:47 +00:00
2014-07-06 16:16:10 +00:00
## ORM
*Libraries that implement Object-Relational Mapping or datamapping techniques.*
* [BeeDB](https://github.com/astaxie/beedb) - go ORM,support database/sql interfacepq/mysql/sqlite.
* [GORM](https://github.com/jinzhu/gorm) - The fantastic ORM library for Golang, aims to be developer friendly.
* [gorp](https://github.com/coopernurse/gorp) - Go Relational Persistence, ORM-ish library for Go.
* [hood](https://github.com/eaigner/hood) - Database agnostic ORM for Go.
* [QBS](https://github.com/coocood/qbs) - Stands for Query By Struct. A Go ORM.
* [Xorm](https://github.com/go-xorm/xorm) - Simple and powerful ORM for Go.
* [upper.io/db](https://upper.io/db) - Single interface for interacting with different data sources through the use of adapters that wrap mature database drivers.
2014-07-06 14:21:12 +00:00
## Imagery
*Libraries for manipulating images.*
* [img](https://github.com/hawx/img) - A selection of image manipulation tools.
* [svgo](https://github.com/ajstarks/svgo) - Go Language Library for SVG generation.
2014-07-06 14:41:55 +00:00
* [resize](https://github.com/nfnt/resize) - Image resizing for the Go with common interpolation methods.
2014-07-06 14:21:12 +00:00
## Text Processing
2014-07-06 14:34:59 +00:00
* Specific Formats
* [yaml](https://bitbucket.org/zombiezen/yaml) - Implements a YAML 1.2 parser in Go.
* [go-pkg-xmlx](https://github.com/jteeuwen/go-pkg-xmlx) - Extension to the standard Go XML package. Maintains a node tree that allows forward/backwards browsing and exposes some simple single/multi-node search functions.
* [go-pkg-rss](https://github.com/jteeuwen/go-pkg-rss) - This package reads RSS and Atom feeds and provides a caching mechanism that adheres to the feed specs.
2014-07-06 19:06:11 +00:00
* [blackfriday](https://github.com/russross/blackfriday) - Markdown processor in Go
2014-07-06 18:26:25 +00:00
* [bluemonday](https://github.com/microcosm-cc/bluemonday) - HTML Sanitizer
2014-07-06 14:21:12 +00:00
2014-07-06 19:31:37 +00:00
## Natural Language Processing
*Libraries for working with human languages.*
* [go-stem](https://github.com/agonopol/go-stem) - Implementation of the porter stemming algorithm.
* [snowball](https://github.com/goodsign/snowball) - Snowball stemmer port (cgo wrapper) for Go. Provides word stem extraction functionality.
* [paicehusk](https://github.com/Rookii/paicehusk) - Golang implementation of the Paice/Husk Stemming Algorithm
* [go-porterstemmer](https://github.com/reiver/go-porterstemmer) - A native Go clean room implementation of the Porter Stemming algorithm.
* [stemmer](https://github.com/dchest/stemmer) - Stemmer packages for Go programming language. Includes English and German stemmers.
* [snowball](https://github.com/kljensen/snowball) - Go implementation of the Snowball stemmers
* [porter](https://github.com/a2800276/porter) - This is a fairly straighforward port of Martin Porter's C implementation of the Porter stemming algorithm.
* [golibstemmer](https://github.com/rjohnsondev/golibstemmer) - Go bindings for the snowball libstemmer library including porter 2
* [snowball](https://github.com/tebeka/snowball) - Snowball Stemmer for Go [Snowball native](http://snowball.tartarus.org/)
* [icu](https://github.com/goodsign/icu) - Cgo binding for icu4c C library detection and conversion functions. Guaranteed compatibility with version 50.1.
* [libtextcat](https://github.com/goodsign/libtextcat) - Cgo binding for libtextcat C library. Guaranteed compatibility with version 2.2.
* [textcat](https://github.com/pebbe/textcat) - A Go package for n-gram based text categorization, with support for utf-8 and raw text
* [go-eco](https://code.google.com/p/go-eco/) - Similarity, dissimilarity and distance matrices; diversity, equitability and inequality measures; species richness estimators; coenocline models.
* [MMSEGO](https://github.com/awsong/MMSEGO) - This is a GO implementation of [MMSEG](http://technology.chtsai.org/mmseg/) which a Chinese word splitting algorithm.
* [gounidecode](https://github.com/fiam/gounidecode) - Unicode transliterator (also known as unidecode) for Go
* [go-nlp](https://github.com/nuance/go-nlp) - Utilities for working with discrete probability distributions and other tools useful for doing NLP work.
2014-07-06 19:06:11 +00:00
## Machine Learning
*Libraries for Machine Learning.*
* [CloudForest](https://github.com/ryanbressler/CloudForest) - Fast, flexible, multi-threaded ensembles of decision trees for machine learning in pure Go.
2014-07-06 19:14:20 +00:00
* [mlgo](https://code.google.com/p/mlgo/) - This project aims to provide minimalistic machine learning algorithms in Go.
* [go-fann](https://github.com/white-pony/go-fann) - Go bindings for Fast Artificial Neural Networks(FANN) library.
* [neural-go](https://github.com/schuyler/neural-go) - A multilayer perceptron network implemented in Go, with training via backpropagation.
* [bayesian](https://github.com/jbrukh/bayesian) - Naive Bayesian Classification for Golang.
* [shield](https://github.com/eaigner/shield) - Bayesian text classifier with flexible tokenizers and storage backends for Go
* [probab](https://code.google.com/p/probab/) - Probability distribution functions. Bayesian inference. Written in pure Go.
* [libsvm](https://github.com/datastream/libsvm) - libsvm golang version derived work based on LIBSVM 3.14.
* [golinear](https://github.com/danieldk/golinear) - liblinear bindings for Go
* [go-pr](https://github.com/daviddengcn/go-pr) - Pattern recognition package in Go lang.
* [go-galib](https://github.com/thoj/go-galib) - Genetic Algorithms library written in Go / golang
2014-07-06 19:06:11 +00:00
2014-07-06 15:05:37 +00:00
## Testing
*Libraries for testing codebases and generating test data.*
2014-07-06 15:05:37 +00:00
* [gocheck](http://labix.org/gocheck) - A more advanced testing framework alternative to gotest.
* [GoConvey](http://goconvey.co/) - BDD-ish, rspec inspirated testing framework, automatic testing, coverage report and web UI
2014-07-06 15:05:37 +00:00
* [GoSpec](https://github.com/orfjackal/gospec) - BDD-style testing framework for the Go programming language.
* [gospecify](https://github.com/stesla/gospecify) - This provides a BDD syntax for testing your Go code. It should be familiar to anybody who has used libraries such as rspec.
* [gomock](https://code.google.com/p/gomock/) - Mocking framework for the Go programming language.
* [mockhttp.go](https://github.com/tv42/mockhttp.go) - Mock object for Go http.ResponseWriter
* [assert](https://github.com/bmizerany/assert) - Asserts to Go testing
* [Hamcrest](https://github.com/rdrdr/hamcrest) - fluent framework for declarative Matcher objects that, when applied to input values, produce self-describing results.
* [restit](https://github.com/yookoala/restit) - A Go micro framework to help writing RESTful API integration test.
2014-07-06 15:22:24 +00:00
* [ginkgo](http://onsi.github.io/ginkgo/) - BDD Testing Framework for Go
2014-07-06 15:05:37 +00:00
2014-07-06 15:46:00 +00:00
## Audio
*Libraries for manipulating audio.*
* [PortAudio](https://code.google.com/p/portaudio-go/) - Go bindings for the PortAudio audio I/O library.
* [gosndfile](https://github.com/mkb218/gosndfile) - Go bindings for libsndfile.
* [go-sox](https://github.com/krig/go-sox) - libsox bindings for go.
2014-07-06 19:05:27 +00:00
## Video
*Libraries for manipulating video.*
* [gmf](https://github.com/3d0c/gmf) - Go bindings for FFmpeg av* libraries.
* [gst](https://github.com/ziutek/gst) - Go bindings for GStreamer.
* [aac/h264](https://github.com/go-av/codec) - Golang aac/h264 encoder and decoder.
2014-07-06 17:32:52 +00:00
## DevOps Tools
*Software and libraries for DevOps.*
2014-07-06 17:34:33 +00:00
* [Docker](http://www.docker.com/) - An open platform for distributed applications for developers and sysadmins.
* [juju](https://juju.ubuntu.com/) - Automate your cloud infrastructure
* [tsuru](http://www.tsuru.io/) - An extensible and open source Platform as a Service software.
2014-07-06 17:32:52 +00:00
2014-07-06 19:31:24 +00:00
## Utilities
*General utilities and tools to make you're life easier.*
* [Postman](https://github.com/zachlatta/postman) - Command-line utility for batch-sending email.
2014-07-06 17:32:52 +00:00
2014-07-06 18:50:01 +00:00
## Logging
*Libraries for generating and working with log files.*
* [glog](https://github.com/golang/glog) - Leveled execution logs for Go.
* [go-log](https://github.com/siddontang/go-log) - Log lib supports level and multi handlers.
2014-07-06 14:03:16 +00:00
# Resources
Where to discover new Go libraries.
## Websites
* [r/Golang](http://www.reddit.com/r/golang) - News about Go.
* [Trending Go repositories on GitHub today](https://github.com/trending?l=go) - Good place to find new Go libraries.
2014-07-06 14:32:11 +00:00
* [Flipboard - Go Magazine](https://flipboard.com/section/the-golang-magazine-bVP7nS) - A collection of Go articles and tutorials.
2014-07-06 16:20:55 +00:00
### Tutorials
* [A Tour of Go](http://tour.golang.org/) - Interactive tour of Go
* [An Introduction to Programming in Go](http://www.golang-book.com/) - A
beginner's introduction to programming which uses the Go language
* [Working with Go](https://github.com/mkaz/working-with-go) - An intro to go for experienced programmers
* [Go By Example](https://gobyexample.com/) - A hands-on introduction to Go using annotated example programs
## Twitter
2014-07-06 15:25:27 +00:00
* [@golang_news](https://twitter.com/golang_news)
* [@golangweekly](https://twitter.com/golangweekly)
2014-07-06 14:46:46 +00:00
## (e)Books
* [golang-book](http://www.golang-book.com/)
2014-07-06 18:49:13 +00:00
* [golangbootcamp](http://golangbootcamp.com)
* [network-programming](http://jan.newmarch.name/go/)
* [learning-go](http://www.miek.nl/downloads/Go/Learning-Go-latest.pdf)
* [build-applications-web](https://docs.google.com/file/d/0B2GBHFyTK2N8TzM4dEtIWjBJdEk/edit?pli=1)
2014-07-06 15:34:49 +00:00
# Contributing
Your contributions are always welcome!