Dasher is a json rest api written in Golang.
This app is just a playground to learn how to better write idiomatic Go.
Trying to stick to the standard library as much as possible. Added negroni to help with middleware handlers (logger). Playing with prometheus client for adding instrumentation to handlers.
Requires v1.8 since using new http.Shutdown()
{
"version" : "1.0.0",
"address": "0.0.0.0:3000",
"environment": "dev",
"shutdownTimeout": 5,
"debug": false,
"analyticsOAuth": {
"pemFilePath": "./sample.pem",
"serviceEmail": "[email protected]",
"scopes": [
"https://www.googleapis.com/auth/analytics.readonly"
]
}
}
- Add tests
- Looking for ideas to include gRPC
- Build additional middleware components (security checks, login)
- Learn how to use 1.8 Context pkg
- Build a slick frontend
- Get oauth login working
- Test go/dep for /vendor
- Learn more!!