Directories ¶
Path | Synopsis |
---|---|
app
|
|
usecases/diner
Package diner provides the use case for diner
|
Package diner provides the use case for diner |
usecases/menu
Package menu provides the use case for menu
|
Package menu provides the use case for menu |
usecases/order
Package order provides the use case for order
|
Package order provides the use case for order |
domain
|
|
diner
Package diner contains the business logic for the diner entity
|
Package diner contains the business logic for the diner entity |
errors
Package errors defines the domain errors used in the application.
|
Package errors defines the domain errors used in the application. |
menu
Package menu contains the business logic for the menu entity
|
Package menu contains the business logic for the menu entity |
order
Package order contains the business logic for the order entity
|
Package order contains the business logic for the order entity |
infrastructure
|
|
mocks/repository
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
repository/diner
Package diner contains the repository implementation for the diner entity
|
Package diner contains the repository implementation for the diner entity |
repository/menu
Package menu contains the repository implementation for the menu entity
|
Package menu contains the repository implementation for the menu entity |
repository/order
Package order contains the repository implementation for the order entity
|
Package order contains the repository implementation for the order entity |
rest/adapter
Package adapter is a layer that connects the infrastructure with the application layer
|
Package adapter is a layer that connects the infrastructure with the application layer |
rest/controllers
Package controllers contains the common functions and structures for the controllers
|
Package controllers contains the common functions and structures for the controllers |
rest/controllers/diner
Package diner contains the diner controller
|
Package diner contains the diner controller |
rest/controllers/errors
Package errors contains the error handler controller
|
Package errors contains the error handler controller |
rest/controllers/menu
Package menu contains the menu controller
|
Package menu contains the menu controller |
rest/controllers/order
Package order contains the order controller
|
Package order contains the order controller |
rest/middlewares
Package middlewares contains the middlewares for the rest api
|
Package middlewares contains the middlewares for the rest api |
rest/routes
Package routes contains all routes of the application
|
Package routes contains all routes of the application |
Click to show internal directories.
Click to hide internal directories.