diff --git a/db/item.go b/db/item.go index 5397dcd..f212000 100644 --- a/db/item.go +++ b/db/item.go @@ -19,6 +19,9 @@ type Item struct { Prices []ItemPrice CurrentPriceID uint CurrentPrice *ItemPrice + // + TypeID uint + Type *Type } func GetItem(id uint, preloadPrices bool) (*Item, error) {