Bogus simplifies the creation of a mocked http server using the net/http/httptest
package. It allows the creation of one to many endpoints with unique responses. The interactions of each endpoint are recorded for assertions.
Golang version 1.6 or higher
go get github.com/gomicro/bogus
See the examples within the docs for ways to use the library.
The library will be versioned in accordance with Semver 2.0.0. See the releases section for the latest version. Until version 1.0.0 the libary is considered to be unstable.
It is always highly recommended to vendor the version you are using.
See LICENSE.md for more information.