go:architecture:clean_arch
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| go:architecture:clean_arch [2026/01/30 01:29] – [1. Domain Layer — Define Interfaces] phong2018 | go:architecture:clean_arch [2026/01/30 01:33] (current) – [2. Application Layer — Usecase Orchestration] phong2018 | ||
|---|---|---|---|
| Line 118: | Line 118: | ||
| <code text> | <code text> | ||
| internal/ | internal/ | ||
| - | </ | ||
| <code go> type AddPointRepository interface { FetchProcessingOrders( ctx context.Context, | <code go> type AddPointRepository interface { FetchProcessingOrders( ctx context.Context, | ||
| Line 147: | Line 146: | ||
| < | < | ||
| internal/ | internal/ | ||
| + | |||
| </ | </ | ||
| - | <code go> type PointAddUsecase struct { repo domain.AddPointRepository } | + | <code go> |
| + | type PointAddUsecase struct { repo domain.AddPointRepository } | ||
| func (u *PointAddUsecase) Execute(ctx context.Context) error { | func (u *PointAddUsecase) Execute(ctx context.Context) error { | ||
go/architecture/clean_arch.1769736578.txt.gz · Last modified: by phong2018
