Go
- gobyexample.com excellent examples with short and clear explanations, by Mark McGranaghan and Eli Bendersky
- Go in one evening a practical course for experienced programmers. It´s excellent, but it took me more than one evening.
- youtube.com/@FloWoelki watch and listen while Florian is coding
- Google Go Styleguide
The Go Style Guide and accompanying documents codify the current best approaches for writing readable and idiomatic Go
at Google. It has three parts: the style guide, a more verbose style decisions, and best practices. - 100 Go mistakes and how to avoid them a summary of the original book with the same title by Teiva Harsanyi
Test
Testen in Go (Golang) in 90 Minuten // deutsch, Golo Roden, the native web GmbH
Error handling
How to Handle Errors in Go, JetBrains blog
Vulnerability management
govulncheck Go documentation
Folder structure
- Organizing a Go module the official Go guide
- Standard Go Project Layout
- Go (Golang): Endlich Struktur im Code // deutsch, Golo Roden, the native Web GmbH, the recommendation is to not create a pkg folder
- Go Project Layout article on Medium by Kyle C. Quest
- Embrace the Internal Package: A Go-Project Structure for Clarity. article on Medium by Ikwechegh Ukandu
Logging
- Logging in Go with Slog: The Ultimate Guide a betterstack.com article by Ayooluwa Isaiah
- Contextual Logging in Go with Slog a betterstack.com article by Percy Bolmér
- Creating a pretty console logger using Go's slog package, a concrete explanation resulting in a pretty useful slog TextHandler with colored console output that does not add any dependency to your code, Dusted Codes
- A guide to writing slog handlers, Jonathan Amsterdam, jba@google.com
- Slog Handler für bessere Lesbarkeit in lokalen Logs
- Implementing a Dynamic Package-Level Logger in Go a medium.com article by Thisara Weerakoon, this shows how to dynamically set log levels for certain packages and touches the koanf package to manage the logging configuration
JSON
- Convert JSON to Go structs with JSON to Go