Go sql examples
Go sql examples using sqlx
Assume you have two models a type Business and a type Widget in a one to many relationship.
I want to demonstrate two ways that you can load the widgets into a business object using sqlx. I am using postgresql.