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)
|
|
}
|