package response type LoginResponse struct { Token string `json:"token"` Name string `json:"name"` Role Role `json:"role"` Partner *Partner `json:"partner"` Site *SiteName `json:"site,omitempty"` ResetPassword bool `json:"reset_password"` PartnerLicense *PartnerLicense `json:"partner_license,omitempty"` } type LoginResponseCustoemr struct { ID int64 `json:"id"` Token string `json:"token"` Name string `json:"name"` ResetPassword bool `json:"reset_password"` } type Role struct { ID int64 `json:"id"` Role string `json:"role_name"` } type PartnerLicense struct { DaysToExpire int64 `json:"days_to_expire,omitempty"` Status string `json:"status,omitempty"` }