remove unused variables
This commit is contained in:
@@ -54,8 +54,6 @@ func (m Memberships) ToDetailsWithProjectDetails(projDetails *models.ProjectDeta
|
|||||||
|
|
||||||
// Membership contains membership information.
|
// Membership contains membership information.
|
||||||
type Membership struct {
|
type Membership struct {
|
||||||
client *Client
|
|
||||||
|
|
||||||
HREF string `json:"href"`
|
HREF string `json:"href"`
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Roles Roles `json:"roles"`
|
Roles Roles `json:"roles"`
|
||||||
|
|||||||
@@ -40,8 +40,6 @@ func (o Organizations) ToDetails() []*models.OrganizationDetails {
|
|||||||
|
|
||||||
// Organization contains organization information.
|
// Organization contains organization information.
|
||||||
type Organization struct {
|
type Organization struct {
|
||||||
client *Client
|
|
||||||
|
|
||||||
HREF string `json:"href"`
|
HREF string `json:"href"`
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
|
|||||||
@@ -40,8 +40,6 @@ func (p Projects) ToDetails() []*models.ProjectDetails {
|
|||||||
|
|
||||||
// Project contains project information.
|
// Project contains project information.
|
||||||
type Project struct {
|
type Project struct {
|
||||||
client *Client
|
|
||||||
|
|
||||||
HREF string `json:"href"`
|
HREF string `json:"href"`
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
|
|||||||
@@ -40,8 +40,6 @@ func (u Users) ToDetails() []*models.UserDetails {
|
|||||||
|
|
||||||
// User contains user information.
|
// User contains user information.
|
||||||
type User struct {
|
type User struct {
|
||||||
client *Client
|
|
||||||
|
|
||||||
HREF string `json:"href"`
|
HREF string `json:"href"`
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
FullName string `json:"full_name"`
|
FullName string `json:"full_name"`
|
||||||
|
|||||||
Reference in New Issue
Block a user