# golang plugin example

# 注意事项

  • 主程序与 plugin 所依赖的库的交集版本保持一致
  • 主程序与 plugin 编译器版本一致
  • go build 的 flags 一致

# 代码示例