service

package
v0.0.0-...-e0cbe86 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoardService

type BoardService interface {
	GetAllBoards() (*[]datastruct.Board, error)
	CreateBoard(*datastruct.Board) (*int64, error)
}

func NewBoardService

func NewBoardService(dao repository.DAO) BoardService

type TaskService

type TaskService interface {
	GetAllTasks() (*[]datastruct.Task, error)
	CreateTask(*datastruct.Task) (*int64, error)
	UpdateTask(*datastruct.Task) (*datastruct.Task, error)
	DeleteTask(int64) error
}

func NewTaskService

func NewTaskService(dao repository.DAO) TaskService

Jump to

Keyboard shortcuts

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