internal/template/template.go
Method template.Respond
has 5 return statements (exceeds 4 allowed). Open
Open
func (t *template) Respond(r *request.Request, m *expectation.Match) (response.Response, error) {
args := map[string]interface{}{
"Method": r.Method,
"Path": r.Path,
"Headers": r.Headers,
exported var ErrIllegalStatusCode should have comment or be unexported Open
Open
var ErrIllegalStatusCode = fmt.Errorf("illegal status code")
- Exclude checks
exported type Template should have comment or be unexported Open
Open
Template interface {
- Exclude checks