Added arn to the main repository
This commit is contained in:
6
arn/PurchaseAPI.go
Normal file
6
arn/PurchaseAPI.go
Normal file
@ -0,0 +1,6 @@
|
||||
package arn
|
||||
|
||||
// Save saves the purchase in the database.
|
||||
func (purchase *Purchase) Save() {
|
||||
DB.Set("Purchase", purchase.ID, purchase)
|
||||
}
|
Reference in New Issue
Block a user