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) }
func NewDepartmentStorage ¶
func NewDepartmentStorage(gw gateway.DepartmentGateway) DepartmentStorage
Click to show internal directories.
Click to hide internal directories.