▲ 11 ▼ Organising database access in Go
I think the right answer depends on the project.
What's the overall structure and size of the project? What's your approach to testing? How is it likely to grow in the future? All these things and more should play a part when you pick an approach to take.
So in this post I'll take a look at four different methods for organising your code and structuring access to your database connection pool.
Register to comment or vote on this story