The plugins
is a simple Go plugins manager.
$ go get -u clevergo.tech/plugins
// Plugins location.
path := "/path/to/plugins"
// Creates a plugins manager.
m := plugins.New(path)
// Opens a Go plugins which located at {path}/foo.so
p, err := m.Open("foo.so")
// Lookup a symbol in a plugin.
sym, err := m.Lookup("foo.so", "Bar")