Browse Source

added license_template to repo struct

Closes #443.

Change-Id: I7c30d4091b11216e0aa1189abe001ac2e7476e49
Anshuman Bhartiya 9 years ago
committed by Glenn Lewis
parent
commit
1bc362c773
1 changed files with 8 additions and 5 deletions
  1. +8
    -5
      github/repos.go

+ 8
- 5
github/repos.go View File

@ -51,11 +51,14 @@ type Repository struct {
License *License `json:"license,omitempty"` License *License `json:"license,omitempty"`
// Additional mutable fields when creating and editing a repository // Additional mutable fields when creating and editing a repository
Private *bool `json:"private"`
HasIssues *bool `json:"has_issues"`
HasWiki *bool `json:"has_wiki"`
HasPages *bool `json:"has_pages"`
HasDownloads *bool `json:"has_downloads"`
Private *bool `json:"private"`
HasIssues *bool `json:"has_issues"`
HasWiki *bool `json:"has_wiki"`
HasPages *bool `json:"has_pages"`
HasDownloads *bool `json:"has_downloads"`
LicenseTemplate *string `json:"license_template,omitempty"`
GitignoreTemplate *string `json:"gitignore_template,omitempty"`
// Creating an organization repository. Required for non-owners. // Creating an organization repository. Required for non-owners.
TeamID *int `json:"team_id"` TeamID *int `json:"team_id"`


Loading…
Cancel
Save