package utils import ( "fmt" "pro2d/protos/pb" "testing" ) func TestCreateToken(t *testing.T) { account := &pb.Account{ Phone: "17683852936", Password: "123456", Uid: "12312", } token := CreateToken(account) ac := ParseToken(token) fmt.Println("token: ", token, "\nac: ", ac) }