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

Method String

internal/codegen/golang/imports.go:22–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22func (s ImportSpec) String() string {
23 if s.ID != "" {
24 return fmt.Sprintf("%s %q", s.ID, s.Path)
25 } else {
26 return fmt.Sprintf("%q", s.Path)
27 }
28}
29
30func mergeImports(imps ...fileImports) [][]ImportSpec {
31 if len(imps) == 1 {

Callers 5

cmd.goFile · 0.45
ParseEnvFunction · 0.45
getConfigPathFunction · 0.45
initFunction · 0.45
generateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected