Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSchemes = []string{
"http",
"https",
}
Functions ¶
func Type ¶
func Type() *dataType
Type returns a datatype that implements the field.DataType interface representing urls By default, it validates that the input is a valid url with either http or https scheme since that's common in urls stored in web databases It provides the ability to change this as needed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.