/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

rednafi.com
| | ukiahsmith.com

Use marshaling interfaces from the Go json package to control complex data types in JSON.
9.2 parsecs

Travel
| |
| | risi.co

[AI summary] The blog post explains a Golang issue where custom UnmarshalJSON methods fail to unmarshal outer struct fields due to inner field shadowing and offers two solutions.
7.4 parsecs

Travel
| |
| | andreabergia.com

Error handling is a fundamental aspect of programming. Unless you are writing hello world, you will need to handle errors in your code. In this post, I will discuss a bit the most common approaches used by various programming languages. Return error codes This is one of the most ancient strategies - if a function can fail, it can simply return an error code - often a negative number, or null.
10.4 parsecs

Travel
| |
| | aarol.dev

Anyone who has implemented a simple HTTP 1.1 server can tell you that it is a really simple protocol. Basically, it's a text file that has some specific ...
26.9 parsecs

Travel
|