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:
Unknwon 2016-02-12 16:27:11 -05:00
commit d584b1e0fb
2 changed files with 12 additions and 11 deletions

View file

@ -14,7 +14,7 @@ import (
)
func Version() string {
return "0.7.2"
return "0.7.3"
}
// Client represents a Gogs API client.

View file

@ -102,6 +102,7 @@ type PayloadRepo struct {
Watchers int `json:"watchers"`
Owner *PayloadAuthor `json:"owner"`
Private bool `json:"private"`
DefaultBranch string `json:"default_branch"`
}
// _________ __