Skip to content

Commit b6bc5b4

Browse files
committed
fix: gomobile init fails due to changes to Go modules
Go install requires a version to be provided after the package name. gomobile init is updated to reflect this new requirement Fixes #50994
1 parent 858099f commit b6bc5b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/gomobile/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func runInit(cmd *command) error {
7878
}()
7979

8080
// Make sure gobind is up to date.
81-
if err := goInstall([]string{"golang.org/x/mobile/cmd/gobind"}, nil); err != nil {
81+
if err := goInstall([]string{"golang.org/x/mobile/cmd/gobind@latest"}, nil); err != nil {
8282
return err
8383
}
8484

0 commit comments

Comments
 (0)