Learn How to Build Go Applications From Grafana
Grafana has developed really fast in the past few years. It has been the de facto standard for observability. I have been using grafana and loki for a while and I am really impressed by its performance and the quality of the code. Grafana builds most its backend components in Go. Meanwhile I am also using Go to build stuff. So it seems a good idea to learn some good practice from Grafana’s codebase. Then I found this https://github.com/grafana/grafana/blob/main/contribute/README.md which is a really good guide for building Go applications. I will put some of the points I found useful on coding style, database structure, error handling, etc.