This commit is contained in:
孟帅
2024-03-07 20:08:56 +08:00
parent 6dd8cbadad
commit 0fbc1ad47c
246 changed files with 9441 additions and 2293 deletions

View File

@@ -1,11 +1,17 @@
package validate
// Package validate_test
// @Link https://github.com/bufanyun/hotgo
// @Copyright Copyright (c) 2023 HotGo CLI
// @Author Ms <133814250@qq.com>
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
package validate_test
import (
"github.com/gogf/gf/v2/test/gtest"
"hotgo/utility/validate"
"testing"
)
func TestIsEmail(t *testing.T) {
b := IsEmail("QTT123456@163.com")
b := validate.IsEmail("QTT123456@163.com")
gtest.Assert(true, b)
}