So I am using WSL2 to develop using golang but for some reason I am unable to use other peoples packages.
For example: I am wanting to use the sql driver
https://github.com/go-sql-driver/mysql I am able to go get it and it says it is downloading then it downloads but when I go to use it in my project it just says there is no go mod file, so I was going to use that to manage packages but when I run "go init" it just says initializing git repo and then does not create a go mod file.
I do not mind which way I have to use to get the driver working I just need to get it working. One more thing, I cannot install any packages its not just the sql driver.
Here is my gopath: /home/<username>/go