config

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DelimiterFend     = ";"
	DelimiterFendName = ":"
	DelimiterRule     = ":"
	DelimiterRuleMeta = "="
)
View Source
var (
	RegexEmailWeak = regexp.MustCompile(`.+@.+\..+`)                                  // https://davidcel.is/posts/stop-validating-email-addresses-with-regex/
	RegexHostname  = regexp.MustCompile(`^[a-zA-Z]([a-zA-Z0-9\-]+[.]?)*[a-zA-Z0-9]$`) // https://tools.ietf.org/html/rfc952
	RegexAlnum     = regexp.MustCompile(`^[a-zA-Z0-9]+$`)
	RegexNumeric   = regexp.MustCompile(`^[0-9]+$`)
	RegexAlpha     = regexp.MustCompile(`^[a-zA-Z]+$`)
	RegexUUID      = regexp.MustCompile(`^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`)
	RegexMD5       = regexp.MustCompile(`^[0-9a-f]{32}$`)
)
View Source
var Validator = validator.New()

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL