membership

package
v0.0.0-...-7601700 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MembershipTierIDs = []persist.HexTokenID{"4", "1", "3", "5", "6", "8"}

MembershipTierIDs is a list of all membership tiers

Functions

func GetMembershipTiers

func GetMembershipTiers(ctx context.Context, membershipRepository *postgres.MembershipRepository) ([]persist.MembershipTier, error)

GetMembershipTiers returns the most recent membership tiers and potentially updates tiers

func OrderMembershipTiers

func OrderMembershipTiers(pTiers []persist.MembershipTier) []persist.MembershipTier

OrderMembershipTiers orders the membership tiers in the desired order determined for the membership page

Types

This section is empty.

Jump to

Keyboard shortcuts

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