Documentation ¶
Index ¶
- type ISO3166
- type PhoneNumberHelper
- func (instance *PhoneNumberHelper) GetISO3166ByCountry(country string) ISO3166
- func (instance *PhoneNumberHelper) GetISO3166ByNumber(number string, withLandLine bool) ISO3166
- func (instance *PhoneNumberHelper) Parse(number string, country string) string
- func (instance *PhoneNumberHelper) ParseWithLandLine(number string, country string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ISO3166 ¶
type ISO3166 struct { Alpha2 string Alpha3 string CountryCode string CountryName string MobileBeginWith []string PhoneNumberLengths []int }
ISO3166 ...
type PhoneNumberHelper ¶
type PhoneNumberHelper struct { }
var PhoneNumber *PhoneNumberHelper
func (*PhoneNumberHelper) GetISO3166ByCountry ¶
func (instance *PhoneNumberHelper) GetISO3166ByCountry(country string) ISO3166
func (*PhoneNumberHelper) GetISO3166ByNumber ¶
func (instance *PhoneNumberHelper) GetISO3166ByNumber(number string, withLandLine bool) ISO3166
GetISO3166ByNumber ...
func (*PhoneNumberHelper) Parse ¶
func (instance *PhoneNumberHelper) Parse(number string, country string) string
Parse mobile number by country
func (*PhoneNumberHelper) ParseWithLandLine ¶
func (instance *PhoneNumberHelper) ParseWithLandLine(number string, country string) string
ParseWithLandLine is Parse mobile and land line number by country
Click to show internal directories.
Click to hide internal directories.