marcboeker / go-duckdb

go-duckdb provides a database/sql driver for the DuckDB database engine.
MIT License
646 stars 97 forks source link

Error with struct conn in struct tx in transaction.go when committing the changes #136

Closed polestar1988 closed 8 months ago

polestar1988 commented 9 months ago

I have installed and used go-duckdb in my application, the application is working correctly but when I want to commit my changes I get error: could not import github.com/marcboeker/go-duckdb (-: # github.com/marcboeker/go-duckdb ../../snap/golangci-lint/192/go/pkg/mod/github.com/marcboeker/go-duckdb@v1.5.4/transaction.go:6:5: undefined: conn) (typecheck) _ "github.com/marcboeker/go-duckdb" Does any one know the reason and how could I solve it?

marcboeker commented 9 months ago

Could you please share the golangci config, the command it is started with and some details (os version, arch) about the host system, it is running on. golangci is running successfully on my machine with the tests.

marcboeker commented 8 months ago

Closing due to inactivity. Reopen if needed.