Category: .Go

golang-context

Integrating Golang.org/x/net/context with Negroni

Update: It looks like net/context will now be attached to net/http.Request in Go1.7_early. So, its probably better to stick to negroni + gorilla for development. And wait for Go1.7 to be released. For those who are interested, have a look at: https://github.com/golang/go/issues/14660 https://go-review.googlesource.com/#/c21496   Original post as follows: Golang feels pretty neat and recently I’ve been trying to learn more by developing… Read more →

golang5

How to install GoLang 1.5 on Ubuntu

Check what the latest version are from GoLang: Golang Downloads Download and install (update the version to the latest):

Add /usr/local/lib/go/bin to the PATH environment variable. You can do this by adding this line to your /etc/.profile (for a system-wide installation) or $HOME/.profile:

To remove an older version of Golang:

Read more →

How to install GoLang IDEA Plugin for IntelliJ 14.1.x

So, I decided get started with Golang, and the first thing I really needed was an IDE to work with. Luckily, thanks to the awesome efforts of Mihai Toader, Sergey, Alex and many others from the GO community, there already is a neat open-source plugin for Golang on the IntelliJ platform. It actually simple to install, but not exactly straightforward… Read more →