PluginV1 is an abstraction of a plugin written in the v1 plugin API. Exported for testing purposes only.
| 9 | |
| 10 | // PluginV1 is an abstraction of a plugin written in the v1 plugin API. Exported for testing purposes only. |
| 11 | type PluginV1 struct { |
| 12 | Info papiv1.Info |
| 13 | Constructor func(ctx papiv1.UserContext) papiv1.Plugin |
| 14 | } |
| 15 | |
| 16 | // APIVersion returns the API version. |
| 17 | func (c PluginV1) APIVersion() string { |
nothing calls this directly
no outgoing calls
no test coverage detected