Go Code Roast: Logstash to Prometheus Exporter
March 16, 2023
Today I’m taking a short break from the long topic of structs, to mention a video I just published on my YouTube channel. This is another “Code Roast”, or a review of someone else’s open-source Go project, which has proven to be one of the more popular video types on my channel.
A big thanks to Jakub Surdej who offered his code for review. Watch me review his project,
What is the Best Book to Learn Go in 2023?
After reading every beginner's book I could find on Go, here is my recommended #1 book to help you learn the language.
JSON Tricks: JSON Arrays as Go Structs
How can you marshal and unmarshal JSON array as though it were a struct in Go?
JSON Tricks: Extending an Embedded Marshaler
How can you embed a struct with a custom MarshalJSON() method?
Improve your knowledge of Go