常用类型及数据操作方法
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.
 

15 lines
175 B

package helper
import (
"testing"
)
func Test_IsMobile(t *testing.T) {
s := "1344456907s"
ret := IsMobile(s)
t.Log(ret)
s = "+1@ee.22"
ret = IsEmail(s)
t.Log(ret)
}