Documentation
¶
Index ¶
- func DurationNotEmpty(value time.Duration) error
- func NotNil(values ...any) error
- func StringLength(value string, minLength int, maxLength int, allowedValues *[]string) error
- func StringNotEmpty(value string) error
- func ValidAPIEndpoint(value string) error
- func ValidAPISecret(value string) error
- func ValidProjectID(value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationNotEmpty ¶
DurationNotEmpty checks if given duration is not empty
func StringLength ¶
StringLength checks a string for the given min and max length
func StringNotEmpty ¶
StringNotEmpty checks if given string is not empty
func ValidAPIEndpoint ¶
ValidAPIEndpoint check if given string is a valid API endpoint
func ValidAPISecret ¶
ValidAPISecret checks if given string isa valid API secret
func ValidProjectID ¶
ValidProjectID check if given string is a valid project ID
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.