Merge pull request #20 from joshfng/add-default-branch-to-repo-hook
Add default branch to repo and change version
This commit is contained in:
commit
d584b1e0fb
2 changed files with 12 additions and 11 deletions
2
gogs.go
2
gogs.go
|
@ -14,7 +14,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func Version() string {
|
func Version() string {
|
||||||
return "0.7.2"
|
return "0.7.3"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Client represents a Gogs API client.
|
// Client represents a Gogs API client.
|
||||||
|
|
|
@ -102,6 +102,7 @@ type PayloadRepo struct {
|
||||||
Watchers int `json:"watchers"`
|
Watchers int `json:"watchers"`
|
||||||
Owner *PayloadAuthor `json:"owner"`
|
Owner *PayloadAuthor `json:"owner"`
|
||||||
Private bool `json:"private"`
|
Private bool `json:"private"`
|
||||||
|
DefaultBranch string `json:"default_branch"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// _________ __
|
// _________ __
|
||||||
|
|
Loading…
Reference in a new issue