Documentation ¶
Index ¶
- func NewAddressesRepository(db *sql.DB, collection string) domain.AddressesRepository
- func NewCategoryProductRepository(db *sql.DB, collection string) domain.CategoryProductRepository
- func NewCityRepository(db *sql.DB, collection string) domain.CityRepository
- func NewCourierRepository(db *sql.DB, collection string) domain.CourierRepository
- func NewCourierServiceRepository(db *sql.DB, collection string) domain.CourierServiceRepository
- func NewOrderRepository(db *sql.DB, collection string) domain.OrderRepository
- func NewPaymentRepository(db *sql.DB, collection string) domain.PaymentRepository
- func NewProductRepository(db *sql.DB, collection string) domain.ProductRepository
- func NewProvinceRepository(db *sql.DB, collection string) domain.ProvinceRepository
- func NewTaskRepository(db mongo.Database, collection string) domain.TaskRepository
- func NewUnitTypeRepository(db *sql.DB, collection string) domain.UnitTypeRepository
- func NewUserRepository(db *sql.DB, collection string) domain.UserRepository
- type Addresses
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddressesRepository ¶
func NewAddressesRepository(db *sql.DB, collection string) domain.AddressesRepository
func NewCategoryProductRepository ¶
func NewCategoryProductRepository(db *sql.DB, collection string) domain.CategoryProductRepository
func NewCityRepository ¶
func NewCityRepository(db *sql.DB, collection string) domain.CityRepository
func NewCourierRepository ¶
func NewCourierRepository(db *sql.DB, collection string) domain.CourierRepository
func NewCourierServiceRepository ¶
func NewCourierServiceRepository(db *sql.DB, collection string) domain.CourierServiceRepository
func NewOrderRepository ¶
func NewOrderRepository(db *sql.DB, collection string) domain.OrderRepository
func NewPaymentRepository ¶
func NewPaymentRepository(db *sql.DB, collection string) domain.PaymentRepository
func NewProductRepository ¶
func NewProductRepository(db *sql.DB, collection string) domain.ProductRepository
func NewProvinceRepository ¶
func NewProvinceRepository(db *sql.DB, collection string) domain.ProvinceRepository
func NewTaskRepository ¶
func NewTaskRepository(db mongo.Database, collection string) domain.TaskRepository
func NewUnitTypeRepository ¶
func NewUnitTypeRepository(db *sql.DB, collection string) domain.UnitTypeRepository
func NewUserRepository ¶
func NewUserRepository(db *sql.DB, collection string) domain.UserRepository
Types ¶
type Addresses ¶
type Addresses struct { ID string `json:"id"` IDUser string `json:"id_user"` LabelAddress string `json:"label_address"` Address string `json:"address"` City string `json:"city"` Province string `json:"province"` PostalCode string `json:"postal_code"` Latitude string `json:"latitude"` Longitude string `json:"longitude"` Note string `json:"note"` IsDefault string `json:"is_default"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.