usecase

package
v0.0.0-...-278084b Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUseCase

func NewUseCase(repo user.Repository) user.UseCase

Types

type UseCase

type UseCase struct {
	Repository user.Repository
}

func (UseCase) Create

func (u UseCase) Create(user *models.User) ([]*models.User, error)

func (UseCase) Profile

func (u UseCase) Profile(user *models.User) error

func (UseCase) UpdateProfile

func (u UseCase) UpdateProfile(user *models.User) error

Jump to

Keyboard shortcuts

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