Documentation ¶
Index ¶
Constants ¶
View Source
const ( CountryCodeJP = "81" CountryCodeUS = "" CountryCodeXX = "" CountryCodeYY = "" CountryCodeZZ = "" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PhoneNumber ¶
type PhoneNumber struct {
// contains filtered or unexported fields
}
func New ¶
func New(number string) (*PhoneNumber, error)
func (*PhoneNumber) GetCountry ¶
func (ph *PhoneNumber) GetCountry() *Country
func (*PhoneNumber) GetI18nNumber ¶
func (ph *PhoneNumber) GetI18nNumber(countryCode string) string
func (*PhoneNumber) Value ¶
func (ph *PhoneNumber) Value() string
Click to show internal directories.
Click to hide internal directories.