
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...
Obsessed with crafting software.
Just a guy who loves to write code and watch anime.
Markdown supported · ⌘↵ to post
No responses yet.