Category Archives: Go

An example Go (golang) REST service that uses JWT (JSON Web Tokens) and Negroni

I’ve been messing with the idea of re-writing a project of mine in Go (for fun and learning). While I’ve been looking over my options I decided to evaluate JWT (JSON Web Tokens) rather than rolling my own concoction (which … Continue reading

Posted in Go, Open Source | 1 Comment

Fixing a Race Condition using a Mutex with Go (golang)

I was recently reading some articles on Go (golang) and it it got me to trying out a few techniques. New gophers may not know but Go allows you to compile your code to detect race conditions. Google has even … Continue reading

Posted in Go, Open Source | 3 Comments

Deploy a Go (golang) application to a minimal sized Docker container

Docker and Go have both been getting a lot of attention and rightfully so for the particular problems each one solves. Today I’m going to focus on something each technology does very well and that is building an application that … Continue reading

Posted in Go, Open Source | 2 Comments

Fetching a remote configuration using Consul and Go (golang)

Nowadays its pretty common to spin up a Docker container that will run an application to do some sort of work or processing. Many times this application requires some sort of configuration to set it up correctly to run. With … Continue reading

Posted in Go, Open Source | 2 Comments

Go: Simple, Easy, Fast – Building a Go (golang) REST Service with Gorilla

There are a lot of tools out there for Go (golang) to build REST based services. Gorilla is a web toolkit for the Go programming language. With Gorilla you can build RPC services, WebSocket apps and many more. Today I’m … Continue reading

Posted in Go, Open Source | 3 Comments

The two minute guide to using Viper – configuration management with Go (golang)

A per the website Viper is a complete configuration solution. Designed to work within an application to handle file based configuration and seamlessly marry that with command line flags which can also be used to control application behavior”. You can … Continue reading

Posted in Go, Open Source | 1 Comment

Tutorial: Go (Golang) Pointers in 5 Minutes

In my previous Go articles I showed you how to setup Go on Ubuntu as well as how to create a couple different REST projects (here and here). Today, I’m going to go over how to use pointers and references … Continue reading

Posted in Go, Open Source | 2 Comments

Creating a REST API using Go (GoLang) and Goweb

In my last article I showed you how to create a simple REST project using JAS. Today, I’ll show you how to use another Go REST framework called: Goweb.

Posted in Go, Open Source, REST | 2 Comments

Creating a REST API using Go (GoLang) and JAS (JSON API Server)

In a previous article I showed you how to get Go up and running on an Ubuntu 13.04 Desktop system. Today, I’ll show you how to build a simple REST API using Go. In particular, I’ll be using JAS (JSON … Continue reading

Posted in Go, Open Source, REST | 1 Comment

The two minute guide to getting started with Go (GoLang) on Ubuntu 13.04

According to the website “Go is an open source programming environment that makes it easy to build simple, reliable, and efficient software”. In the community Go has been growing in popularity and where I work it is picking up steam … Continue reading

Posted in Go, Open Source | 3 Comments