grim/resticide

Correctly support query parameters
develop
2016-07-09, Gary Kramlich
92fb02aef02c
Correctly support query parameters
package test
import (
"net/http"
)
// Result is the result of running a Test
type Result struct {
Test *Test
Passed bool
HTTPResponse *http.Response
TestResponse Response
Error error
}
// NewResult creates a new instance of Result
func NewResult(test *Test) *Result {
res := new(Result)
res.Test = test
res.Passed = false
return res
}