Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrOrderNotFound = errors.New("order Not Found") ErrOrderNotValid = errors.New("order Not Valid") )
Functions ¶
func NewAuthService ¶
func NewAuthService(authConfig env.AuthConfig) service.AuthService
func NewOrderService ¶
func NewOrderService(orderRepo repo.OrderRepository, pipe pipe.SneakerReferencePipe, serviceConfig env.CommonConfig) service.OrderService
Types ¶
type OrderSorter ¶
type OrderSorter struct {
// contains filtered or unexported fields
}
func (*OrderSorter) Asc ¶
func (s *OrderSorter) Asc() []*model.Order
func (*OrderSorter) Desc ¶
func (s *OrderSorter) Desc() []*model.Order
func (*OrderSorter) Len ¶
func (s *OrderSorter) Len() int
func (*OrderSorter) Less ¶
func (s *OrderSorter) Less(i, j int) bool
func (*OrderSorter) Swap ¶
func (s *OrderSorter) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.