apidemo

command module
v0.0.0-...-70cf5ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2016 License: MIT Imports: 5 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL