https://go.dev/ref/mod#go-mod-vendor
On Wed, Jan 12, 2022 at 10:58 AM Kevin Burke wrote:
> Hi,
> Sometimes I just want to inspect third party code for a library, and/or
> edit it.
>
> I'm looking for a tool that will read all of the dependencies in a go.mod
> file and then check out all of the r
You could either use the deprecated
https://pkg.go.dev/github.com/golang/protobuf/jsonpb#UnmarshalNext
Or you could use a similar strategy
https://github.com/golang/protobuf/blob/v1.5.2/jsonpb/decode.go#L77-L81
paired with
https://pkg.go.dev/google.golang.org/protobuf/encoding/protojson#Unmarshal