storage

package
v0.0.0-...-5d37a61 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepartmentStorage

type DepartmentStorage interface {
	Add(department *desc.Department) (int64, error)
	AddProject(id int64, projectID int64) (int64, error)
	RemoveProject(id int64, projectID int64) (int64, error)
	Get(filter *models.DepartmentFilter) ([]*desc.Department, error)
	GetByID(id int64) (*desc.Department, error)
	Update(id int64, department *desc.Department) (int64, error)
}

Jump to

Keyboard shortcuts

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