Documentation ¶
Index ¶
- type Repo
- func (r *Repo) Delete(ctx context.Context, id uuid.UUID) (*model.Resource, error)
- func (r *Repo) FindByID(ctx context.Context, id uuid.UUID) (*model.Resource, error)
- func (r *Repo) FindByReporterResourceId(ctx context.Context, id model.ReporterResourceId) (*model.Resource, error)
- func (r *Repo) ListAll(context.Context) ([]*model.Resource, error)
- func (r *Repo) Save(ctx context.Context, m *model.Resource) (*model.Resource, error)
- func (r *Repo) Update(ctx context.Context, m *model.Resource, id uuid.UUID) (*model.Resource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.