Documentation ¶
Index ¶
Constants ¶
View Source
const ( IssuesAllKey = "Issues:all" IssueLastId = "Issue:lastId" )
View Source
const ( ProjectsAllKey = "Projects:all" ProjectLastId = "Project:lastId" )
View Source
const ( UsersAllKey = "Users:all" UserLastId = "User:lastId" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IssueRepository ¶
type IssueRepository struct {
// contains filtered or unexported fields
}
IssueRepository concrete implementation of in-memory db
func NewIssueRepository ¶
func NewIssueRepository() *IssueRepository
func (IssueRepository) Delete ¶
func (r IssueRepository) Delete(id int64) error
type ProjectRepository ¶
type ProjectRepository struct {
// contains filtered or unexported fields
}
ProjectRepository concrete implementation of in-memory db
func NewProjectRepository ¶
func NewProjectRepository() *ProjectRepository
func (*ProjectRepository) Delete ¶
func (r *ProjectRepository) Delete(id int64) 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
Click to show internal directories.
Click to hide internal directories.