Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectGateway ¶
type ProjectGateway interface { Add(row *models.ProjectRow) (int64, error) AddResponsibleTeam(projectID, teamID int64) (int64, error) RemoveResponsibleTeam(projectID, teamID int64) (int64, error) Get(filter *models.ProjectFilter) ([]*models.ProjectRow, error) GetByID(id int64) (*models.ProjectRow, error) GetShortName(id int64) (string, error) Update(row *models.ProjectRow) (int64, error) }
func NewProjectGateway ¶
func NewProjectGateway(db *sql.DB) ProjectGateway
Click to show internal directories.
Click to hide internal directories.