pair-monitor-go is an attempt to learn to develop a REST Api using golang. I have used only libraries instead of frameworks like buffalo/revel.
- Test - net/http/httptest, testing
- REST Api - net/http
- ORM - jinzhu/gorm
- hot reload - codegangsta/gin
go run main.go
or
with hot reload gin -i run main.go
- record a dev pairing session:
curl -X POST http://localhost:5000/sessions -d 'dev1=Superman&dev2=Batman'
- get all sessions:
curl -X GET http://localhost:5000/sessions