Tags: simiancreative/simiango
Tags
Add error middleware (#35) * Add error middleware if there is a problem marshalling and writing json the error middleware handles mapping the context errors to a result error and returning json as a 500 * add service input define a method for exposing a request body struct and auto marshaling into the given struct. The struct is then stored on the req object and returned as a param to the config handler
Add before handlers to serivces (#27) * Add before handlers to serivces * Add error result builder * update config BREAKING CHANGE: config now requires config.Enable() * No longer using init on data packages * more accurate test coverage --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump github.com/gin-gonic/gin from 1.8.1 to 1.9.1 (#28) Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.8.1 to 1.9.1. - [Release notes](https://github.com/gin-gonic/gin/releases) - [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md) - [Commits](gin-gonic/gin@v1.8.1...v1.9.1) --- updated-dependencies: - dependency-name: github.com/gin-gonic/gin dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PreviousNext