valiwork/validators/validator_signature.go

5 lines
170 B
Go

package validators
// ValidatorFunc represents signature for data validation function.
type ValidatorFunc func(thing interface{}, optional ...interface{}) []interface{}