repository

package
v0.0.0-...-cf628c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL