Closed claudiosegala closed 4 years ago
This PR refers to #8 and adapt the code to use gorm.Open only once. My implementation was using the current project pattern and the recommendations given on these threads: [Question] Do you need to close the db connection every request? and Question on pooling/concurrency regarding recent documentation change, suggest clarification.
Thank you, @claudiosegala!
This PR refers to #8 and adapt the code to use gorm.Open only once. My implementation was using the current project pattern and the recommendations given on these threads: [Question] Do you need to close the db connection every request? and Question on pooling/concurrency regarding recent documentation change, suggest clarification.