This repository was archived by the owner on Mar 27, 2024. It is now read-only.
Repository navigation
Moving main.go to cmd
#115
paganotoni
started this conversation in
Ideas
Replies: 2 comments 2 replies
|
I'd be ok with the change. Wasn't bothered by the current location of |
0 replies
|
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). |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
There is a common pattern in the Go community to put the
mainpackages within thecmdfolder, 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.gofile 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
All reactions