package
0.0.0-20250307173044-634e8ce82c05
Repository: https://github.com/sapcc/go-bits.git
Documentation: pkg.go.dev

# Functions

DeepEqual checks if the actual and expected value are equal as determined by reflect.DeepEqual(), and t.Error()s otherwise.

# Structs

HTTPRequest is a HTTP request that gets executed by a unit test.

# Interfaces

HTTPRequestBody is the type of field HTTPRequest.RequestBody.
HTTPResponseBody is the type of field HTTPRequest.ExpectBody.

# Type aliases

ByteData implements the HTTPRequestBody and HTTPResponseBody for plain bytestrings.
FixtureFile implements HTTPResponseBody by locating the expected plain-text response body in the given file.
JSONFixtureFile implements HTTPResponseBody by locating the expected JSON response body in the given file.
JSONObject implements HTTPRequestBody and HTTPResponseBody for JSON objects.
StringData implements HTTPRequestBody and HTTPResponseBody for plain strings.