REST is an opinionated library for quickly creating RESTful micro services. It is built using lessons learned while architecting micro services.
REST makes it easy to use an event broker to send state changes between services.
REST makes it easy to track function performance metrics.
REST makes it easy to mock database, metrics client, and event broker to allow for 100% test code coverage in a RESTful.
package main
import("github.com/dndungu/rest")
todoResource := NewResource("todo").
UseHeaders(headers).
UseType(reflect.TypeOf(FakeFields{})).
UseStorage(&Mongo{}).
UseValidator(&FakeValidator{}).
UseSerializer(&JSON{})