Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CartDao ¶
type CartDao interface { GetByUserId(model.UserId) (model.Cart, error) Upsert(model.UserId, model.Cart) (model.Cart, error) }
func GetCartDao ¶
func GetCartDao() CartDao
type CouponDao ¶
type CouponDao interface { Exists(model.Coupon) (bool, error) Insert(model.Coupon) error Delete(model.Coupon) error }
func GetCouponDao ¶
func GetCouponDao() CouponDao
type PaymentDao ¶
func GetPaymentDao ¶
func GetPaymentDao() PaymentDao
type ProductDao ¶
type ProductDao interface { GetAll(model.Order) ([]model.Product, error) GetById(int32) (model.Product, error) Insert(model.Product) (model.Product, error) }
func GetProductDao ¶
func GetProductDao() ProductDao
Source Files ¶
Click to show internal directories.
Click to hide internal directories.