mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
show github pr number in branches list
This commit is contained in:
parent
de5133ff90
commit
c295deaa81
23 changed files with 360 additions and 101 deletions
15
pkg/commands/models/github.go
Normal file
15
pkg/commands/models/github.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package models
|
||||
|
||||
type GithubPullRequest struct {
|
||||
HeadRefName string `json:"headRefName"`
|
||||
Number int `json:"number"`
|
||||
State string `json:"state"` // "MERGED", "OPEN", "CLOSED"
|
||||
Url string `json:"url"`
|
||||
HeadRepositoryOwner GithubRepositoryOwner `json:"headRepositoryOwner"`
|
||||
}
|
||||
|
||||
type GithubRepositoryOwner struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Login string `json:"login"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue