Documentation
¶
Overview ¶
Package domain holds domain errors and ports. It has no dependencies on infrastructure (database, HTTP, config) so use cases can depend only on domain.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("not found") )
Sentinel errors for use cases and handlers. Return these (e.g. with fmt.Errorf("context: %w", ErrNotFound)) so handlers can map to HTTP responses.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.