package groupPower_e type GroupPowerStarType int const ( GroupPowerStarTypeFamous GroupPowerStarType = 1 // 送礼 GroupPowerStarTypeActive GroupPowerStarType = 2 // 活跃 GroupPowerStarTypeCharm GroupPowerStarType = 3 // 收礼 ) func IsGroupPowerStarType(t GroupPowerStarType) bool { if t != GroupPowerStarTypeFamous && t != GroupPowerStarTypeActive && t != GroupPowerStarTypeCharm { return false } return true }