aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gogits
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-04-07 18:15:23 -0400
committerUnknwon <u@gogs.io>2017-04-07 18:15:23 -0400
commit65277e47c53ca0df86ac30056be0c1744a552545 (patch)
tree13d24ebc73d062bf96906924157b2971b53a7660 /vendor/github.com/gogits
parent9e3c83372f19853ac1dc164e2fcf58d9779ac0f0 (diff)
api/repo: add Mirror field (#4392)
Diffstat (limited to 'vendor/github.com/gogits')
-rw-r--r--vendor/github.com/gogits/go-gogs-client/gogs.go2
-rw-r--r--vendor/github.com/gogits/go-gogs-client/repo.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/gogits/go-gogs-client/gogs.go b/vendor/github.com/gogits/go-gogs-client/gogs.go
index 2869e6c2..1c81d16f 100644
--- a/vendor/github.com/gogits/go-gogs-client/gogs.go
+++ b/vendor/github.com/gogits/go-gogs-client/gogs.go
@@ -14,7 +14,7 @@ import (
)
func Version() string {
- return "0.12.11"
+ return "0.12.12"
}
// Client represents a Gogs API client.
diff --git a/vendor/github.com/gogits/go-gogs-client/repo.go b/vendor/github.com/gogits/go-gogs-client/repo.go
index f3b393c9..f89aca54 100644
--- a/vendor/github.com/gogits/go-gogs-client/repo.go
+++ b/vendor/github.com/gogits/go-gogs-client/repo.go
@@ -27,6 +27,7 @@ type Repository struct {
Description string `json:"description"`
Private bool `json:"private"`
Fork bool `json:"fork"`
+ Mirror bool `json:"mirror"`
HTMLURL string `json:"html_url"`
SSHURL string `json:"ssh_url"`
CloneURL string `json:"clone_url"`