awesome-go/README.md

161 lines
7.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Awesome Go
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)
- [Middlewares](#middlewares)
- [Template Engine](#template-engine)
- [Authentication and OAuth](#authentication-and-oauth)
- [Database](#database)
- [Database Drivers](#database-drivers)
- [Imagery](#imagery)
- [Text Processing](#text-processing)
- [Testing](#testing)
- [Audio](#audio)
- [Resources](#resources)
- [Websites](#websites)
- [(e)Books](#ebooks)
## 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.
* [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.
* [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.
### Middlewares
* [negroni](https://github.com/codegangsta/negroni) - Idiomatic HTTP Middleware for Golang
* [alice](https://github.com/justinas/alice) - Painless middleware chaining for Go
## 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.
## 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.
## 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.
* [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.
## 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.
* [GoMySQL](https://github.com/Philio/GoMySQL) - A quite complete threadsafe MySQL client library written in 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.
* 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.
* [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.
## 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.
* [resize](https://github.com/nfnt/resize) - Image resizing for the Go with common interpolation methods.
## Text Processing
* 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.
* [blackfriday](https://github.com/russross/blackfriday) - Markdown
processor in Go
## Testing
*Libraries for testing codebases and generating test data.*
* [gocheck](http://labix.org/gocheck) - A more advanced testing framework alternative to gotest.
* [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.
* [ginkgo](http://onsi.github.io/ginkgo/) - BDD Testing Framework for Go
## 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.
# 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.
* [Flipboard - Go Magazine](https://flipboard.com/section/the-golang-magazine-bVP7nS) - A collection of Go articles and tutorials.
### 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
* [@golang_news](https://twitter.com/golang_news)
## (e)Books
* [golang-book](http://www.golang-book.com/)
# Contributing
Your contributions are always welcome!