title: Is it possible to dynamically load Go code?
body: <p>As the title says I want to dynamically load a Go package (or not) based on information only available at run time.</p>
  
  <p>The objective is to allow the user to extend the program via custom packages that add new native script commands. Currently every time I add new commands or want to disallow some commands, I need to edit the program and recompile, whereas if I could make some kind of dll or the like then I could create a "import" script command to search for and load a named command library.</p>
  
  <p>For the curious the program in question is custom command based scripting library that I use for all kinds of things.</p>
  
  <p>I did some searching ahead of time, and the results don't look good, but I could not find a clear no.</p>