Documentation ¶
Index ¶
- Constants
- func ChinaBroadnetNumber(number string) bool
- func ChinaMobile(number string) (status bool, operator string)
- func ChinaMobileNumber(number string) bool
- func ChinaTelecomNumber(number string) bool
- func ChinaUnicomNumber(number string) bool
- func ChinaVirtualNumber(number string) bool
- func Email(email string) bool
- func GetType(name string) (Type string)
- func GetTypeName(Type string) string
- func IdCard(idCard string) bool
Constants ¶
const ( Mobile = "mobile" // 中国移动 Unicom = "unicom" // 中国联通 Telecom = "telecom" // 中国电信 Broadnet = "broadnet" // 中国广电 Virtual = "virtual" // 虚拟 )
Variables ¶
This section is empty.
Functions ¶
func ChinaBroadnetNumber ¶
ChinaBroadnetNumber 验证中国广电手机号码 https://www.qqzeng.com/tongji.html 广电:192
func ChinaMobile ¶
ChinaMobile 验证手机号码 https://baike.baidu.com/item/%E7%94%B5%E8%AF%9D%E5%8F%B7%E7%A0%81/1417271 https://zh.wikipedia.org/wiki/%E4%B8%AD%E5%9B%BD%E5%A4%A7%E9%99%86%E7%A7%BB%E5%8A%A8%E7%BB%88%E7%AB%AF%E9%80%9A%E4%BF%A1%E5%8F%B7%E7%A0%81#cite_note-2 https://www.qqzeng.com/tongji.html
func ChinaMobileNumber ¶
ChinaMobileNumber 验证中国移动手机号码 https://www.qqzeng.com/tongji.html 移动:134 135 136 137 138 139 147 148 150 151 152 157 158 159 172 178 182 183 184 187 188 195 197 198
func ChinaTelecomNumber ¶
ChinaTelecomNumber 验证中国电信手机号码 https://www.qqzeng.com/tongji.html 电信:133 149 153 173 174 177 180 181 189 190 191 193 199
func ChinaUnicomNumber ¶
ChinaUnicomNumber 验证中国联通手机号码 https://www.qqzeng.com/tongji.html 联通:130 131 132 145 146 155 156 166 167 171 175 176 185 186 196
func ChinaVirtualNumber ¶
ChinaVirtualNumber 验证虚拟运营商手机号码 https://www.qqzeng.com/tongji.html 移动/联通/电信: 162 165 167 170 171
Types ¶
This section is empty.