Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyOrderProducts = errors.New("required at least one product") ErrInvalidOrderProductQuantity = errors.New("invalid order product quantity must greater than zero") )
Functions ¶
func WriteError ¶
func WriteError(w http.ResponseWriter, status int, message string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.