5 lines
170 B
Go
5 lines
170 B
Go
|
package validators
|
||
|
|
||
|
// ValidatorFunc represents signature for data validation function.
|
||
|
type ValidatorFunc func(thing interface{}, optional ...interface{}) []interface{}
|