Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParamsForFetchProjects ¶
type ParamsForFetchProjects struct {
contexts.CommonParamsForFetch
}
type ProjectRepository ¶
type ProjectRepository interface { Create(ctx context.Context, project *domains.Project) (int64, error) GetByID(ctx context.Context, id int64) (*domains.Project, error) Fetch(ctx context.Context, p ParamsForFetchProjects) ([]*domains.Project, int64, error) Update(ctx context.Context, project *domains.Project, fieldsToUpdate []string) error DeleteById(ctx context.Context, id int64) error }
func NewPgsqlProjectRepository ¶
func NewPgsqlProjectRepository(mdbi *datastore.MasterDbInstance, sdbi *datastore.SlaveDbInstance) ProjectRepository
NewPgsqlProjectRepository will create new an projectRepository object representation of ProjectRepository interface
Click to show internal directories.
Click to hide internal directories.