Skip to content

Commit

Permalink
Made changes based on the review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthaI committed Jul 23, 2024
1 parent dcca2e1 commit 6869111
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 174 deletions.
32 changes: 13 additions & 19 deletions me.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,35 +19,29 @@ type (
User struct {
Auth []string `json:"auth,omitempty"`
City *string `json:"city,omitempty"`
Country string `json:"country,omitempty"`
CreateTime string `json:"create_time,omitempty"`
Country *string `json:"country,omitempty"`
CreateTime *string `json:"create_time,omitempty"`
Department *string `json:"department,omitempty"`
Features Features `json:"features,omitempty"`
Intercom Intercom `json:"intercom,omitempty"`
Invitations []interface{} `json:"invitations,omitempty"`
Features map[string]any `json:"features,omitempty"`
Intercom Intercom `json:"intercom"`
Invitations []interface{} `json:"invitations"`
JobTitle *string `json:"job_title,omitempty"`
ManagedBySCIM bool `json:"managed_by_scim,omitempty"`
ManagedBySCIM *bool `json:"managed_by_scim,omitempty"`
ManagingOrganizationID *string `json:"managing_organization_id,omitempty"`
ProjectMembership map[string]interface{} `json:"project_membership,omitempty"`
ProjectMemberships map[string]interface{} `json:"project_memberships,omitempty"`
Projects []interface{} `json:"projects,omitempty"`
RealName string `json:"real_name,omitempty"`
State string `json:"state,omitempty"`
Projects []string `json:"projects"`
RealName *string `json:"real_name"`
State *string `json:"state"`
TokenValidityBegin *string `json:"token_validity_begin,omitempty"`
User string `json:"user,omitempty"`
UserID string `json:"user_id,omitempty"`
User *string `json:"user"`
UserID *string `json:"user_id"`
ViewedIndicators []string `json:"viewed_indicators,omitempty"`
}

Features struct {
FreeTierEnabled bool `json:"free_tier_enabled,omitempty"`
ReferralEnabled bool `json:"referral_enabled,omitempty"`
ShowConfigDetailsStep bool `json:"show_config_details_step,omitempty"`
}

Intercom struct {
AppID string `json:"app_id,omitempty"`
HMAC string `json:"hmac,omitempty"`
AppID string `json:"app_id"`
HMAC string `json:"hmac"`
}
)

Expand Down
155 changes: 0 additions & 155 deletions me_test.go

This file was deleted.

0 comments on commit 6869111

Please sign in to comment.