Go plugin dependency

I use plugin pkg in my project, but I have a big trouble. I use package github.com/xx/yy@v1.x.y in the main program, and use package github.com/xx/yy@v1.m.n in the plugin. In summary, any common dependencies between the plugin and the code must be the same. I solve it by using ‘replace’. How can I slove it better.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.