Versions in this module Expand all Collapse all v0 v0.2.0 Nov 20, 2023 Changes in this version + func AddErrorMessage(k string, v func(validator.FieldError) string) + func NewStd(code, msg string) error + func NewStdErr(code string, err error) error + func NewValidationErrors(validations validator.ValidationErrors) []validationError + type App struct + Code string + Data any + Error any + Message string + Pagination any + type AppOpt func(*App) + func WithData(data any) AppOpt + func WithErr(err error) AppOpt + func WithPaginate(paginate any) AppOpt + type Std struct + Code string + Message string + func (e Std) Error() string + func (e Std) String() string v0.1.0 Nov 19, 2023 Changes in this version + func Error(c *fiber.Ctx, options ...r.AppErrorOption) error + func ErrorCode(c *fiber.Ctx, code int, options ...r.AppErrorOption) error + func Success(c *fiber.Ctx, options ...r.AppSuccessOption) error