SetDefaultReturn calls SetDefaultHook with a function that returns the given values.
(r0 interface{})
| 262 | // SetDefaultReturn calls SetDefaultHook with a function that returns the |
| 263 | // given values. |
| 264 | func (f *ProviderConfigFunc) SetDefaultReturn(r0 interface{}) { |
| 265 | f.SetDefaultHook(func() interface{} { |
| 266 | return r0 |
| 267 | }) |
| 268 | } |
| 269 | |
| 270 | // PushReturn calls PushHook with a function that returns the given values. |
| 271 | func (f *ProviderConfigFunc) PushReturn(r0 interface{}) { |