package
1.2.85
Repository: https://github.com/let-commerce/backend-common.git
Documentation: pkg.go.dev

# Functions

BindAndValidateDTO method binds new DTO from ctx body.
BindDTO method binds new DTO from ctx body.
BindMap method binds new map from ctx body.
No description provided by the author
GetBoolQuery method binds bool string Param from ctx query (example: "true").
GetDateParam method binds date string Param from ctx (in format: "2006-01-15").
GetDateQuery method binds date string Param from ctx (in format: "2006-01-15").
GetIntParam method binds new int Param from ctx and return http.StatusBadRequest if it couldn't parse.
GetIntQuery method binds new int Param from ctx query and return http.StatusBadRequest if it couldn't parse.
GetStringParam method binds new string Param from ctx.
GetStringQuery method binds new string Query from ctx.
GetUIntParam method binds new uint Param from ctx and return http.StatusBadRequest if it couldn't parse.
GetUIntQuery method binds new uint Param from ctx query and return http.StatusBadRequest if it couldn't parse.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidateAuthorized method validates the given consumer id matches the authenticated one, or he is admin.

# Interfaces

No description provided by the author