// StorePostgreMiddleware allows to setup SQL database
StorePostgreMiddleware allows to setup SQL database
// StorePostgreMiddleware allows to setup SQL database
func StorePostgreMiddleware(db *gorm.DB) gin.HandlerFunc {
	return func(c *gin.Context) {
		store.ToContext(c, postgresql.New(db))
		c.Next()
	}
}
func StorePostgreMiddleware ( db * gorm . DB ) gin . HandlerFunc { return func ( c * gin . Context ) { store . ToContext ( c , postgresql . New ( db ) ) c . Next ( ) } }
StorePostgreMiddleware allows to setup SQL database
StorePostgreMiddleware allows to setup SQL database