package
0.0.0-20240709173018-0c9c3b90e8d1
Repository: https://github.com/santiagobedoa/snippetbox.git
Documentation: pkg.go.dev
# Functions
Matches() returns true if a value matches a provided compiled regular expression pattern.
MaxChars() returns true if a value contains no more than n characters.
MinChars() returns true if a value contains at least n characters.
NotBlank() returns true if a value is not an empty string.
PermittedInt() returns true if a value is in a list of permitted integers.
# Variables
Use the regexp.MustCompile() function to parse a regular expression pattern for sanity checking the format of an email address.