On Monday, 3 October 2022 at 10:40:06 UTC+1 squadglad...@gmail.com wrote: > We are trying to use a common code as a DLL which is shared by multiple > services. >
You've mixed a problem and solution statement together. You want to share code between multiple services: if so, there are other solutions to this problem. For example, you could provide it as a library which is compiled into those services (that's by far the simplest option). Or you could put it in some other process that you call using gRPC. Or you could spawn another process and talk to it over stdin/stdout using a protocol of your choice. What's unclear to me is why you want the *dynamic linking* part of this. Is there some requirement which means you need to be able to swap out this shared code *at runtime*, without recompiling the underlying service which uses that code? -- 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/1600edf5-9969-400c-a358-e4e0c3e4ca8en%40googlegroups.com.