robotgo
robotgo copied to clipboard
Error version @latest version is v0.100.10.
- Robotgo version (or commit ref):
- Go version:
- Gcc version:
- Operating system and bit:
- Resolution:
- Can you reproduce the bug at Examples:
- [ ] Yes (provide example code)
- [ ] No
- [ ] Not relevant
- Provide example code:
- Log gist:
Description
The @latest version referenced in the https://pkg.go.dev/github.com/go-vgo/robotgo error is v0.100.10; the go mod must be specified as @master version to download the latest version. ...
just open the file path & line according to the notice, edit it like the following, works for me:
// change the line
return geve == 0
// to
return geve == false
Because that's how go get
is defined.
# Upgrade or downgrade to a specific version of a module.
$ go get golang.org/x/[email protected]
# Update to the commit on the module's master branch.
$ go get golang.org/x/text@master
# Upgrade to the latest release version.
$ go get golang.org/x/text@latest
Refer to https://go.dev/ref/mod#go-get.