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 HttpURL ¶ added in v1.0.3
type HttpURL string
HttpURL represents a URL type with http/https schema
func (*HttpURL) UnmarshalJSON ¶ added in v1.0.3
UnmarshalJSON unmarshall implementation for Email
type NullHttpURL ¶ added in v1.0.10
type NullHttpURL string
NullHttpURL represents a URL type with http/https schema Can be empty
func (NullHttpURL) String ¶ added in v1.0.10
func (nullHttpURL NullHttpURL) String() string
String implementation of Stringer interface
func (*NullHttpURL) UnmarshalJSON ¶ added in v1.0.10
func (nullHttpURL *NullHttpURL) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshall implementation for Email
func (NullHttpURL) Validate ¶ added in v1.0.10
func (nullHttpURL NullHttpURL) Validate() (err error)
Validate implementation of ozzo-validation Validate interface
Click to show internal directories.
Click to hide internal directories.