Documentation ¶
Index ¶
- type Repository
- func (r *Repository) CreateSellerContext(ctx context.Context, firstName string, lastName string, middleName string, ...) (int32, error)
- func (r *Repository) PatchSellerContext(ctx context.Context, id int32, firstName *string, lastName *string, ...) error
- func (r *Repository) SellerContext(ctx context.Context, id int32) (*proto.Seller, error)
- func (r *Repository) SellersContext(ctx context.Context, filter *model.Filter) ([]model.Seller, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(database *postgres.Database) *Repository
func (*Repository) CreateSellerContext ¶
func (*Repository) PatchSellerContext ¶
func (*Repository) SellerContext ¶
func (*Repository) SellersContext ¶
Click to show internal directories.
Click to hide internal directories.