myplugin

command
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

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()

Jump to

Keyboard shortcuts

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