Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidProductPath = fmt.Errorf("Invalid Path, path should be /products/[id]")
ErrInvalidProductPath error message
Functions ¶
This section is empty.
Types ¶
type Products ¶
type Products struct {
// contains filtered or unexported fields
}
Products handler for getting and updating products
func NewProducts ¶
NewProducts returns a new products handler with the given logger
Click to show internal directories.
Click to hide internal directories.