{"modulePath":"github.com/josemrobles/git-webhook-api","version":"v0.0.0-20160828060159-293d2f22b14b","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\n## Types\n\n```go\ntype ApiResponse struct {\n\tAction       string      `json:\"action,omitempty\"`\n\tNumber       int         `json:\"number,omitempty\"`\n\tPull_Request PullRequest `json:\"pull_request,omitempty\"`\n}\n```\n\n```go\ntype Config struct {\n\tFd_Token        string     `json:\"fd_token\"`\n\tGithub_Login    string     `json:\"github_login\"`\n\tGithub_Password string     `json:\"github_password\"`\n\tUsers_Git_Flow  []Reviewer `json:\"users_git_flow\"`\n}\n```\n\n```go\ntype Issue struct {\n\tID        int     `json:\"id,omitempty\"`\n\tNumber    int     `json:\"number,omitempty\"`\n\tState     string  `json:\"state,omitempty\"`\n\tTitle     string  `json:\"title,omitempty\"`\n\tBody      string  `json:\"body,omitempty\"`\n\tUser      User    `json:\"user,omitempty\"`\n\tAssignee  User    `json:\"assignee,omitempty\"`\n\tURL       string  `json:\"url,omitempty\"`\n\tHTMLURL   string  `json:\"html_url,omitempty\"`\n\tAssignees []*User `json:\"assignees,omitempty\"`\n}\n```\nIssue represents a GitHub issue on a repository.\n\n```go\ntype PullRequest struct {\n\tHtml_Url string `json:\"html_url,omitempty\"`\n\tHead     struct {\n\t\tRepo *Repository `json:\"repo,omitempty\"`\n\t} `json:\"head,omitempty\"`\n\tBase struct {\n\t\tUser *User       `json:\"user,omitempty\"`\n\t\tRepo *Repository `json:\"repo,omitempty\"`\n\t} `json:\"base,omitempty\"`\n\tUser *User `json:\"user,omitempty\"`\n}\n```\n\n```go\ntype Repository struct {\n\tID       int    `json:\"id,omitempty\"`\n\tUser     User   `json:\"owner,omitempty\"`\n\tName     string `json:\"name,omitempty\"`\n\tFullName string `json:\"full_name,omitempty\"`\n\tHTMLURL  string `json:\"html_url,omitempty\"`\n}\n```\n\n```go\ntype Reviewer struct {\n\tGithub   string `json:\"github_name,omitempty\"`\n\tFlowdock string `json:\"flowdock_name,omitempty\"`\n}\n```\n\n```go\ntype User struct {\n\tLogin     string `json:\"login,omitempty\"`\n\tID        int    `json:\"id,omitempty\"`\n\tAvatarURL string `json:\"avatar_url,omitempty\"`\n\tName      string `json:\"name,omitempty\"`\n\tType      string `json:\"type,omitempty\"`\n}\n```\n\n","path":"github.com/josemrobles/git-webhook-api/src","name":"main","synopsis":"","isRedistributable":true}
