© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Satria H R Harsono
Don't you consider to follow clean architecture? The way you instantiate the pgdb then passing it to model is a bit daunting
Bogdan N.
software engineer
Sure, some people have mentioned it and there's a discussion about my article in this reddit thread that can be pretty helpful for anyone who wants to dig in deeper: reddit.com/r/golang/comments/z0t2qc/modern_api_de…