Versions in this module Expand all Collapse all v1 v1.0.0 Jun 16, 2024 Changes in this version + const ATOM + const CDMA_450_TYPE + const CDMA_800_TYPE + const GSM_TYPE + const MPT + const MYTEL + const OOREDOO + const UNKNOWN + const WCDMA_TYPE + var AtomRegex = regexp.MustCompile(`^(09|\+?959)7(9|8|7)\d{7}$`) + var MptRegex = regexp.MustCompile(...) + var MyTelRegex = regexp.MustCompile(`^(09|\+?959)6([5-9])\d{7}$`) + var MyanmarPhoneRegex = regexp.MustCompile(`^(09|\+?950?9|\+?95950?9)\d{7,9}$`) + var OoredooRegex = regexp.MustCompile(`^(09|\+?959)9(7|6)\d{7}$`) + type MyanmarPhone struct + func NewMyanmarPhone() *MyanmarPhone + func (mm *MyanmarPhone) GetPhoneNetworkType(phoneNumber string) string + func (mm *MyanmarPhone) GetTelecomName(phoneNumber string) string + func (mm *MyanmarPhone) IsValidMyanmarPhone(phoneNumber string) bool + func (mm *MyanmarPhone) SanitizePhoneNumber(phoneNumber string) string