go-gl/gl

Not able to import

Closed this issue · 4 comments

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

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:

See https://github.com/go-gl/gl#usage.

The issue persists, even after reinstalling Go and installing C and using the correct import paths

What was the exact command you ran, and what was its output?

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