/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

mfbmina.dev
| | markphelps.me

4 Tips for Testing Your API Client
2.2 parsecs

Travel
| |
| | 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.
1.8 parsecs

Travel
| |
| | bartlomiejmika.com

Learn how to protect API endpoints with access and refresh tokens using the third-party jwt-go library.
2.0 parsecs

Travel
| |
| | masnun.com

In Go or Golang, declaring an interface is pretty simple and easy. type Printer interface { Print(string) } We just defined an interface named Printerthat required an implementer to have a method named Printwhich takes a stringparameter and returns nothing. Interfaces are implemented implicitly in Go. Any type that has the Print(string)method implements the interface. [...]
24.4 parsecs

Travel
|