Documentation
¶
Index ¶
- type FeatureRepository
- func (r FeatureRepository) Create(ctx context.Context, i *entity.Feature) error
- func (r FeatureRepository) Delete(ctx context.Context, i *entity.Feature) error
- func (r FeatureRepository) FindAll(ctx context.Context) ([]entity.Feature, error)
- func (r FeatureRepository) FindByID(ctx context.Context, id uint) (*entity.Feature, error)
- func (r FeatureRepository) FindByIDs(ctx context.Context, ids []uint) ([]entity.Feature, error)
- func (r FeatureRepository) Update(ctx context.Context, i *entity.Feature) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureRepository ¶
type FeatureRepository struct {
// contains filtered or unexported fields
}
func New ¶
func New(env *env.Postgres) FeatureRepository
Click to show internal directories.
Click to hide internal directories.