mockPool implements pool.Pooler for testing
| 47 | |
| 48 | // mockPool implements pool.Pooler for testing |
| 49 | type mockPool struct { |
| 50 | removedConnections map[uint64]bool |
| 51 | mu sync.Mutex |
| 52 | } |
| 53 | |
| 54 | func (mp *mockPool) NewConn(ctx context.Context) (*pool.Conn, error) { |
| 55 | return nil, errors.New("not implemented") |
nothing calls this directly
no outgoing calls
no test coverage detected