strcheck

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OnlyNumberReg = regexp.MustCompile("[0-9]+")
)

Functions

func Contains

func Contains(target []string, substr string) bool

func ExtractNumber

func ExtractNumber(phone string) string

func IsEmpty

func IsEmpty(target string) bool

func ValidatePhoneNumber

func ValidatePhoneNumber(phone string, countryCode string) (bool, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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