Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostalCode ¶
type PostalCode string
PostalCode represents a phone number type
func (PostalCode) String ¶
func (code PostalCode) String() string
String implementation of Stringer interface
func (*PostalCode) UnmarshalJSON ¶
func (code *PostalCode) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshall implementation
func (PostalCode) Validate ¶
func (code PostalCode) Validate() error
Validate implementation of ozzo-validation Validate interface
Click to show internal directories.
Click to hide internal directories.