1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-06-14 23:45:03 +02:00

go fmt boards

This commit is contained in:
Evgen Kostenko
2016-06-15 20:15:12 +03:00
parent 81b91847b3
commit 9f8d06db41
4 changed files with 7 additions and 13 deletions

View File

@ -27,7 +27,7 @@ type Client struct {
Authentication *AuthenticationService
Issue *IssueService
Project *ProjectService
Board *BoardService
Board *BoardService
}
// NewClient returns a new JIRA API client.
@ -97,7 +97,6 @@ func (c *Client) NewRequest(method, urlStr string, body interface{}) (*http.Requ
return req, nil
}
// addOptions adds the parameters in opt as URL query parameters to s. opt
// must be a struct whose fields may contain "url" tags.
func addOptions(s string, opt interface{}) (string, error) {
@ -172,8 +171,6 @@ func (c *Client) Do(req *http.Request, v interface{}) (*http.Response, error) {
return resp, err
}
// CheckResponse checks the API response for errors, and returns them if present.
// A response is considered an error if it has a status code outside the 200 range.
// The caller is responsible to analyze the response body.