MCPcopy
hub / github.com/revel/revel / Domain

Struct Domain

validators.go:383–385  ·  view source on GitHub ↗

Requires a Domain string to be exactly.

Source from the content-addressed store, hash-verified

381
382// Requires a Domain string to be exactly.
383type Domain struct {
384 Regexp *regexp.Regexp
385}
386
387func ValidDomain() Domain {
388 return Domain{domainPattern}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected