grim/resticide
Clone
Summary
Browse
Changes
Graph
Add a bunch of stuff to the readme
develop
tip
2016-07-09, Gary Kramlich
f8bc0c4813a9
Add a bunch of stuff to the readme
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
}