Root package domain #3
-
Hello Ben! This is going to be a short question related to this blog post: https://www.gobeyond.dev/packages-as-layers/ What are your thoughts on potentially moving the domain files from the root directory into their own package (let's call it 'domain' for the sake of simplicity)? So that the root level of the project contains only a readme, build/deploy scripts etc. and not the actual code (as I believe a much larger application would use many .go files to declare its domain). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@bgospodaru That's certainly an option to move to another package although I don't especially like the name |
Beta Was this translation helpful? Give feedback.
@bgospodaru That's certainly an option to move to another package although I don't especially like the name
domain
. That being said, I don't personally mind a lot of Go files in the root for a large project.