/explore
|
You are here |
benhoyt.com | ||
| | | | |
xnacly.me
Guide about working with JSON in go with HTTP server example |
|
| | | | | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
aaronluna.dev
Decorators can be a daunting topic when first encountered. While the Zen of Python states "There should be one- and preferably only one -obvious way to do it", there are many, equally valid ways to implement the same decorator. These different methods can be categorized as either function-based, class-based, or a hybrid of both. In this post I will explain the design and behavior of Python decorators and provide examples of decorators that I frequently use in my own code. |
|
| | | |||