Reusable go library that mostly implement standardization in the scope of Spotlibs team
Currently, pkg that are already considered has stable API are
stderr
: standard interface for any error that may occur in the Spotlibs Team Microservicesstdresp
: standard interface to construct standard responsevalidation
: ease validating request forGoravel
frameworkdebug
: capture stack tracemiddleware
: consist of some useful and important predefined middlewaresactivity monitor
: capture and log all incoming & outgoing http request/response. Can properly record request body with content-typeapplication/json
,application/x-www-form-urlencoded
&multipart/form-data
metadata header
: sethttp.Context
with metadata information coming from the request headerrecover
: do recover on panic that occur during processing request inGoravel
with properly giving back appropriatestdresp