Skip to content

Instantly share code, notes, and snippets.

View dougbarrett's full-sized avatar
🆗
coding the things

Doug Barrett dougbarrett

🆗
coding the things
  • Southern California
View GitHub Profile
@peterhellberg
peterhellberg / api.go
Last active January 18, 2019 01:58
A tiny example API written in Go using Martini and Redigo
package main
import (
"flag"
"fmt"
"net/http"
"github.com/codegangsta/martini"
"github.com/garyburd/redigo/redis"
"github.com/martini-contrib/render"