Versions in this module Expand all Collapse all v0 v0.0.2 Oct 12, 2022 v0.0.1 Oct 11, 2022 Changes in this version + var Email = commonregex.EmailRegex.MatchString + var Name = regexp.MustCompile(`^[a-zA-Z0-9_\-]+$`).MatchString + var RepoName = regexp.MustCompile(`^[a-zA-Z0-9_\-/]+$`).MatchString + func Duration(field, value string) (time.Duration, error) + func Field(field, value string, f func(string) bool) error + func In(field, value string, in []string) error + func Require(field, value string) error