Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDuplicateEntry = errors.New("duplicate inventory entry")
View Source
var ErrForeignKeyViolation = errors.New("foreign key violation (invalid product reference?)")
View Source
var ErrInsufficientStock = errors.New("insufficient stock")
View Source
var ErrInvalidProduct = errors.New("product not found")
View Source
var ErrInvalidQuantity = errors.New("initial quantity cannot be negative")
View Source
var ErrNotFound = errors.New("inventory item not found for this product")
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.