url

package
v0.0.38-alpha1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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