plugin: different version of package main #31048
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I write a demo to test the go plugin, My work directory structure is
main.go
gen/src/main/main.go
build.sh
What did you expect to see?
I expect to see the main.go load the plugin successfully and print line.
What did you see instead?
Why the main package is a different version, howerver if I modify the build.sh to
Then go run main.go load so successfully.
How can the main package be a different version and why the second solution success?
The text was updated successfully, but these errors were encountered: