Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { GetProductByID(ctx context.Context, id util.UUIDString) (*orm.Product, error) CreateProduct(ctx context.Context, product model.Product) (*orm.Product, error) UpdateProductById(ctx context.Context, product model.Product) (*orm.Product, error) }
func NewRepo ¶
func NewRepo(dbConn pg.ContextExecutor) Repository
Click to show internal directories.
Click to hide internal directories.