Skip to content
A simple demo for a TechTalk on how to create a Golang based RESTful API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api.v1
models
.gitignore
LICENSE
README.md
server.go

README.md

Simple demo on how to build a [very] basic RESTful API with Go

Used for tech-talk I've given.

Note: Based on Golang version 1.3, and assume $GOPATH is configured, as well as the DB connection.

$ go get github.com/shiloa/apidemo
$ cd $GOPATH/src/github.com/shiloa/apidemo
$ go run server.go
$ curl localhost:3001
You can’t perform that action at this time.