Re: [go-nuts] About source folder organization - Part II

2023-03-21 Thread Victor Giordano
Eli, thanks for the insight. Is a very interesting read!. >There are a number of different options and no right or wrong answer. *Exactly! *I never say that there was a right or wrong answer. I'm looking to see other real file projects in order to gather more opinions along with something like a "

Re: [go-nuts] About source folder organization - Part II

2023-03-21 Thread Eli Lindsey
There are a number of different options and no right or wrong answer. This was a recent blog that I thought did an excellent job of summarizing some of the more common layouts and trade offs https://appliedgo.com/blog/go-project-layout-eli On Mar 21, 2023, at 10:28 AM, Victor Giordano wrote:Hell

[go-nuts] About source folder organization - Part II

2023-03-21 Thread Victor Giordano
Hello fellows gophers! I do wonder how you organize a project within a file system. Due to the hierarchical nature of a fs (where is parent folder that constains child folder) I do wonder how do you organize the source files into folders. Can you show me some examples? For example, here

Re: [go-nuts] About source folder organization

2018-11-15 Thread Victor Giordano
Jan, Volker... i will try you to summon over here ! There is another person with some kind of the same problems i were... he is trying to organize code in packages and maybe overthinking. El jue., 15 nov. 2018 a

Re: [go-nuts] About source folder organization

2018-11-15 Thread Victor Giordano
For your information people, i'm trying to open my mind for embracing the concept of packages without any trace of the hierarchical relation of underlying file system in mind! Thanks again for your valuable opinions. I really needed someone to talk about this, i love doing code/patterns/idioms t

Re: [go-nuts] About source folder organization

2018-11-15 Thread Victor Giordano
Thanks for pointing that out. *V* El jue., 15 nov. 2018 a las 12:56, Jan Mercl (<0xj...@gmail.com>) escribió: > On Thu, Nov 15, 2018 at 4:51 PM Victor Giordano > wrote: > > > You may say that i'm a little stubborn but what after i look at others > source files i do notice that they do not refer

Re: [go-nuts] About source folder organization

2018-11-15 Thread Jan Mercl
On Thu, Nov 15, 2018 at 4:51 PM Victor Giordano wrote: > You may say that i'm a little stubborn but what after i look at others source files i do notice that they do not reference "childs" packages from "parents" > (please allow me to use those words, again...)or can you tell me of the opossite t

Re: [go-nuts] About source folder organization

2018-11-15 Thread Victor Giordano
Hello Volker! Thanks for your feedback. The overthinking is direct consecuencie of two things: having time and don't have TV at home :P. I have a felling that what you are trying to say me is to: just forget a little bit over the underlying storage system for the files, and focus only in the p

Re: [go-nuts] About source folder organization

2018-11-15 Thread Volker Dobler
Ooops: This should read It simply does *NOT* influence the one and only package rule. On Thursday, 15 November 2018 09:04:01 UTC+1, Volker Dobler wrote: > > My opinion on this: You are overthinking it. A lot. > > Let's start simple. Cyclic dependencies between packages > are disallowed and whate

Re: [go-nuts] About source folder organization

2018-11-15 Thread Volker Dobler
My opinion on this: You are overthinking it. A lot. Let's start simple. Cyclic dependencies between packages are disallowed and whatever you do you packages must not for an import cycle. This is the only hard rule. Note that this rule is totally decoupled from the filesystem layout of your package

Re: [go-nuts] About source folder organization

2018-11-14 Thread Jan Mercl
On Thu, Nov 15, 2018 at 8:52 AM Jan Mercl <0xj...@gmail.com> wrote: Fixing it example.com/foo can import example.com/bar: siblings vs "parent" and "child". example.com/foo can import example.com/foo/a but in the same time example.com/foo/b can import example.com/foo

Re: [go-nuts] About source folder organization

2018-11-14 Thread Jan Mercl
On Thu, Nov 15, 2018 at 1:38 AM Victor Giordano wrote: example.com/foo can import example.com/bar: siblings vs "parent" and "child". example.com/foo can import example.com/foo/a but in the same time example.com/b can import example.com: "parent" and "child" meaning can be inverted or not. The c

Re: [go-nuts] About source folder organization

2018-11-14 Thread Victor Giordano
Thanks Jan. Then i shall paste the question here. I copy paste the question as it was writed at first place in order to honor an idempotent behvaiour (recall that the question was edited in stackoverflow for improving understanding). Thanks in advance for all that take the time for reading!. *Orig

Re: [go-nuts] About source folder organization

2018-11-14 Thread Jan Mercl
Yes, that's it. I see: "This question was removed from Stack Overflow for reasons of moderation. Please refer to the help center for possible explanations why a question might be removed. ..." On Wed, Nov 14, 2018, 20:37 Victor Giordano wrote: > Hello jan! > So, what are you trying to say is t

Re: [go-nuts] About source folder organization

2018-11-14 Thread Victor Giordano
Hello jan! So, what are you trying to say is that you follow the link and see nothing? El mié., 14 nov. 2018 a las 16:07, Jan Mercl (<0xj...@gmail.com>) escribió: > It's already removed on SO. > > On Wed, Nov 14, 2018, 20:00 Victor Giordano wrote: > >> hello gophers!! how you doing? >> >> Some t

Re: [go-nuts] About source folder organization

2018-11-14 Thread Jan Mercl
It's already removed on SO. On Wed, Nov 14, 2018, 20:00 Victor Giordano wrote: > hello gophers!! how you doing? > > Some time ago i posted this > > in > other CoP (

[go-nuts] About source folder organization

2018-11-14 Thread Victor Giordano
hello gophers!! how you doing? Some time ago i posted this in other CoP (community of practices), don't go ahead wihtout reading the above two lines (or four and