You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a simple main package, which works if I do go tool go2go translate main.go2 go run main.go
But it fails if I try to run immediately with command go tool go2go run main.go2
Getting error: cannot find package "run" in any of: C:\Users\justast\Desktop\Go\go\src\run (from $GOROOT) C:\Users\justast\AppData\Local\Temp\go2go1730022865\src\run (from $GOPATH) C:\Users\justast\Desktop\Go\go2\src\run C:\Users\justast\Desktop\Go\go\bin\go [run run main.go] failed: exit status 1
The text was updated successfully, but these errors were encountered:
seankhliao
changed the title
go2go run command fails
cmd/go2go: run command fails
Apr 11, 2021
Fixes#45502
Change-Id: I510c47e7780a42ffd0c855da5ce1674d487c1633
Reviewed-on: https://go-review.googlesource.com/c/go/+/309570
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Hi, I have a simple main package, which works if I do
go tool go2go translate main.go2
go run main.go
But it fails if I try to run immediately with command
go tool go2go run main.go2
Getting error:
cannot find package "run" in any of: C:\Users\justast\Desktop\Go\go\src\run (from $GOROOT) C:\Users\justast\AppData\Local\Temp\go2go1730022865\src\run (from $GOPATH) C:\Users\justast\Desktop\Go\go2\src\run C:\Users\justast\Desktop\Go\go\bin\go [run run main.go] failed: exit status 1
The text was updated successfully, but these errors were encountered: