Skip to content

Commit 0355557

Browse files
committed
sqlcmig6: add CustomQueries to Queries
In order to be able to use the custom queries with the `sqlcmig6.Queries`, we assert at compile time that `sqlcmig6.Queries` implements the `CustomQueries` interface.
1 parent d8d2331 commit 0355557

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

db/sqlcmig6/db_custom.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,5 @@ type CustomQueries interface {
4646
// Backend returns the type of the database backend used.
4747
Backend() sqldb.BackendType
4848
}
49+
50+
var _ CustomQueries = (*Queries)(nil)

0 commit comments

Comments
 (0)