Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DepartmentGateway ¶
type DepartmentGateway interface {
Add(department *models.DepartmentRow) (int64, error)
AddProject(id int64, projectID int64) (int64, error)
RemoveProject(id int64, projectID int64) (int64, error)
Get(filter *models.DepartmentFilter) ([]*models.DepartmentRow, error)
GetByID(id int64) (*models.DepartmentRow, error)
Update(department *models.DepartmentRow) (int64, error)
}
func NewDepartmentGateway ¶
func NewDepartmentGateway(db *sql.DB) DepartmentGateway
Click to show internal directories.
Click to hide internal directories.