()
| 3 | import "github.com/sqlc-dev/sqlc/internal/sql/catalog" |
| 4 | |
| 5 | func NewCatalog() *catalog.Catalog { |
| 6 | def := "main" |
| 7 | return &catalog.Catalog{ |
| 8 | DefaultSchema: def, |
| 9 | Schemas: []*catalog.Schema{ |
| 10 | defaultSchema(def), |
| 11 | }, |
| 12 | Extensions: map[string]struct{}{}, |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | func newTestCatalog() *catalog.Catalog { |
| 17 | return catalog.New("main") |
no test coverage detected