diff --git a/gogs.go b/gogs.go index dba1328..8ec21d1 100644 --- a/gogs.go +++ b/gogs.go @@ -14,7 +14,7 @@ import ( ) func Version() string { - return "0.7.2" + return "0.7.3" } // Client represents a Gogs API client. diff --git a/repo_hooks.go b/repo_hooks.go index fa3a1e6..06c9687 100644 --- a/repo_hooks.go +++ b/repo_hooks.go @@ -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"` } // _________ __