Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NumberValidator ¶
type NumberValidator struct {
PositiveInt bool
}
func NewNumberValidator ¶
func NewNumberValidator() *NumberValidator
func (NumberValidator) Evaluate ¶
func (i NumberValidator) Evaluate(value interface{}) (bool, error)
type StringValidator ¶
func NewStringValidator ¶
func NewStringValidator() *StringValidator
func (StringValidator) Evaluate ¶
func (s StringValidator) Evaluate(value interface{}) (bool, error)
Click to show internal directories.
Click to hide internal directories.