Perhaps what you're trying to achieve can be done using Go Plugins 
<https://pkg.go.dev/plugin> instead, although beware of significant 
restrictions:

https://medium.com/learning-the-go-programming-language/writing-modular-go-programs-with-plugins-ec46381ee1a9
https://www.reddit.com/r/golang/comments/b6h8qq/is_anyone_actually_using_go_plugins/ejkxd2k/?utm_source=reddit&utm_medium=web2x&context=3

Summary: "it's a bad idea except for in-tree plugins"

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/d086ecb4-c010-441f-8536-f7af5f57d8a7n%40googlegroups.com.

Reply via email to