mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-12-03 22:39:24 +02:00
Moved transition service into issue service, because it relates to the issue api calls
This commit is contained in:
2
jira.go
2
jira.go
@@ -28,7 +28,6 @@ type Client struct {
|
||||
Issue *IssueService
|
||||
Project *ProjectService
|
||||
Board *BoardService
|
||||
Transition *TransitionService
|
||||
Sprint *SprintService
|
||||
}
|
||||
|
||||
@@ -57,7 +56,6 @@ func NewClient(httpClient *http.Client, baseURL string) (*Client, error) {
|
||||
c.Issue = &IssueService{client: c}
|
||||
c.Project = &ProjectService{client: c}
|
||||
c.Board = &BoardService{client: c}
|
||||
c.Transition = &TransitionService{client: c}
|
||||
c.Sprint = &SprintService{client: c}
|
||||
|
||||
return c, nil
|
||||
|
||||
Reference in New Issue
Block a user