Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CartStorage ¶
type CartStorage struct {
// contains filtered or unexported fields
}
func NewCartStorage ¶
func NewCartStorage(pool *pgxpool.Pool, metrics *mymetrics.DatabaseMetrics) *CartStorage
func (*CartStorage) AppendAdvByIDs ¶
func (*CartStorage) DeleteAdvByIDs ¶
func (*CartStorage) GetCartByUserID ¶
func (cl *CartStorage) GetCartByUserID(ctx context.Context, userID uint) ([]*models.ReturningAdvert, error)
Click to show internal directories.
Click to hide internal directories.