MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / IsOn20kPlan

Method IsOn20kPlan

api/pkg/entities/user.go:109–111  ·  view source on GitHub ↗

IsOn20kPlan checks if a user is on the 20k plan

()

Source from the content-addressed store, hash-verified

107
108// IsOn20kPlan checks if a user is on the 20k plan
109func (user User) IsOn20kPlan() bool {
110 return user.SubscriptionName == SubscriptionName20KMonthly || user.SubscriptionName == SubscriptionName20KYearly
111}
112
113// UserTimeString converts the time to the user's timezone
114func (user User) UserTimeString(timestamp time.Time) string {

Callers 1

shouldSendAlertMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected