On Thu, Apr 6, 2017, 6:55 AM Mukund 8kmiles <muk...@8kmiles.com> wrote:

> Hi
>
> Is there a best practice or recommended folder structure followed for
> maintaining a GH repo inside GOPATH
>
> I maintain my GO source in the default GOPATH which is /home/<user>/go
>
> go
> --- bin
> --- pkg
> *--- src*
> *------flmain*
> *------flowlogs*
> *-------<other projects>*
>
> I would like to maintain the same path for Github repo and gopath. Is
> there a standard practice available without copying files between folders?
>

There should be no difference between github projects, and other projects,
in terms of how you store them.

go
--- bin
--- pkg
--- src
------flmain
------flowlogs
------github.com
------------you
------------------myProject

There shouldn't be a need for copying files around. Can you be a but more
specific about the problem you are having? Really every project should be
using some kind of version control and be organised under a namespacing
structure similar to github to prevent clashes.


> Thanks & Regards
> Mukund
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to