go - goinstall is not recognized as internal or external Command -


I'm trying to install "goinstall github.com/alloy-d/goauth" but it does not work is. The following error is giving.

goinstall github.com/alloy-d/goauth 'goinstall' is not recognized as an internal or external command, operative program or batch file.

And I also tried with a git clone, but it is not making the exact structure.

  git clone git: //github.com/alloy-d/Gouth  

Installing it in "$ GOPATH"

To be clear, goinstall has been used to exist (now " ).

As told in "":

In the last few years we changed people by getting the goinstall command (now available) Gone) and reminded about its conventions:

  • First, the import path that is received in a known way is the URL of the source code;
  • Secondly, the location of the source files stored in the local file system is obtained from the import path in a known manner;
  • Thirdly, each directory in a source tree matches a package;
  • And fourth, this package is built using information only in the source code. Today, the vast majority of the packages follow these conventions.

Then you will find the old tutorial using " goinstall ".

In your case however, go and then install will work better.
or go install -v github.com/alloy-d/goauth to see details (as package names they are compiled).


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -