1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-04-23 12:08:51 +02:00

style: Make code go fmt conform

This commit is contained in:
Andy Grunwald 2020-05-03 15:47:27 +02:00
parent eaaeec5f1c
commit e20a3a057d

View File

@ -32,7 +32,7 @@ const (
// JIRA API docs: https://developer.atlassian.com/cloud/jira/platform/rest/#api-api-2-statuscategory-get
func (s *StatusCategoryService) GetListWithContext(ctx context.Context) ([]StatusCategory, *Response, error) {
apiEndpoint := "rest/api/2/statuscategory"
req, err := s.client.NewRequestWithContext(ctx,"GET", apiEndpoint, nil)
req, err := s.client.NewRequestWithContext(ctx, "GET", apiEndpoint, nil)
if err != nil {
return nil, nil, err
}
@ -48,4 +48,4 @@ func (s *StatusCategoryService) GetListWithContext(ctx context.Context) ([]Statu
// GetList wraps GetListWithContext using the background context.
func (s *StatusCategoryService) GetList() ([]StatusCategory, *Response, error) {
return s.GetListWithContext(context.Background())
}
}