Browse Source

adding URL property to Hook struct

Brad Harris 10 years ago
committed by Will Norris
parent
commit
59f41ca3f7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      github/repos_hooks.go

+ 1
- 0
github/repos_hooks.go View File

@ -70,6 +70,7 @@ type Hook struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
Name *string `json:"name,omitempty"`
URL *string `json:"url,omitempty"`
Events []string `json:"events,omitempty"`
Active *bool `json:"active,omitempty"`
Config map[string]interface{} `json:"config,omitempty"`


Loading…
Cancel
Save