Documentation ¶
Index ¶
- func DeleteGoodById(storage *storage.Storage, goodId int) error
- func GetAll(storage *storage.Storage, active bool) (*[]Good, error)
- func InsertGood(storage *storage.Storage, data GoodInsert) error
- func UpdateGoodById(storage *storage.Storage, goodId int, data GoodUpdate) error
- type Good
- type GoodData
- type GoodInsert
- type GoodType
- type GoodUpdate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertGood ¶
func InsertGood(storage *storage.Storage, data GoodInsert) error
func UpdateGoodById ¶
func UpdateGoodById(storage *storage.Storage, goodId int, data GoodUpdate) error
Types ¶
type Good ¶
type GoodInsert ¶
Click to show internal directories.
Click to hide internal directories.