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 <vitucho3...@gmail.com> wrote:

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 is a project about a cards game server (Escobita de 15) and also a presentation is provided in order to be usable by a web browser (a front)

You may also peak the code map file that directly describes what it is in each directory.

Well, if any of you can share a project for the sake of understanding how do you organize your sources files I would be greatfull. A code map file would be nice too! (But I know that may be is to much to ask!)

Greettings
Víctor

I tried to talk about this but doesn't get too much insight, so now I'm trying to be more practical (instead of theorical like before).

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/51265059-3821-4f42-b85d-606c3e175fc3n%40googlegroups.com.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/1D52B13C-6B2E-4E3C-A2C4-882428B1C502%40siliconsprawl.com.

Reply via email to