package
0.0.0-20210302114855-3975a26f6022
Repository: https://github.com/swithek/httpflow.git
Documentation: pkg.go.dev
# Functions
AssertEqualError uses testify's assert package to check if errors are equal or, if assert.AnError is expected, whether an error exists or not.
AssertFilterEqual asserts that two objects are equal.
MockHTTP returns mocked http environment.
QueryResponder asserts the required query values are present in the request.
RequireEqualError uses testify's require package to check if errors are equal or, if assert.AnError is expected, whether an error exists or not.
RequireFilterEqual asserts that two objects are equal.
# Structs
RoundTripperMock is a mock implementation of http.RoundTripper.