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