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