12 lines
200 B
Go

package arn
// Force interface implementations
var (
_ Identifiable = (*ShopItem)(nil)
)
// Save saves the item in the database.
func (item *ShopItem) Save() {
DB.Set("ShopItem", item.ID, item)
}