Repository for Go projects should be cloned in %GOPATH%/src/

Nhoya's Avatar

Nhoya

06 Apr, 2018 01:26 PM

The official path for Go application source is %GOPATH%/src/ and not having the project there will cause a lack of support for some tools like dep https://github.com/golang/dep

  1. Support Staff 1 Posted by Ilya Finkelshte... on 06 Apr, 2018 02:35 PM

    Ilya Finkelshteyn's Avatar

    I see that this repository appveyor.yml already has custom clone folder set. What else can we do besides exposing the ability to set custom clone folder?

  2. 2 Posted by Nhoya on 06 Apr, 2018 10:28 PM

    Nhoya's Avatar

    Hi, the fact is that src/project/ is the default for a Go project and lots of users will end using it, what about by default having that if is a go project and in case, let the user change with the option you mentioned?

  3. Support Staff 3 Posted by Ilya Finkelshte... on 06 Apr, 2018 10:59 PM

    Ilya Finkelshteyn's Avatar

    I would rather document it and other Go-specific tricks on our documentation site, under STACKS section. You are welcome to contribute :)

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:28 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac