-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Modular Folder Structures
Currently, routes, services, repository, etc have been added in their separate folders.
This make it less modular, harder to re-use and less maintainability.
Thinking of making this structure something like this;
pkg
|-- authentication (model, handler, service, route, repository, serializer etc.)
|-- users
|-- ....
|-- common (some common things re-usable by multiple modules)
internal
|-- framework's internal wiring code
domain
|-- users.go (interfaces for users package)
|-- authentication.go (interfaces for authentication package)
While we are at it, we need to look at the go's recommended folder structure for packages.
Following something like this
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request