Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Build A RESTful API in Go

Build A RESTful API in Go

Build a RESTful API that controls a Sphero (http://www.gosphero.com/). Source code is here: https://github.com/jingweno/gundam

Jingwen Owen Ou

February 05, 2014

More Decks by Jingwen Owen Ou

Other Decks in Programming


  1. An endpoint to Sphero • `curl -X PUT localhost:3000/rgb/255,0,0` =>

    change Sphero’s colour to red • TDD an endpoint using Go standard library • TDD an endpoint using Martini and Assert • https://github.com/codegangsta/martini • https://github.com/bmizerany/assert
  2. Q&A