Introduction Some of my notes reading the book “100 mistakes in Golang”. Mistakes 2 - Code and Project organization init() The Problem: init() functions execute in dependency order, not import order. // main.go imports pkgA, pkgA imports pkgB // Outp...
tigerabrodi.blog31 min read
No responses yet.