Documentation
¶
Index ¶
- type IntegrationModel
- type ProjectModel
- type RepoImpl
- func (ri *RepoImpl) Delete(ctx context.Context, projectID string) error
- func (ri *RepoImpl) GetAll(ctx context.Context) (entity.Projects, error)
- func (ri *RepoImpl) GetByID(ctx context.Context, id string) (entity.Project, error)
- func (ri *RepoImpl) GetSelectedProject(ctx context.Context) (entity.Project, error)
- func (ri *RepoImpl) Insert(ctx context.Context, projectEntity entity.Project) error
- func (ri *RepoImpl) SetSelectedProject(ctx context.Context, id string) (err error)
- func (ri *RepoImpl) Update(ctx context.Context, projectEntity entity.Project) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntegrationModel ¶
type ProjectModel ¶
type ProjectModel struct {
ID string
Name string
Description sql.NullString
IsSelected bool
Integrations sql.NullString
}
func CreateModel ¶
func CreateModel(entity entity.Project) (ProjectModel, error)
type RepoImpl ¶
type RepoImpl struct {
// contains filtered or unexported fields
}
func (*RepoImpl) GetSelectedProject ¶
func (*RepoImpl) SetSelectedProject ¶
Click to show internal directories.
Click to hide internal directories.