如何安装go mobile并使其在Windows上运行?

I am having issues installing gomobile on windows with the command : go get golang.org/x/mobile/cmd/gomobile

It doesn't give me any error but it doesn't seem to be doing anything. When trying to execute gomobile afterwards I get the error:

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

So I figured the PATH where the go executable is differs from GOPATH. To find what my GOPATH was, I used the command

go env GOPATH

Have you added the path to gomobile location to your PATH variable?

Check if it is included with batch command

set PATH