package domain import "testing" func TestGenerateToken(t *testing.T) { ut := UserAuth{ CompanyId: 8, UserId: 3422174102828544, Phone: "17708397664", PlatformId: 29, AdminType: 1, } tk, _ := ut.CreateAccessToken() t.Log(tk) }