usecase

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Usecase

type Usecase interface {
	CreateUser(ctx context.Context, user entities.CreateUser) (int64, error)
	UpdateUser(ctx context.Context, updateData entities.UpdateUsers) error
	UpdateUserStatus(ctx context.Context, req entities.UpdateUserStatus) error
}

func NewUseCase

func NewUseCase(repo repository.Repository, log *zerolog.Logger) Usecase

Jump to

Keyboard shortcuts

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