Skip to content

Commit

Permalink
fix: json format keys
Browse files Browse the repository at this point in the history
  • Loading branch information
cuotos committed Nov 29, 2024
1 parent 5e646a0 commit 17154bc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ type config struct {
}

type PullRequest struct {
CreatedAt time.Time
Title string
Author string
Head string
Base string
Link string
Draft bool
Mergeable bool
CreatedAt time.Time `json:"created_at,omitempty"`
Title string `json:"title,omitempty"`
Author string `json:"author,omitempty"`
Head string `json:"head,omitempty"`
Base string `json:"base,omitempty"`
Link string `json:"link,omitempty"`
Draft bool `json:"draft,omitempty"`
Mergeable bool `json:"mergeable,omitempty"`
}

func init() {
Expand Down

0 comments on commit 17154bc

Please sign in to comment.