This is a talk I gave at the Go 1.8 Release party at the Golang Paris Meetup. Source for the slides and the code is on Github (see below).
Get the demo and check out the source code
On Github: https://github.com/GildasCh/go-plugins-demo
Interesting feedback and unanswered questions
If plugins cannot be closed is there any confliting corner cases?
- It turns out that yes, there can be. I got some “plugin already loaded” and “plugin already initialized” error when loading too plugins that were built with the same name… TODO: investigate more on this (results will be posted here).
plugin: plugin _/usr/src/pluginSrc/brightness already loaded fatal error: plugin: plugin already loaded
When are the plugins coming to Windows?
- One of the promise of Go is that it runs the same of a large variety of OS and processors, plugins should therefore be ported to Windows. I did not found talks about this, if I do, I’ll post it here.
[tech], [tech go go1.8 golang plugins] Go to post