Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UseCase ¶
type UseCase interface { // Run starts the execution of the behavior of a use case Run(context.Context) error }
UseCase is the interface an UseCase must implement to be executable
type UseCaseBase ¶
UseCaseBase is the basic fields needed to implement a use case along with a logger
func NewUseCaseBase ¶
func NewUseCaseBase(name string) *UseCaseBase
NewUseCaseBase returns a new basic use case implementation
Click to show internal directories.
Click to hide internal directories.