Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update dependencies and embed texture file #86

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dmitshur
Copy link
Member

@dmitshur dmitshur commented Nov 3, 2024

Modernize examples slightly.

Use the latest versions of go-gl dependencies in this example module.
Update to a currently supported version of Go. At least Go 1.16 will
be needed in the next commit to use go:embed feature.
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.
@dmitshur dmitshur requested a review from hajimehoshi November 3, 2024 22:45
These are the currently supported major Go versions.
go.mod Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants