ebitengine/ebiten.org

Install instructions don't work

weissm2040 opened this issue · 1 comments

https://ebiten.org/documents/install.html

Following the instructions on this page using go1.16 windows/amd64 to install Ebiten doesn't work.
Trying to execute the following command
go run -tags=example github.com/hajimehoshi/ebiten/v2/examples/rotate

Yields the following result:

no required module provides package github.com/hajimehoshi/ebiten/v2/examples/rotate; to add it:
        go get github.com/hajimehoshi/ebiten/v2/examples/rotate

Attempting to perform the command as instructed then yields this result:

go get github.com/hajimehoshi/ebiten/v2/examples/rotate 
go: downloading github.com/hajimehoshi/ebiten v1.12.9
go: downloading github.com/hajimehoshi/ebiten/v2 v2.0.6
go: downloading golang.org/x/sys v0.0.0-20201009025420-dfb3f7c4e634
go: downloading golang.org/x/mobile v0.0.0-20210208171126-f462b3930c8f
go: downloading github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200707082815-5321531c36a2
go: downloading golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56
go: downloading golang.org/x/image v0.0.0-20200927104501-e162460cd6b5
github.com/hajimehoshi/ebiten/v2/examples/rotate: no Go source files
package github.com/hajimehoshi/ebiten/v2/examples/rotate: build constraints exclude all Go files in C:\Users\someo\go\pkg\mod\github.com\hajimehoshi\ebiten\v2@v2.0.6\examples\rotate

Thanks!

go get github.com/hajimehoshi/ebiten/v2/examples/rotate

Please do go get github.com/hajimehoshi/ebiten/v2 instead.