Browse Source

Various gofmt fixes from restructuring.

Billy Lynch 13 years ago
parent
commit
17e6197971
4 changed files with 10 additions and 10 deletions
  1. +1
    -1
      github/activity.go
  2. +1
    -1
      github/git_commits.go
  3. +1
    -1
      github/issues.go
  4. +7
    -7
      github/repos_hooks.go

+ 1
- 1
github/activity.go View File

@ -10,5 +10,5 @@ package github
//
// GitHub API docs: http://developer.github.com/v3/users/
type ActivityService struct {
client *Client
client *Client
}

+ 1
- 1
github/git_commits.go View File

@ -6,8 +6,8 @@
package github
import (
"time"
"fmt"
"time"
)
// Commit represents a GitHub commit.


+ 1
- 1
github/issues.go View File

@ -6,9 +6,9 @@
package github
import (
"strconv"
"fmt"
"net/url"
"strconv"
"strings"
"time"
)


+ 7
- 7
github/repos_hooks.go View File

@ -57,13 +57,13 @@ type WebHookAuthor struct {
// Hook represents a GitHub (web and service) hook for a repository.
type Hook struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
Name string `json:"name,omitempty"`
Events []string `json:"events,omitempty"`
Active bool `json:"active,omitempty"`
Config map[string]interface{} `json:"config,omitempty"`
ID int `json:"id,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
Name string `json:"name,omitempty"`
Events []string `json:"events,omitempty"`
Active bool `json:"active,omitempty"`
Config map[string]interface{} `json:"config,omitempty"`
ID int `json:"id,omitempty"`
}
// CreateHook creates a Hook for the specified repository.


Loading…
Cancel
Save