Skip to content

Commit

Permalink
added additional fields for instagram users, to Profile struct
Browse files Browse the repository at this point in the history
  • Loading branch information
sSimuSs committed Jun 30, 2022
1 parent cc80ff2 commit 4f279cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ type Profile struct {
Locale string `json:"locale"`
Timezone float64 `json:"timezone"`
Gender string `json:"gender"`

// instagram user profile
Username string `json:"username,omitempty"`
IsPrivate bool `json:"is_private,omitempty"`
FollowCount int32 `json:"follow_count,omitempty"`
FollowedByCount int32 `json:"followed_by_count,omitempty"`
}

0 comments on commit 4f279cd

Please sign in to comment.