Skip to content

Instantly share code, notes, and snippets.

View MavenOfCode's full-sized avatar
🤓
Studying & Working: May be slow to respond

Audie Maven MavenOfCode

🤓
Studying & Working: May be slow to respond
  • Seattle
View GitHub Profile
@tomnomnom
tomnomnom / simple-json-api.go
Created December 20, 2014 16:34
Simple JSON API Server in Go
package main
import (
"encoding/json"
"fmt"
"log"
"net/http"
)
// The `json:"whatever"` bit is a way to tell the JSON