fullstorydev / grpchan

Channels for gRPC: custom transports
MIT License
204 stars 23 forks source link

fix go.mod for Go 1.13 #34

Closed jhump closed 5 years ago

jhump commented 5 years ago

Somehow, the go.mod file in this repo (and in another related repo: jhump/protoreflect) had a timestamp incorrect. I don't know how that happened since I usually use the go tool (or copy+paste) to enter those git-hash-based versions into a file.

Anyhow, Go 1.13 does stronger verification, so this fails to build. (For example: https://travis-ci.org/fullstorydev/grpchan/jobs/568673714.)

This fixes it by: 1) Fixing the bad version (had hour 01 transposed as 10??). 2) Upgrading to a fixed version of protoreflect (same fix as bullet 1 had to be applied there, too) 3) Upgrading to a fixed version of goprotoc -- it had the problem indirectly via dependency on earlier (e.g. borked) version of protoreflect