quaint-telephone-89068
11/02/2022, 6:50 PMgo supports building Go plugins which are Go packages that can be loaded dynamically by a Go binary via the -buildmode=plugin flag.
Model either as a field on go_binary or by a new go_plugin target type (which would use same build-related fields as go_binary).
pantsbuild/pants