phone

package
v0.0.0-...-b27e624 Latest Latest
Warning

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

Go to latest
Published: May 5, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const RegionCodeKE = "KE"

Kenya's region code for parsing phone numbers

Variables

This section is empty.

Functions

func FormatValidPhone

func FormatValidPhone(number, regionCode string) (string, error)

Types

type Formatter

type Formatter struct {
	RegionCode string
}

func (Formatter) FormatValidPhone

func (f Formatter) FormatValidPhone(number string) (string, error)

Jump to

Keyboard shortcuts

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