Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesuaheli committed Dec 31, 2023
1 parent a00a0ba commit 5834504
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions database/giveaway.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,16 @@ type GiveawayPrizeType string
type GiveawayPrizeGroupSort string

const (
// A single giveaway prize
// GiveawayPrizeTypeSingle describes a single giveaway prize
GiveawayPrizeTypeSingle GiveawayPrizeType = "single"
// A group contains a pool of giveaway prizes
// GiveawayPrizeTypeGroup describes a group containing a pool of giveaway prizes
GiveawayPrizeTypeGroup GiveawayPrizeType = "group"

// The pool in this group is ordered and prizes should be drawn in ascending order
// GiveawayPrizeGroupOrdered defines that the pool in this group is ordered and prizes should be
// drawn in ascending order
GiveawayPrizeGroupOrdered GiveawayPrizeGroupSort = "ordered"
// The pool in this group contains a set of prizes that should be drawn in a random order
// GiveawayPrizeGroupRandom defines that the pool in this group contains a set of prizes that
// should be drawn in a random order
GiveawayPrizeGroupRandom GiveawayPrizeGroupSort = "random"
)

Expand Down

0 comments on commit 5834504

Please sign in to comment.