//
pkg.gl
Category
github.com/barantoraman/GoBookAPI
internal
validator
package
0.0.0-20240104074654-319113ebc8cd
Repository:
https://github.com/barantoraman/gobookapi.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
2
Files
41 SLOC
#
Functions
In
In returns true if a specific value is in a list of strings.
Matches
Matches returns true if a string value matches a specific regexp pattern.
New
New creates a new Validator instance with an empty error map.
Unique
Unique returns true if all string values in a slice are unique.
#
Variables
EmailRX
No description provided by the author
#
Structs
Validator
Validator represents a validation helper with an error map.