regexp_test.go 274 B

1234567891011121314
  1. // Copyright 2019 github.com. All rights reserved.
  2. // Use of this source code is governed by github.com.
  3. package util
  4. import "testing"
  5. func Test_Mobile(t *testing.T) {
  6. t.Log(IsCNMobile("+8618180877052"))
  7. }
  8. func Test_Email(t *testing.T) {
  9. t.Log(IsEmail("aa@193.cc"))
  10. }