Documentation ¶
Index ¶
- Variables
- type Config
- type Repo
- func (r *Repo) AddProject(ctx context.Context, p *models.Project) error
- func (r *Repo) DeleteProject(ctx context.Context, id string) error
- func (r *Repo) GetProject(ctx context.Context, id string) (*models.Project, error)
- func (r *Repo) SuggestProjects(ctx context.Context, query string) ([]*models.Project, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConstraint = errors.New("something went wrong")
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (*Repo) GetProject ¶
Click to show internal directories.
Click to hide internal directories.