DefaultConfig implements plugin.Configurer
()
| 48 | |
| 49 | // DefaultConfig implements plugin.Configurer |
| 50 | func (c *EchoPlugin) DefaultConfig() interface{} { |
| 51 | return &Config{ |
| 52 | MagicString: "hello world", |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | // ValidateAndSetConfig implements plugin.Configurer |
| 57 | func (c *EchoPlugin) ValidateAndSetConfig(config interface{}) error { |
nothing calls this directly
no outgoing calls
no test coverage detected