clean-go icon indicating copy to clipboard operation
clean-go copied to clipboard

using engine/internal for domain entities

Open zboralski opened this issue 6 years ago • 2 comments

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.

zboralski avatar Apr 27 '18 09:04 zboralski

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.

CaptainCodeman avatar Apr 27 '18 15:04 CaptainCodeman

"services" being an AppEngine / GCP thing - really separate apps in another codebase that need to work with the same data

CaptainCodeman avatar Apr 27 '18 16:04 CaptainCodeman