Be careful with Go struct embedding
Be careful with Go struct embedding
Link: https://mattjhall.co.uk/posts/be-careful-with-go-struct-embedding.html
Context
Yikes, this hurts sometimes. Its just like SQLite, but without guardrails. Golang tries to be too lenient with the inferring the values for a struct and create a bag of unexpected behaviours.
Source: techstructive-weekly-61