utils_test.go 263 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 package utils import ( "git.hilo.cn/hilo-common/script/utils/jwt" "testing" ) func TestTestCommon(t *testing.T) { TestCommon() } func TestJwt(t *testing.T) { token, _ := jwt.GenerateToken(72, "e95ca43da9d545c4937fa933e3348961", "hiloApi") t.Logf(token) }