spluggy: Static Plugins for Go

10 days ago - Direct link

Everybody loves plugins). Well, not everybody, but they can offer many advantages. Arguably the biggest ones are modularization of your program and making it easy to extend it. I'm working on an open source project in Go and needed these benefits, so I opted for a plugin architecture. But how?

Go offers a way to create and load plugins. Unfortunately it imposes a lot of technical limitations. Yet even disregarding those, your functionality is spread over several binary files. I decided to create a small tool to solve this: spluggy.

spluggy is a ...


Go to article →

Links in this thread

Plug-in (computing - Wikipedia


plugin - The Go Programming Language
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.


r/golang - Comment by u/LukeShu on ”Is anyone actually using go plugins?”
28 votes, 22 comments. I recently discovered go plugins and I’m not yet sure how I feel about them. I know hashicorp has rolled their own using grpc …


codomatech/spluggy
Static (i.e. compile-time) plugins for go. Contribute to codomatech/spluggy development by creating an account on GitHub.


Generating code - The Go Blog
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.


codomatech/spluggy
Static (i.e. compile-time) plugins for go. Contribute to codomatech/spluggy development by creating an account on GitHub.