/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

markphelps.me
| | 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.
3.6 parsecs

Travel
| |
| | bartlomiejmika.com

The purpose of this post is to provide instructions on how to setup a simple RESTful API server, in Golang, using only the net/http package and not any other third-party web framework. You will learn how to create REST endpoints within your project that can handle POST, GET, PUT and DELETE HTTP requests. This is the first post in a multi-post series.
3.0 parsecs

Travel
| |
| | mfbmina.dev

Nowadays, a huge part of a developer's work consists in calling APIs, sometimes to integrate with a team within the company, sometimes to build an integration with a supplier. The other big role in daily work is to write tests. Tests ensure (or should guarantee :D) that all the code written by us works on how it is expected and, therefore, it will not happen any surprises when the feature is running at production environment.
2.2 parsecs

Travel
| |
| | unorde.red

[AI summary] This article provides a technical overview of the Transmission Control Protocol (TCP), explaining how it ensures reliable data transfer over an unreliable network using concepts like ports, sequence numbers, acknowledgments, and connection handshakes.
22.4 parsecs

Travel
|