url

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package url provides simple URL type.

Author Mikalai Konan(mikalai.konan@icloud.com).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type URL

type URL string

URL represents a URL type

func (URL) String

func (url URL) String() string

String implementation of Stringer interface

func (*URL) UnmarshalJSON

func (url *URL) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshall implementation for Email

func (URL) Validate

func (url URL) Validate() error

Validate implementation of ozzo-validation Validate interface

func (URL) Value

func (url URL) Value() (value driver.Value, err error)

Value implementation of driver.Valuer

Jump to

Keyboard shortcuts

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