DisableList nil's out the comma separated list of named features. If it isn't found then it will log a message.
(list []string)
| 282 | // DisableList nil's out the comma separated list of named features. |
| 283 | // If it isn't found then it will log a message. |
| 284 | func (ft *Features) DisableList(list []string) *Features { |
| 285 | for _, feature := range list { |
| 286 | ft.Disable(strings.TrimSpace(feature)) |
| 287 | } |
| 288 | return ft |
| 289 | } |
| 290 | |
| 291 | // Fill fills in the function pointers in the Features struct from the |
| 292 | // optional interfaces. It returns the original updated Features |