go-plugindemo

command module
v0.0.0-...-1eb0d8f Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: MIT Imports: 5 Imported by: 0

README

github.com/jvmatl/go-plugindemo

This is a simple example project that shows one way to structure a go project that uses plugins.

This was originally written to respond to a StackOverflow question (https://stackoverflow.com/q/56693941/3117035) but may get enhanced over time if there is interest from the community.

To Build and run

First build the plugin: (on linux)

cd processors/shout
go build -buildmode=plugin -o shout.so

The come back to this directory and:

go run main.go

-(-- John

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
shout
+build linux darwin
+build linux darwin

Jump to

Keyboard shortcuts

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