Plugins should contain a single function Plugin () any that returns an object that can be cast to one or more of the interfaces in plugin.go. A STEP environment should not have a slice of FuncProviders, but rather a slice Plugins []any of which may be cast to a FuncProvider as well as other things.
Plugins should contain a single function `Plugin () any` that returns an object that can be cast to one or more of the interfaces in plugin.go. A STEP environment should not have a slice of FuncProviders, but rather a slice `Plugins []any` of which may be cast to a FuncProvider as well as other things.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Need to be able to load plugins from shared objects built with the plugin build mode.
Plugins should contain a single function
Plugin () anythat returns an object that can be cast to one or more of the interfaces in plugin.go. A STEP environment should not have a slice of FuncProviders, but rather a slicePlugins []anyof which may be cast to a FuncProvider as well as other things.The providers that we have now would cease to be called that and would instead be called builtin plugins
Or, maybe the object the plugin returns could be called a provider:
Provider () any. This would not require any existing providers to be modified.