/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.philosophicalhacker.com
| | ewintr.nl

[AI summary] A guide on how to use Golang's built-in httptest library to create a mock server and record outbound HTTP requests for unit testing Go applications without external dependencies.
4.1 parsecs

Travel
| |
| | mynameismwd.org

How to make it easier to test HTTP services in Go.
3.7 parsecs

Travel
| |
| | devopsian.net

Practical web client unit-testing in Go by mocking the server side, with examples from my first open-source project
4.3 parsecs

Travel
| |
| | lanre.wtf

Errors in http handlers in Go are ridiculously complex to handler. Depending on how simple or complex your handler is, you can always fail to return an error somewhere after sending the response. Here is how I handle it
19.4 parsecs

Travel
|