-export flag is specified, the BuildID
field is now set to the build ID of the compiled package. This is equivalent
to running go tool buildid on
- go list -exported -f {{.Export},
+ go list -exported -f {{.Export}},
but without the extra step.