MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / New

Function New

internal/pgx/poolcache/poolcache.go:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func New() *Cache {
18 return &Cache{
19 pools: map[string]*pgxpool.Pool{},
20 }
21}
22
23func (c *Cache) Open(ctx context.Context, uri string) (*pgxpool.Pool, error) {
24 if c.closed {

Callers 2

NewClientFunction · 0.92
postgres.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected