Documentation ¶ Index ¶ type Plugin func Load(path string) (*Plugin, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Plugin ¶ type Plugin struct { // Name Plugin name Name string // Type Plugin type Type string // Path Plugin path Path string // NewFunc Plugin new instance func NewFunc interface{} } Plugin is a plugin loaded from a file. func Load ¶ func Load(path string) (*Plugin, error) Load loading plugin build by `go build --buildmode=plugin` from filepath return plugin instance and error Source Files ¶ View all Source files plugins.go Click to show internal directories. Click to hide internal directories.