usecase

package
v0.0.0-...-af8898c Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ITaskUsecase

type ITaskUsecase interface {
	CreateTodo(todo model.Todo) (int, int64, error)
	ReadTodo(userId int) (int, []model.ReadTodo, error)
	UpdateTodo(updateTodo model.UpdateTodo) (int, error)
	DeleteTodo(deleteTask model.DeleteTodo) (int, error)
}

type IUserUsecase

type IUserUsecase interface {
	LogIn(user model.User) (int, string, error)
	SignUp(user model.User) (int, error)
}

Jump to

Keyboard shortcuts

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