Need to run golang code run dynamically. I have golang function as a string. Dynamically creating a new golang file and using exec command to run that go file won't be faster and also not a correct approach.
So I am trying to write my function as a plugin. But where to store that function? In multi-tenancy app we cannot store all plugin's in app container. Can anyone explain with example?
I referred https://appliedgo.net/plugins/