(group string)
| 38 | } |
| 39 | |
| 40 | func GetGroupEnabledModels(group string) []string { |
| 41 | var models []string |
| 42 | // Find distinct models |
| 43 | DB.Table("abilities").Where(commonGroupCol+" = ? and enabled = ?", group, true).Distinct("model").Pluck("model", &models) |
| 44 | return models |
| 45 | } |
| 46 | |
| 47 | func GetEnabledModels() []string { |
| 48 | var models []string |
no outgoing calls
no test coverage detected