1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-08-08 22:36:41 +02:00

moved auth from user package and added timezone to context values

This commit is contained in:
Lee Brown
2019-08-04 14:48:43 -08:00
parent fad0801379
commit bb9820ffcc
62 changed files with 3740 additions and 1008 deletions

View File

@ -83,6 +83,8 @@ func (err *Error) Error() string {
func (er *Error) Response(ctx context.Context, htmlEntities bool) ErrorResponse {
var r ErrorResponse
r.StatusCode = er.Status
if er.Message != "" {
r.Error = er.Message
} else {