usecases

package
v0.0.0-...-a5f9b48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserUsecase

func NewUserUsecase(userRepository repositories.UserRepository) *userUsecase

Types

type UserUsecase

type UserUsecase interface {
	GetByID(id string) (*dtos.UserDTO, error)
	Create(dtos.UserDTO) (*dtos.UserDTO, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL