Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorNotFound ¶
type ErrorNotFound struct{}
ErrorNotFound ...
func (ErrorNotFound) Error ¶
func (e ErrorNotFound) Error() string
type Service ¶
type Service interface {
Show(context.Context, *ShowPayload) (*models.User, error)
Delete(context.Context, *DeletePayload) error
Update(context.Context, *UpdatePayload) error
List(context.Context, *ListPayload) ([]models.User, error)
Create(context.Context, *models.User) ([]models.User, error)
}
Service ...
func NewUsersSvc ¶
NewUsersSvc ...
Click to show internal directories.
Click to hide internal directories.