-
Notifications
You must be signed in to change notification settings - Fork 923
Closed
Labels
Description
Version
1.21.0
What happened?
As of 1.21, querier interfaces are being generated with unused imports, breaking compilation. The configuration uses multiple packages, and of course emit_interface
.
Relevant log output
// Code generated by sqlc. DO NOT EDIT.
// versions:
-// sqlc v1.20.0
+// sqlc v1.21.0
package testutilsql
import (
"context"
+ "database/sql"
+ "time"
"github.com/google/uuid"
)
Database schema
No response
SQL queries
No response
Configuration
- schema: "migrations"
queries: "queries/testutil"
engine: "postgresql"
gen:
go:
out: "generated/testutilsql"
emit_interface: true
Playground URL
No response
What operating system are you using?
No response
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go
iamwavecut and acamilleri