# Functions
MustMarshal helper function that wraps json.Marshal.
NewMockedHTTPClient creates and configures an http.Client that points to a mocked GitHub's backend API.
WithRequestMatch implements a simple FIFO for requests of the given `pattern`.
WithRequestMatchHandler implements a request callback for the given `pattern`.
WriteError helper function to write errors to HTTP handlers.
# Variables
No description provided by the author
# Structs
EndpointPattern models the GitHub's API endpoints.
EnforceHostRoundTripper rewrites all requests with the given `Host`.
FIFOReponseHandler handler implementation that responds to the HTTP requests following a FIFO approach.
# Type aliases
MockBackendOption is used to configure the *mux.router for the mocked backend.