Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IssueRepository ¶
type IssueRepository struct {
// contains filtered or unexported fields
}
ProjectRepository concrete implementation of sql db
func NewIssueRepository ¶
func NewIssueRepository() *IssueRepository
func (*IssueRepository) Delete ¶
func (r *IssueRepository) Delete(id int64) error
func (*IssueRepository) GetById ¶
func (r *IssueRepository) GetById(id int64) (*domain.Issue, error)
func (*IssueRepository) Init ¶
func (r *IssueRepository) Init(schema string) error
type ProjectRepository ¶
type ProjectRepository struct {
// contains filtered or unexported fields
}
ProjectRepository concrete implementation of sql db
func NewProjectRepository ¶
func NewProjectRepository() *ProjectRepository
func (*ProjectRepository) Delete ¶
func (r *ProjectRepository) Delete(id int64) error
func (*ProjectRepository) GetById ¶
func (r *ProjectRepository) GetById(id int64) (*domain.Project, error)
func (*ProjectRepository) Init ¶
func (r *ProjectRepository) Init(schema string) error
type UserRepository ¶
type UserRepository struct {
// contains filtered or unexported fields
}
UserRepository concrete implementation of in-memory db
func NewUserRepository ¶
func NewUserRepository() *UserRepository
func (*UserRepository) Delete ¶
func (r *UserRepository) Delete(id int64) error
func (*UserRepository) Init ¶
func (r *UserRepository) Init(schema string) error
Click to show internal directories.
Click to hide internal directories.