Versions in this module Expand all Collapse all v1 v1.0.3 Dec 17, 2023 v1.0.2 Nov 28, 2023 v1.0.1 Nov 17, 2023 v1.0.0 Nov 13, 2023 Changes in this version + const DriverMysql + const DriverPostgres + const LocaleFR + type Config struct + DB *Database + Locale string + type Database struct + Driver string + Host string + Name string + Password string + Port int + SSLMode string + Username string + type Validator interface + RequestStruct func(elem any) Validator + ValidateMap func(elem map[string]any, rule map[string]string, message ...map[string]string) map[string]any + ValidateRequest func(next http.Handler) http.Handler + ValidateStruct func(elem any) map[string]any + func New(config ...*Config) Validator