liuxiaolong
2020-05-27 0b026a39029cf04954e2fc2ffe52e40720a7faa7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package util
 
import (
    "fmt"
    "path"
    "testing"
)
 
func TestGenValidateCode(t *testing.T) {
    for i:=0;i<10000;i++ {
        str := GenValidateCode(6)
 
        fmt.Println(str)
    }
}
 
type VS struct {
    Name string
    Version int
    Param map[string]int
}
 
func TestKrand(t *testing.T) {
    base := path.Base("/opt/vasystem/libs/face")
    fmt.Println("base:",base)
}