Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IProductRepository ¶
type IProductRepository interface { Insert(product domain.Product) (domain.Product, *exception.Error) FindAll() ([]domain.Product, *exception.Error) DeleteAll() *exception.Error }
func NewProductRepository ¶
func NewProductRepository(database *mongo.Database) IProductRepository
type IUserRepository ¶
func NewUserRepository ¶
func NewUserRepository(database *mongo.Database) IUserRepository
Click to show internal directories.
Click to hide internal directories.