Moving main.go
to cmd
#115
Replies: 2 comments 2 replies
-
I'd be ok with the change. Wasn't bothered by the current location of |
Beta Was this translation helpful? Give feedback.
-
That could be a good idea for v1! For now, there could be some plus and minus:
Not only for this, IMO, I think it would be better if we start planning the direction of v1 rather than improve/make a change in the current version. I think collecting random ideas is a good starting point, so I hope we could have a bucket for collecting random ideas for v1. What do you think? One question. What is your preference for design discussion? I hope to follow/learn your culture or preference. For me, I feel good with a shared doc (like the doc I shared last year). |
Beta Was this translation helpful? Give feedback.
-
There is a common pattern in the Go community to put the
main
packages within thecmd
folder, including this repo. However, Buffalo generated applications add the main.go file in the root folder of the codebase.I wonder if it would be a good idea to move Buffalo generated apps to have their
main.go
file live within thecmd/[appname]
folder, and in that way follow this common Go pattern.Implementing this change would mean (From the top of my head):
Thoughts?
cc @sio4 @fasmat @stanislas-m
Beta Was this translation helpful? Give feedback.
All reactions