tursodatabase / libsql-client-go

Go client API for libSQL
MIT License
190 stars 24 forks source link

missing go.sum entry, error while importing #89

Closed anujdatar closed 10 months ago

anujdatar commented 10 months ago

I keep getting this error

/home/anuj/go/pkg/mod/github.com/libsql/libsql-client-go@v0.0.0-20231116123136-ff4e46c3d3a1/libsql/internal/http/shared/statement.go:10:2: missing go.sum entry for module providing package github.com/antlr/antlr4/runtime/Go/antlr/v4 (imported by github.com/libsql/libsql-client-go/libsql/internal/http/shared); to add:
        go get github.com/libsql/libsql-client-go/libsql/internal/http/shared@v0.0.0-20231116123136-ff4e46c3d3a1
/home/anuj/go/pkg/mod/github.com/libsql/libsql-client-go@v0.0.0-20231116123136-ff4e46c3d3a1/libsql/internal/http/shared/statement.go:11:2: missing go.sum entry for module providing package github.com/libsql/sqlite-antlr4-parser/sqliteparser (imported by github.com/libsql/libsql-client-go/libsql/internal/http/shared); to add:
        go get github.com/libsql/libsql-client-go/libsql/internal/http/shared@v0.0.0-20231116123136-ff4e46c3d3a1
/home/anuj/go/pkg/mod/github.com/libsql/libsql-client-go@v0.0.0-20231116123136-ff4e46c3d3a1/libsql/internal/http/shared/statement.go:12:2: missing go.sum entry for module providing package github.com/libsql/sqlite-antlr4-parser/sqliteparserutils (imported by github.com/libsql/libsql-client-go/libsql/internal/http/shared); to add:
        go get github.com/libsql/libsql-client-go/libsql/internal/http/shared@v0.0.0-20231116123136-ff4e46c3d3a1
/home/anuj/go/pkg/mod/github.com/libsql/libsql-client-go@v0.0.0-20231116123136-ff4e46c3d3a1/libsql/internal/ws/websockets.go:12:2: missing go.sum entry for module providing package nhooyr.io/websocket (imported by github.com/libsql/libsql-client-go/libsql/internal/ws); to add:
        go get github.com/libsql/libsql-client-go/libsql/internal/ws@v0.0.0-20231116123136-ff4e46c3d3a1
/home/anuj/go/pkg/mod/github.com/libsql/libsql-client-go@v0.0.0-20231116123136-ff4e46c3d3a1/libsql/internal/ws/websockets.go:13:2: missing go.sum entry for module providing package nhooyr.io/websocket/wsjson (imported by github.com/libsql/libsql-client-go/libsql/internal/ws); to add:
        go get github.com/libsql/libsql-client-go/libsql/internal/ws@v0.0.0-20231116123136-ff4e46c3d3a1

Edit: i am using go version go1.21.4 linux/amd64 on Fedora

anujdatar commented 10 months ago

Sorry, my mistake. Running go mod tidy fixed it. Closing issue.