Answer the question
In order to leave comments, you need to log in
Why does go get throw an error when downloading from git?
go get github.com/go-sql-driver/mysql: invalid github.com import path "github.com/go-sql-driver"
This is the error it gives me. Although I have downloaded git and I even wrote go mod init, it's all to no avail. Pls help.
Answer the question
In order to leave comments, you need to log in
go get -v github.com/go-sql-driver/mysql
did everything download fine?
Now
https://github.com/go-sql-driver/mysql#usage
Then
go mod tidy
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question