Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
app
command
|
|
|
cli
command
|
|
|
gen
command
Command gen scaffolds a CRUD module (biz entity + repo interface, data repo implementation, service handlers, request structs, create-table migration and Wire module) or a standalone schema migration.
|
Command gen scaffolds a CRUD module (biz entity + repo interface, data repo implementation, service handlers, request structs, create-table migration and Wire module) or a standalone schema migration. |
|
internal
|
|
|
migrations
Package migrations is the schema history: one file per migration, named after the migration it registers, applied in lexical order.
|
Package migrations is the schema history: one file per migration, named after the migration it registers, applied in lexical order. |
|
order/biz
Package biz holds the order module's business logic.
|
Package biz holds the order module's business logic. |
|
order/service
Package service adapts HTTP to the usecase.
|
Package service adapts HTTP to the usecase. |
|
platform/bootstrap
Package bootstrap provides the boot-time infrastructure providers.
|
Package bootstrap provides the boot-time infrastructure providers. |
|
platform/server
Package server assembles the HTTP layer from the modules' route contributions.
|
Package server assembles the HTTP layer from the modules' route contributions. |
|
shared/apperr
Package apperr standardizes client-facing errors: transports map the closed set of kinds to HTTP statuses.
|
Package apperr standardizes client-facing errors: transports map the closed set of kinds to HTTP statuses. |
|
shared/event
Package event is the in-process event bus contract.
|
Package event is the in-process event bus contract. |
|
shared/job
Package job is the scheduler contribution contract shared by every module.
|
Package job is the scheduler contribution contract shared by every module. |
|
shared/registry
Package registry defines the typed collections assembled by wire.
|
Package registry defines the typed collections assembled by wire. |
|
shared/transport
Package transport holds the HTTP helpers shared by every service layer.
|
Package transport holds the HTTP helpers shared by every service layer. |
|
user/biz
Package biz holds the user module's business logic.
|
Package biz holds the user module's business logic. |
|
user/service
Package service adapts HTTP and CLI to the usecase.
|
Package service adapts HTTP and CLI to the usecase. |
Click to show internal directories.
Click to hide internal directories.