phonenumber

package module
v0.0.0-...-beae13a Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2019 License: MIT Imports: 3 Imported by: 0

README

phonenumber

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidCharactersInPhoneNumber = errors.New("invalid character")
View Source
var ErrUnsupportableFormat = errors.New("phone number format is unsupportable")

Functions

This section is empty.

Types

type PhoneNumber

type PhoneNumber uint64

func Parse

func Parse(number string) (PhoneNumber, error)

func (PhoneNumber) CountyCode

func (p PhoneNumber) CountyCode() byte

func (PhoneNumber) Local

func (p PhoneNumber) Local() uint32

func (PhoneNumber) Operator

func (p PhoneNumber) Operator() uint16

func (PhoneNumber) String

func (p PhoneNumber) String() string

Jump to

Keyboard shortcuts

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