Add default branch to repo and change version

This commit is contained in:
Josh Frye 2016-02-12 11:03:04 -05:00
parent 4f98d4dc0d
commit af209485d5
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

@ -92,16 +92,17 @@ type PayloadCommit struct {
}
type PayloadRepo struct {
ID int64 `json:"id"`
Name string `json:"name"`
URL string `json:"url"`
SSHURL string `json:"ssh_url"`
CloneURL string `json:"clone_url"`
Description string `json:"description"`
Website string `json:"website"`
Watchers int `json:"watchers"`
Owner *PayloadAuthor `json:"owner"`
Private bool `json:"private"`
ID int64 `json:"id"`
Name string `json:"name"`
URL string `json:"url"`
SSHURL string `json:"ssh_url"`
CloneURL string `json:"clone_url"`
Description string `json:"description"`
Website string `json:"website"`
Watchers int `json:"watchers"`
Owner *PayloadAuthor `json:"owner"`
Private bool `json:"private"`
DefaultBranch string `json:"default_branch"`
}
// _________ __