phonenumbers

package
v0.2.82 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

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 ...

func GetISO3166

func GetISO3166() []ISO3166

GetISO3166 ...

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL