03808de29a
When the plugin loader itself had to know the types in the arguments and return values of the plugin functions, it was very difficult to avoid import loops, given that the types were often defined in the same package that needed to invoke the plugins. Under this model, the plugin loader has much less knowledge of the plugins themselves, and within each package we define functions to interact with the plugins. |
||
---|---|---|
.. | ||
internal/tracers | ||
testdata | ||
api_test.go | ||
api.go | ||
plugin_hooks.go | ||
tracer_test.go | ||
tracer.go | ||
tracers_test.go | ||
tracers.go |