taskservice

package
v0.0.0-...-b3f0c1d Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Create(u entity.Task) (entity.Task, error)
	GetByID(id uint) (entity.Task, error)
	GetAllByUserID(userID uint) ([]entity.Task, error)
	IsExistsUser(id uint) (bool, error)
}

type TaskInteractor

type TaskInteractor struct {
	// contains filtered or unexported fields
}

func New

func New(redisClient redis.DB, repository Repository) *TaskInteractor

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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