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

Function Combine

internal/config/config.go:290–302  ·  view source on GitHub ↗
(conf Config, pkg SQL)

Source from the content-addressed store, hash-verified

288}
289
290func Combine(conf Config, pkg SQL) CombinedSettings {
291 cs := CombinedSettings{
292 Global: conf,
293 Package: pkg,
294 }
295 if pkg.Gen.Go != nil {
296 cs.Go = *pkg.Gen.Go
297 }
298 if pkg.Gen.JSON != nil {
299 cs.JSON = *pkg.Gen.JSON
300 }
301 return cs
302}

Callers 2

processQuerySetsFunction · 0.92
checkSQLMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected