Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewValidationError ¶
NewValidationError will create a new validation error class
Types ¶
type Country ¶
type Country struct {
// contains filtered or unexported fields
}
Country struct
func NewCountry ¶
func NewCountry() *Country
NewCountry will create a new instance of country struct
func (*Country) GetDialingCode ¶
GetDialingCode will return a country dialing code by the country ISO 3166-1 Alpha-2 code
type ValidationError ¶
type ValidationError struct {
// contains filtered or unexported fields
}
ValidationError struct
Click to show internal directories.
Click to hide internal directories.