Having issues with importing into project #1512
-
I am pretty new to Go, so I might just be doing something stupid. I have installed Ebiten with the command: go get github.com/hajimehoshi/ebiten/v2 - Windows environment. I notice it has installed into pkg\mod\github.com\hajimehoshi\ebiten\[email protected]. I am using Visual Code with linter installed. The linter keeps complaining that it cannot find the package (See image). It is a pretty new installation and I might have my paths messed up, but I don't think so. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi! Starting out with go can be somewhat confusing. Did you create a go.mod,and checked if gomodules are enabled? (check "go env" in terminal?) |
Beta Was this translation helpful? Give feedback.
Hi!
Starting out with go can be somewhat confusing. Did you create a go.mod,and checked if gomodules are enabled? (check "go env" in terminal?)