Skip to content

Commit 9447dde

Browse files
committed
repo: add Repository.Mirror field
1 parent 6422399 commit 9447dde

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

gogs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
func Version() string {
17-
return "0.12.11"
17+
return "0.12.12"
1818
}
1919

2020
// Client represents a Gogs API client.

repo.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ type Repository struct {
2727
Description string `json:"description"`
2828
Private bool `json:"private"`
2929
Fork bool `json:"fork"`
30+
Mirror bool `json:"mirror"`
3031
HTMLURL string `json:"html_url"`
3132
SSHURL string `json:"ssh_url"`
3233
CloneURL string `json:"clone_url"`

0 commit comments

Comments
 (0)