7 lines
137 B
Go
Raw Normal View History

2019-06-03 09:32:43 +00:00
package arn
// Save saves the purchase in the database.
func (purchase *Purchase) Save() {
DB.Set("Purchase", purchase.ID, purchase)
}