Edit: 9/10/2019
I also had to update one of the rows in the travis build matrix. When building with G 1.11 and modules, I had to specifically use a version higher than 11.3, to make building golang.org/x/sys/unix possible. Failure here: https://travis-ci.org/fullstorydev/hauser/jobs/583168386
To update dependencies:
gorepoman -d vendor update go.opencensus.io
gorepoman -d vendor update aws-sdk-go
gorepoman -d vendor update github.com/golang/protobuf
gorepoman -d vendor update github.com/lib/pq
gorepoman -d vendor update google.golang.org/grpc
gorepoman -d vendor reconcile cloud.google.com/go
To update go.sum
go mod tidy
Edit: 9/10/2019 I also had to update one of the rows in the travis build matrix. When building with G 1.11 and modules, I had to specifically use a version higher than 11.3, to make building golang.org/x/sys/unix possible. Failure here: https://travis-ci.org/fullstorydev/hauser/jobs/583168386
Github issue that expands on the problem, and provides the alternative: https://github.com/golang/go/issues/30446