Documentation ¶
Overview ¶
Description: This package provides a set of functions for functional programming in Go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
Validator is a function type that performs validation on a string value.
It takes three parameters:
- a string which could be the name or key of the value being validated,
- the value being validated, of type reflect.Value,
- a string which could be used for additional context or error message.
The function returns an error if the validation fails.
Click to show internal directories.
Click to hide internal directories.