You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
李光春 2a9f10fa97
- update
2 years ago
.drone.yml init 2 years ago
.gitignore init 2 years ago
README.md - update 2 years ago
go.mod - update 2 years ago
gopreg.go - 修复电信手机号码验证 2 years ago
gopreg_test.go - 优化手机号码验证 2 years ago
version.go - 修复电信手机号码验证 2 years ago
version_test.go - 优化手机号码验证 2 years ago

README.md

Golang Verify

📦 Golang 手机号验证

godoc goproxy.cn goreportcard.com deps.dev

安装

go get -v -u github.com/dtapps/goverify

导入

import "github.com/dtapps/goverify"

使用

package main

import (
	"github.com/dtapps/goverify"
	"testing"
)

func TestChinaMobile(t *testing.T) {
	t.Log(goverify.ChinaMobile("13800138000"))
}