Load gopher-lua libraries at runtime #436
-
Is it possible to load gopher-lua libraries at runtime? If not is there a workaround for it (maybe compiling it as shared libraries and load it via |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can achieve that by go plugin. |
Beta Was this translation helpful? Give feedback.
-
But go plugins are not suitable for most of the times because of many problems in its design. You can look at Things to avoid while using Golang plugins. It basically only "allows" you to load your plugins but they are not very flexible. |
Beta Was this translation helpful? Give feedback.
You can achieve that by go plugin.