This commit is contained in:
兔子
2023-08-18 18:44:16 +08:00
parent 46777d69e4
commit ad53d853aa
2 changed files with 27 additions and 1 deletions

View File

@@ -56,6 +56,7 @@ func init() {
Password.Verify = PasswordVerify
Rand.Int = RandInt
Rand.String = RandString
Rand.Slice = RandSlice
Struct.Set = StructSet
Struct.Get = StructGet
Struct.Del = StructDel
@@ -155,6 +156,7 @@ var Password struct {
var Rand struct {
Int func(max int, min ...int) (result int)
String func(length int, chars ...string) (result string)
Slice func(slice []any, limit any) (result []any)
}
var Struct struct {