MCPcopy
hub / github.com/sqlc-dev/sqlc / NewClient

Function NewClient

internal/dbmanager/client.go:144–150  ·  view source on GitHub ↗
(servers []config.Server)

Source from the content-addressed store, hash-verified

142}
143
144func NewClient(servers []config.Server) *ManagedClient {
145 return &ManagedClient{
146 cache: poolcache.New(),
147 servers: servers,
148 replacer: shfmt.NewReplacer(nil),
149 }
150}

Callers 4

NewCompilerFunction · 0.92
VerifyFunction · 0.92
fetchDatabaseUriMethod · 0.92
CreateDBFunction · 0.92

Calls 2

NewFunction · 0.92
NewReplacerFunction · 0.92

Tested by

no test coverage detected