Documentation
¶
Index ¶
- type EventRepo
- type QueryRepo
- func (r *QueryRepo) Close() error
- func (r *QueryRepo) Create(owner_id, content, description string, active bool) (entities.Query, error)
- func (r *QueryRepo) Delete(id string) error
- func (r *QueryRepo) FindByOwnerId(ownerId string) ([]entities.Query, error)
- func (r *QueryRepo) GetByID(id string) (entities.Query, error)
- func (r *QueryRepo) Update(id, content, description string, active bool) error
- type UserRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventRepo ¶
type EventRepo struct {
// contains filtered or unexported fields
}
func NewEventRepo ¶
NewQueryRepo creates a query repo
func (*EventRepo) FindByOwnerId ¶
FindByOwnerId returns a list of events by owner ID
type QueryRepo ¶
type QueryRepo struct {
// contains filtered or unexported fields
}
func NewQueryRepo ¶
NewQueryRepo creates a query repo
func (*QueryRepo) Create ¶
func (r *QueryRepo) Create(owner_id, content, description string, active bool) (entities.Query, error)
Create creates a new query
func (*QueryRepo) FindByOwnerId ¶
FindByOwnerId returns a list of queries by owner ID
Click to show internal directories.
Click to hide internal directories.