Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitStorage ¶
type GitStorage interface { GetGitByProjectID(projectID int) (*models.Git, error) CreateGit(git *models.Git) error }
func NewGitStore ¶
func NewGitStore() GitStorage
type ProjectStorage ¶
type ProjectStorage interface { Create(project *models.Project) error GetByName(name string) (*models.Project, error) GetByVersion(version string) ([]models.Project, error) GetByID(id uint) (*models.Project, error) GetAll() ([]models.Project, error) DeleteByID(id uint) error }
func NewProjectStorage ¶
func NewProjectStorage() ProjectStorage
Click to show internal directories.
Click to hide internal directories.