plugin

command
v1.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

README

基于go plugin的完全动态加载实现

测试用例使用方法

1.在当前文件夹中执行命令 go build -buildmode=plugin -o=plugin_M_m.so plugin_superman.go 2.然后产生一个plugin_M_m.so文件, 文件名中 M是在plugin_superman.go中最后一行导出的变量名; m是在gengine中使用的指针

Documentation

Overview

package必须是main

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL