|
You are here |
mfbmina.dev | ||
| | | | |
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. | |
| | | | |
markphelps.me
|
|
| | | | | 4 Tips for Testing Your API Client | |
| | | | |
bartlomiejmika.com
|
|
| | | | | Learn how to protect API endpoints with access and refresh tokens using the third-party jwt-go library. | |
| | | | |
hjr265.me
|
|
| | | I know many will start with something like Gin whenever they are working on a JSON/HTTP-based backend in Go. I, not entirely sure if the minority, try to stick to Go's built-in net/http package and, at most, use Gorilla Mux in most of my Go projects. And so serving something simple like JSON is no different from the package's point of view as any other content type: whatever it is, write it out to the w, the http. | ||