postgres

package
v0.0.0-...-c52fe67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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

func (FeatureRepository) Create

func (FeatureRepository) Delete

func (FeatureRepository) FindAll

func (r FeatureRepository) FindAll(ctx context.Context) ([]entity.Feature, error)

func (FeatureRepository) FindByID

func (r FeatureRepository) FindByID(ctx context.Context, id uint) (*entity.Feature, error)

func (FeatureRepository) FindByIDs

func (r FeatureRepository) FindByIDs(ctx context.Context, ids []uint) ([]entity.Feature, error)

func (FeatureRepository) Update

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL