@psykhi Thank you! To avoid panic from plugin.Open when I want to hot update a plugin, I use this command:
plugin.Open
go build -ldflags "-pluginpath=plugin/hot-$(date +%s)" -buildmode=plugin -o hotload.so hotload.go