IsOnUltraPlan checks if a user is on the ultra plan
()
| 102 | |
| 103 | // IsOnUltraPlan checks if a user is on the ultra plan |
| 104 | func (user User) IsOnUltraPlan() bool { |
| 105 | return user.SubscriptionName == SubscriptionNameUltraMonthly || user.SubscriptionName == SubscriptionNameUltraYearly |
| 106 | } |
| 107 | |
| 108 | // IsOn20kPlan checks if a user is on the 20k plan |
| 109 | func (user User) IsOn20kPlan() bool { |