Open zboralski opened 6 years ago
Possibly, although in real apps I often have other services that make use of the same domain structs so it's useful being able to pull them in to those.
"services" being an AppEngine / GCP thing - really separate apps in another codebase that need to work with the same data
Wouldn't it make sense to move the domain package to
engine/internal
?When the go command sees an import of a package with internal in its path, it verifies that the package doing the import is within the tree rooted at the parent of the internal directory.