mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-09-16 09:06:19 +02:00
go fmt
This commit is contained in:
2
board.go
2
board.go
@@ -152,4 +152,4 @@ func (s *BoardService) GetAllSprints(boardID string) ([]Sprint, *Response, error
|
|||||||
result := new(sprintsResult)
|
result := new(sprintsResult)
|
||||||
resp, err := s.client.Do(req, result)
|
resp, err := s.client.Do(req, result)
|
||||||
return result.Sprints, resp, err
|
return result.Sprints, resp, err
|
||||||
}
|
}
|
||||||
|
2
issue.go
2
issue.go
@@ -557,4 +557,4 @@ func (s *IssueService) DoTransition(ticketID, transitionID string) (*Response, e
|
|||||||
}
|
}
|
||||||
|
|
||||||
return resp, nil
|
return resp, nil
|
||||||
}
|
}
|
||||||
|
@@ -1,13 +1,13 @@
|
|||||||
package jira
|
package jira
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
"encoding/json"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestIssueGet_Success(t *testing.T) {
|
func TestIssueGet_Success(t *testing.T) {
|
||||||
@@ -464,4 +464,4 @@ func TestIssueService_DoTransition(t *testing.T) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
t.Error("Got error: %v", err)
|
t.Error("Got error: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user