Not able to import
Closed this issue · 4 comments
Nabhay commented
The error provided is: go: github.com/go-gl/gl/v3.3/gl@v0.0.0-20231021071112-07e5d0ea2e71: invalid version: missing github.com/go-gl/gl/v3.3/gl/go.mod at revision 07e5d0e
dmitshur commented
There's no package with the import path github.com/go-gl/gl/v3.3/gl
, so an error is expected.
There are packages with the following import paths:
Nabhay commented
The issue persists, even after reinstalling Go and installing C and using the correct import paths
dmitshur commented
What was the exact command you ran, and what was its output?
Nabhay commented
import (
"github.com/go-gl/gl/v3.3-core/gl"
"fmt"
)
This is what I used, and it said broken import, no go.mod files found