Documentation
¶
Index ¶
- func NewCategoryRepository(db *storagepostgres.DB) port.CategoryRepository
- func NewOrderRepository(db *storagepostgres.DB) port.OrderRepository
- func NewPaymentRepository(db *storagepostgres.DB) port.PaymentRepository
- func NewProductRepository(db *storagepostgres.DB) port.ProductRepository
- func NewUserRepository(db *storagepostgres.DB) port.UserRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCategoryRepository ¶
func NewCategoryRepository(db *storagepostgres.DB) port.CategoryRepository
NewCategoryRepository creates a new category repository instance
func NewOrderRepository ¶
func NewOrderRepository(db *storagepostgres.DB) port.OrderRepository
NewOrderRepository creates a new order repository instance
func NewPaymentRepository ¶
func NewPaymentRepository(db *storagepostgres.DB) port.PaymentRepository
NewPaymentRepository creates a new payment repository instance
func NewProductRepository ¶
func NewProductRepository(db *storagepostgres.DB) port.ProductRepository
NewProductRepository creates a new product repository instance
func NewUserRepository ¶
func NewUserRepository(db *storagepostgres.DB) port.UserRepository
NewUserRepository creates a new user repository instance
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.