Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.
/ plugin-experiment Public archive

A bunch of short experiments I've done for runtime plugins in Go.

License

Notifications You must be signed in to change notification settings

johnaoss/plugin-experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plugin-experiment

This repo is a bunch of experiments I've made w.r.t. having runtime plugins in Go.

Installation

go get -u github.com/johnaoss/plugin-experiment

Development

Before developing, you must run go generate ./... on the project root to generate the required interface definitions. Aside from that, you'll need to be in the GOPATH as the interpreter yaegi doesn't support modules at this time.

Roadmap

Currently I plan on either figuring out how to modify genexports and yaegi in order to satisfy the requirements I need.

In the future, I'll try using the offical Go plugin package, but that would require me to compile all files given.

Licensing

This package contains a bunch of code from containuous/yaegi. Primarily under exports and generate.

I've modified their goexports command from yaegi in the generate/genexports.go file.

About

A bunch of short experiments I've done for runtime plugins in Go.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages