Versions in this module Expand all Collapse all v0 v0.1.2 May 2, 2025 v0.1.1 Apr 22, 2025 Changes in this version + var ErrValueIsEmpty = errors.New("value is empty") + var ErrValueIsNil = errors.New("value is nil") + var ErrValueIsNotNumber = errors.New("value is not a number") + var ErrValueOutOfRange = errors.New("value is out of range") + func ValidateLength(ctx context.Context, obj any, next graphql.Resolver, min int, max int, ...) (res any, err error) + func ValidateNotEmpty(ctx context.Context, obj any, next graphql.Resolver, trim, ornil bool) (res any, err error) + func ValidateRange(ctx context.Context, obj any, next graphql.Resolver, min float64, max float64, ...) (res any, err error) + func ValidateRegex(ctx context.Context, obj any, next graphql.Resolver, pattern string, ...) (res any, err error)