Documentation ¶
Index ¶
Constants ¶
View Source
const ( Valid Violation = "Valid" EmptyLongLink = "EmptyLongLink" LongLinkNotURL = "LongLinkNotURL" AliasTooLong = "AliasTooLong" LongLinkTooLong = "LongLinkTooLong" HasFragmentCharacter = "HasFragmentCharacter" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomAlias ¶
type CustomAlias struct {
// contains filtered or unexported fields
}
CustomAlias represents format validator for custom alias
func NewCustomAlias ¶
func NewCustomAlias() CustomAlias
NewCustomAlias creates custom alias validator.
type LongLink ¶
type LongLink struct {
// contains filtered or unexported fields
}
LongLink represents format validator for original long link
Click to show internal directories.
Click to hide internal directories.