DefaultSwitchOptions returns a fresh SwitchOptions struct value with its fields set to their defaults.
()
| 40 | // DefaultSwitchOptions returns a fresh SwitchOptions |
| 41 | // struct value with its fields set to their defaults. |
| 42 | func DefaultSwitchOptions() SwitchOptions { |
| 43 | return SwitchOptions{ |
| 44 | RequestModifiers: nil, |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | // Apply completes the `SwitchOption` interface. |
| 49 | // It does copies values from "o" to "opts" when necessary. |
no outgoing calls
no test coverage detected
searching dependent graphs…