Documentation ¶
Index ¶
Constants ¶
View Source
const DB_PATH string = "items.db"
Variables ¶
This section is empty.
Functions ¶
func DeleteItem ¶
func Initialize ¶
func Initialize()
func UpdateItem ¶
Types ¶
type Category ¶
func GetCategory ¶
type Item ¶
type Item struct { Id int64 `json:"id"` Sku string `json:"sku"` Name string `json:"name"` Price float64 `json:"price"` Category int64 `json:"category"` }
func GetItemList ¶
func GetItemList( page Page, filters ItemFilters, ) ([]Item, error)
type ItemFilters ¶
Click to show internal directories.
Click to hide internal directories.