MCPcopy Create free account
hub / github.com/devinterface/startersaas-go-api / MaxTeamsPerPlan

Function MaxTeamsPerPlan

models/base.model.go:91–101  ·  view source on GitHub ↗
(plan string)

Source from the content-addressed store, hash-verified

89}
90
91func MaxTeamsPerPlan(plan string) (maxGroups int) {
92 if plan == StarterPlan {
93 return 5
94 } else if plan == BasicPlan {
95 return 10
96 } else if plan == PremiumPlan {
97 return 20
98 } else {
99 return 0
100 }
101}

Callers 1

CreateMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected