go-plugin focuses on deterministic plugin registration and lifecycle management for applications that want an explicit, testable plugin model.
plugin.Registrystores plugin instances in insertion order.plugin.FactoryRegistrystores named plugin factories.plugin.DiscoverFromValuesdiscovers values implementing thePlugininterface.plugin.RegisterRouteProvidersbridgesRoutes()providers intogo-module-router.
The package also includes optional helpers for .so loading and process-based sandboxes. Those helpers stay small and can be adopted incrementally when your plugin model needs them.