Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnglishTranslator ¶
func EnglishTranslator() ut.Translator
func GetBearerToken ¶
func GetBearerToken(headerGetter types.HeaderGetter) (string, error)
func GetCtxLocal ¶
func GetCtxLocal[TValue interface{}](ctx types.CtxLocalsGetter, key string) (TValue, error)
Types ¶
type ValidationErrors ¶
func Validate ¶
func Validate(data any) ValidationErrors
Click to show internal directories.
Click to hide internal directories.