Compile time plugin architecture

Hi all,

here’s my short article on how to leverage “init()” and “go build” for a compile time plugin architecture in Go. Have a look if you like, best regards!

https://medium.com/@mzawiejski/compile-time-plugin-architecture-in-go-923455cd2297

1 Like

Have you tried using build tags or conditional compilation as an alternative ?

http://dave.cheney.net/2013/10/12/how-to-use-conditional-compilation-with-the-go-build-tool

3 Likes

Good point, thanks @dfc! I’ll have a look.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.