0

I'm on Windows 10, with go 1.16.7 windows/amd64 installed. Already defined GOPATH to C:\Users\anta40\Codes\Go.

While in GOPATH, I ran these 2 commands:

go env -w GO111MODULE=auto
go get golang.org/x/mobile/cmd/gomobile

OK now let's run gomobile

'gomobile' is not recognized as an internal or external command, operable program or batch file.

Hmm.. what's missing here?

anta40
  • 6,511
  • 7
  • 46
  • 73

1 Answers1

0

You want to include ~/go/bin in your path variables.

A similar question was answered from Always -bash: gomobile: command not found, but you'll want to implement the answer on Windows by (setting the Path and environment variables](https://www.computerhope.com/issues/ch000549.htm)

Adonis Gaitatzis
  • 3,189
  • 26
  • 24