(name string)
| 89 | } |
| 90 | |
| 91 | func featureIDByName(name string) (int, bool) { |
| 92 | for id, n := range featureIDsToNames { |
| 93 | if n == name { |
| 94 | return id, true |
| 95 | } |
| 96 | } |
| 97 | return 0, false |
| 98 | } |
| 99 | |
| 100 | // limitID is used as a key for configurable limits. These are options that |
| 101 | // support exporting to YAML environment config. |
no outgoing calls
no test coverage detected