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 :)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

 

16 Jun, 2018 09:22 AM
15 Jun, 2018 09:31 PM
15 Jun, 2018 08:31 PM
15 Jun, 2018 04:29 PM
15 Jun, 2018 12:39 PM
15 Jun, 2018 12:37 PM