Closed seferin-x closed 1 year ago
Apologies the workaround i listed above does not compile:
when i try and go get github.com/tabbed/pqtype
i get
go: github.com/tabbed/pqtype@v0.2.0: parsing go.mod: module declares its path as: github.com/sqlc-dev/pqtype but was required as: github.com/tabbed/pqtype
Aologies nce again I had a remaining ref to github.com/tabbed/pqtype
in one of my files. I CAN compile if I manually change the references to github.com/sqlc-dev/pqtype
.
I can't reproduce this on the playground using 1.20.0. Can you ensure that you've upgraded to 1.20.0 and aren't still running 1.19.0?
Version
1.20.0
What happened?
I just generated a new sql.go file. The file ref. a PSQL tabe that has a nullable JSON column.
In the exported file the import is:
import "github.com/tabbed/pqtype"
i work around by manually changing to:
import github.com/sqlc-dev/pqtype
Relevant log output
Database schema
SQL queries
Configuration
Playground URL
No response
What operating system are you using?
Windows
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go