Load package dynamically
No, Go doesn’t support dynamically loaded libraries. Your best bet is to start the plugin as its own executable and communicate with it through sockets or via stdin/stdout. 2017 update This answer is no longer true, Go now supports plugins (for Linux and MacOS only as of June 2021)