Skip to content

jvmatl/go-plugindemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Example project to demonstrate how to work with go (Golang) binary plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages