12 lines
200 B
Go
Raw Normal View History

2019-06-03 09:32:43 +00:00
package arn
2019-09-09 00:18:34 +00:00
// Force interface implementations
var (
_ Identifiable = (*ShopItem)(nil)
)
2019-06-03 09:32:43 +00:00
// Save saves the item in the database.
func (item *ShopItem) Save() {
DB.Set("ShopItem", item.ID, item)
}