gamification

package
v0.0.0-...-afa1830 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UseCoupon

func UseCoupon(ctx context.Context, exec boil.ContextExecutor, usedCoupon UsedCoupon) error

UseCoupon by recording it

Types

type UsedCoupon

type UsedCoupon struct {
	ID         int       `json:"id"`
	IdentityID string    `json:"identity_id"`
	Value      string    `json:"value"`
	CreatedAt  time.Time `json:"created_ad"`
}

UsedCoupon model

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL