package
1.6.0
Repository: https://github.com/facily-tech/go-core.git
Documentation: pkg.go.dev

# Functions

GetCustomerID retrieve id from ctx.
Logger middleware is a middleware to log everything request that was receved by API.
Recoverer middleware recover panic if it hapens into a request avoiding the application stop due uncacthed panic.
SetCustomerID returns a new context using ctx as parent and inserting id.

# Variables

ContentTypeToLogBody is a list of content-type that the body will be logged.
DontLogBodyOnSuccess default prefix to not log response in case of success.

# Structs

Info is used to load environment variable with the value we want to modify at run time.
JWTConfig contains the requirements to validate a jwt token.