marcboeker / go-duckdb

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

transaction.go not packaged right? #312

Closed yy2428 closed 1 week ago

yy2428 commented 1 week ago

I tried to compile an access module calling duckdb driver and get this error: \go\pkg\mod\github.com\marcboeker\go-duckdb@v1.8.3\transaction.go:6:5: undefined: conn

It seems in transaction.go: 'type tx struct {c *conn}' is not linked to 'type conn struct {duckdbCon .duckdb_connection closed bool tx bool}' in connection.go.

taniabogatsch commented 1 week ago

Have a look at the solutions mentioned in this discussion: https://github.com/marcboeker/go-duckdb/discussions/313