Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: In runInit, install gobind without @latest .
To "make sure gobind is up to date", runInit calls goInstall with "golang.org/x/mobile/cmd/gobind@latest" . But it shouldn't have "@latest". This instruction can replace the gobind command in the user's $GOPATH/bin with an unexpected version. Also, it is possible that "@latest" has a breaking change with the user's application. It is better to call goInstall without "@latest" so that it will follow the directives in the user's go.mod file. Signed-off-by: jefft0 <[email protected]>
- Loading branch information