Skip to content

Commit

Permalink
format entitlement with gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoffi committed Aug 2, 2024
1 parent 6725cb4 commit ccb5a90
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions entitlement.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ type EntitlementType int

// Valid EntitlementType values
const (
EntitlementTypePurchase = 1
EntitlementTypePremiumSubscription = 2
EntitlementTypeDeveloperGift = 3
EntitlementTypeTestModePurchase = 4
EntitlementTypeFreePurchase = 5
EntitlementTypeUserGift = 6
EntitlementTypePremiumPurchase = 7
EntitlementTypePurchase = 1
EntitlementTypePremiumSubscription = 2
EntitlementTypeDeveloperGift = 3
EntitlementTypeTestModePurchase = 4
EntitlementTypeFreePurchase = 5
EntitlementTypeUserGift = 6
EntitlementTypeApplicationSubscription = 8
EntitlementTypePremiumPurchase = 7
)

// Entitlement represents that a user or guild has access to a premium offering
Expand All @@ -37,11 +37,11 @@ type Entitlement struct {
// The entitlement was deleted
Deleted bool `json:"deleted"`

// The start date at which the entitlement is valid.
// The start date at which the entitlement is valid.
// Not present when using test entitlements.
StartsAt string `json:"starts_at"`

// The date at which the entitlement is no longer valid.
// The date at which the entitlement is no longer valid.
// Not present when using test entitlements.
EndsAt string `json:"ends_at"`

Expand Down

0 comments on commit ccb5a90

Please sign in to comment.