Documentation ¶
Index ¶
- Constants
- func ClickhouseTimeZone(dp *depot.Depot, v string) bool
- func Domain(v string) bool
- func Email(v string) bool
- func GoogleSearchConsoleSiteUrl(dp *depot.Depot, organizationId uint64, v string) bool
- func InSlice[T comparable](s []T, v T) bool
- func NonDisposableEmail(dp *depot.Depot, v string) (isValid bool)
- func OrganizationOwner(dp *depot.Depot, id uint64) bool
- func OrganizationSiteId(dp *depot.Depot, organizationId uint64, siteId uint64) bool
- func OrganizationUserId(dp *depot.Depot, organizationId uint64, userId uint64) bool
- func PlanName(dp *depot.Depot, v string) bool
- func SiteUniqueDomain(dp *depot.Depot, v string, siteId *uint64) bool
- func SiteUrl(dp *depot.Depot, v string) bool
- func Url(v string) bool
- func UserAccessToken(dp *depot.Depot, v string) bool
- func UserActivationToken(dp *depot.Depot, v string) bool
- func UserActive(dp *depot.Depot, id uint64) bool
- func UserEmail(dp *depot.Depot, v string) bool
- func UserEmailVerificationToken(dp *depot.Depot, v string) bool
- func UserEmailVerified(dp *depot.Depot, id uint64) bool
- func UserPasswordResetToken(dp *depot.Depot, v string) bool
- func UserUniqueEmail(dp *depot.Depot, v string) bool
Constants ¶
View Source
const (
DomainRegexpPattern = "^([a-zA-Z0-9]{1}[a-zA-Z0-9_-]{0,62})(\\.[a-zA-Z0-9_]{1}[a-zA-Z0-9_-]{0,62})*?(\\.[a-zA-Z]{1}[a-zA-Z0-9]{0,62})\\.?$"
)
Variables ¶
This section is empty.
Functions ¶
func InSlice ¶
func InSlice[T comparable](s []T, v T) bool
func OrganizationSiteId ¶
func OrganizationUserId ¶
Types ¶
This section is empty.
Source Files ¶
- clickhouse_time_zone.go
- domain.go
- email.go
- google_search_console_site_url.go
- in_slice.go
- non_disposable_email.go
- organization_owner.go
- organization_site_id.go
- organization_user_id.go
- plan_name.go
- site_unique_domain.go
- site_url.go
- url.go
- user_access_token.go
- user_activation_token.go
- user_active.go
- user_email.go
- user_email_verification_token.go
- user_email_verified.go
- user_password_reset_token.go
- user_unique_email.go
Click to show internal directories.
Click to hide internal directories.