Josh
07 Apr 2016
By Josh

What's in your Larder #1: Go web frameworks

Larder is our new bookmarking service which syncs GitHub starred repos as bookmarks, so you can keep all your code-related resources in one place. We thought we'd start a regular link round-up of interesting repos and articles we've saved to Larder recently. We'll try to keep it on theme each issue (but no promises!).

This week I've been looking at picking up Go, so I've been researching Go web frameworks. Here are some personal picks that made it into my larder.

gin-gonic/gin

Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster.

labstack/echo

Echo is a fast and unfancy micro web framework for Go.

kataras/iris

The fastest go web framework which provides robust set of features for building modern & shiny web applications

go-macaron/macaron

Package macaron is a high productive and modular web framework in Go.

Macaron's angle is that it uses dependency injection to provide required resources for each request handler. This is maybe not idiomatic Go, but it seems quite useful.

And some bonus Go tools:

go-python/gopy

gopy generates a CPython extension module from a go package.

Gopy makes it dead easy to call your Go code from Python, which should be useful for me in converting heavy background tasks for our web apps from Python to Go.

masterminds/glide

Package Management for Golang

Glide bills itself as the "pip, cargo, or npm equivalent" for Go. Handy!