Closed shogo-ma closed 6 years ago
NewPGStore creates a new PGStore instance and a new database/sql pool.
I think not be necessary to add a new NewPostgresStoreFromPool
. If you want to add this, please describe more details about usage.
Sorry for my rough explanation.
go-sqlmock
for a mock of session, so I want to use sql.DB
returned bysqlmock.New ()
.
I added postgres pool support.