Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Try to follow order in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
svanharmelen committed Jan 17, 2024
1 parent 4bbd9e2 commit 42426a3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions notes.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ type Note struct {
WebURL string `json:"web_url"`
} `json:"author"`
System bool `json:"system"`
Internal bool `json:"internal"`
Confidential bool `json:"confidential"`
ExpiresAt *time.Time `json:"expires_at"`
UpdatedAt *time.Time `json:"updated_at"`
CreatedAt *time.Time `json:"created_at"`
ProjectID int `json:"project_id"`
NoteableID int `json:"noteable_id"`
NoteableType string `json:"noteable_type"`
UpdatedAt *time.Time `json:"updated_at"`
ExpiresAt *time.Time `json:"expires_at"`
CommitID string `json:"commit_id"`
Position *NotePosition `json:"position"`
NoteableID int `json:"noteable_id"`
NoteableType string `json:"noteable_type"`
ProjectID int `json:"project_id"`
NoteableIID int `json:"noteable_iid"`
Resolvable bool `json:"resolvable"`
Resolved bool `json:"resolved"`
ResolvedAt *time.Time `json:"resolved_at"`
ResolvedBy struct {
ID int `json:"id"`
Username string `json:"username"`
Expand All @@ -71,8 +71,8 @@ type Note struct {
AvatarURL string `json:"avatar_url"`
WebURL string `json:"web_url"`
} `json:"resolved_by"`
ResolvedAt *time.Time `json:"resolved_at"`
NoteableIID int `json:"noteable_iid"`
Confidential bool `json:"confidential"`
Internal bool `json:"internal"`
}

// NotePosition represents the position attributes of a note.
Expand Down

0 comments on commit 42426a3

Please sign in to comment.