Search posts, tags, users, and pages
organize your containers with Docker Compose and use CURL to make requests
Bogdan N.
@bog · Spain
software engineer
Full Stack Software Engineer, trying to improve one line of code at a time.
Markdown supported · ⌘↵ to post
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
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…
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