Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidUserID ... ErrInvalidUserID = errors.New("invalid user ID") )
Functions ¶
This section is empty.
Types ¶
type ErrUserIDNotFound ¶
type ErrUserIDNotFound int
ErrUserIDNotFound ...
func (ErrUserIDNotFound) Error ¶
func (e ErrUserIDNotFound) Error() string
Error implements go-error interface.
type MockDBRepository ¶
MockDBRepository ...
func (*MockDBRepository) FindUserByID ¶
func (r *MockDBRepository) FindUserByID(ctx context.Context, id int) error
FindUserByID ...
Click to show internal directories.
Click to hide internal directories.