command
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Mar 14, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
examples/plugin/myplugin/myplugin.go
Plugin example - demonstrates how to create a native Go plugin
and use it from xxlang code.
Build command:
go build -buildmode=plugin -o myplugin.so myplugin.go
Usage from xxlang:
import "plugin/myplugin"
myplugin.hello()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.