undefined: grpc.ClientConnInterface when compiling grpc

Issue I am new to grpc. In my go.mod file I have: google.golang.org/genproto v0.0.0-20190508193815-b515fa19cec8 google.golang.org/grpc v1.21.1 github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d github.com/golang/protobuf v1.3.2 I am generating my protobufs like this: go get google.golang.org/protobuf/cmd/protoc-gen-go go get google.golang.org/grpc/cmd/protoc-gen-go-grpc protoc –go_out=. –go-grpc_out=. ./me.proto I get the

Continue reading

JSON to Protobuf (v3)

Issue Noob question here. I’m still new to the Protobuf thing. How can I convert my JSON data to a Protobuf JSON? { "id": "12345678901233456", "name": "asdfghjkl", "start_time": 1.666058486989E9, "trace_id": "1-adg346-dhagjkh348762834jah37846f", "end_time": 1.666058487934E9 } I’m trying to send the fetched

Continue reading