You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% go version
go version go1.23.1 darwin/arm64
% go run github.com/go-gl/example/gl21-cube@latest
2024/11/04 05:07:23 Unable to find Go package in your GOPATH, it's needed to load assets: no required module provides package github.com/go-gl/example/gl21-cube: go.mod file not found in current directory or any parent directory; see 'go help modules'
exit status 1
Cloning this repository and running go run ./gl21-cube worked.
The text was updated successfully, but these errors were encountered:
This makes the result binary more portable. It can be copied to another
machine where the source code isn't present and still run okay. Relying
on the go/build package and GOPATH to find assets was the best we could
do before the module mode.
Fixes#85.
Cloning this repository and running
go run ./gl21-cube
worked.The text was updated successfully, but these errors were encountered: