I want to use this package: github.com/go-sql-driver/mysql
I tried with:
go get -u github.com/go-sql-driver/mysql
It went right, but when I'm importing the package and running the code its gives me an error:
main.go:12:2: no required module provides package github.com/go-sql-driver/mysql: go.mod file not found in current directory or any parent directory; see 'go help modules'