Skip to content

Latest commit

 

History

7 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

Go plugins manager

Build Status Coverage Status Go.Dev reference Go Report Card Release Downloads Chat Community

The plugins is a simple Go plugins manager.

Installation

$ go get -u clevergo.tech/plugins

Usage

// Plugins location.
path := "/path/to/plugins"
// Creates a plugins manager.
m := plugins.新建(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")

发布

Used by

贡献者

Languages

Generated from clevergo/pkg-template