go-sqlite icon indicating copy to clipboard operation
go-sqlite copied to clipboard

why golang expects import "modernc.org/sqlite"?

Open Demired opened this issue 11 months ago • 1 comments

➜ sqlite go run main.go main.go:9:2: code in directory /Users/zhangyuan/go/src/github.com/glebarez/go-sqlite expects import "modernc.org/sqlite" ➜ sqlite go version go version go1.21.5 darwin/arm64

Demired avatar Mar 05 '24 09:03 Demired

similar situation here, when I was cross compile the code:

        imports github.com/glebarez/sqlite
        imports github.com/glebarez/go-sqlite
        imports modernc.org/libc
        imports modernc.org/libc/unistd: build constraints exclude all Go files in /home/workspace/go/pkg/mod/modernc.org/[email protected]/unistd

shellohunter avatar Jul 01 '24 08:07 shellohunter