---
title: Orders
---
classDiagram
direction LR
namespace http-contract {
class CreateOrderV1 {
}
}
namespace http-handler {
class Handler {
HandleCreateOrderV1(..)
}
class HTTPDomainInterface["domain"] {
<<interface>>
CreateOrder(ctx, CreateOrderParams)(*result, error)
}
}
namespace orders {
class Orders {
CreateOrder(ctx, CreateOrderParams)(*result, error)
}
class CreateOrderParams {
}
class AddOrderParams {
}
class OrdersDBInterface["db"] {
<<interface>>
AddOrder(ctx, AddOrderParams) error
}
}
namespace orders-db {
class InMemDB {
AddOrder(ctx, AddOrderParams) error
}
}
namespace db-contract {
class Order {
}
}
CreateOrderV1 <-- Handler
HTTPDomainInterface --> CreateOrderParams
HTTPDomainInterface <|.. Orders
AddOrderParams <-- InMemDB
OrdersDBInterface <|.. InMemDB
InMemDB --> Order
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
itimky/gopher-up-march-2024
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
SOLID TDD app
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published