Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Redemption ¶
type Redemption struct {
mixin.Model[Redemption]
// Coupon code (need not be unique).
Code string `json:"code"`
}
func Fake ¶
func Fake(db *datastore.Datastore) *Redemption
func New ¶
func New(db *datastore.Datastore) *Redemption
Click to show internal directories.
Click to hide internal directories.