Documentation ¶
Index ¶
- func Validate(checks ...Check) error
- type Check
- func CheckEmailAddress(addr string) Check
- func CheckErr(err error) Check
- func CheckMultiple(checks ...Check) Check
- func CheckNetworkPort(in int) Check
- func CheckNotNil(in any) Check
- func CheckStringIs(in string, match string) Check
- func CheckStringIsEither(in string, options ...string) Check
- func CheckStringNotEmpty(in string) Check
- func CheckUTF8StringMaxLength(in string, max int) Check
- func CheckUTF8StringMinLength(in string, min int) Check
- func CheckWhen(ok bool, v Check) Check
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Check ¶
type Check func() error
func CheckEmailAddress ¶
func CheckMultiple ¶
func CheckNetworkPort ¶
func CheckNotNil ¶
func CheckStringIs ¶
func CheckStringIsEither ¶
func CheckStringNotEmpty ¶
Click to show internal directories.
Click to hide internal directories.