vendor: update all dependencies

* Update all dependencies
  * Remove all `[[constraint]]` from Gopkg.toml
  * Add in the minimum number of `[[override]]` to build
  * Remove go get of github.com/inconshreveable/mousetrap as it is vendored
  * Update docs with new policy on constraints
This commit is contained in:
Nick Craig-Wood
2018-05-05 15:52:24 +01:00
parent 21383877df
commit 6427029c4e
4902 changed files with 1443412 additions and 227278 deletions
+6 -2
View File
@@ -54,7 +54,7 @@ func mustTimestampProto(t time.Time) *tspb.Timestamp {
var cmpOpts = []cmp.Option{
cmp.AllowUnexported(DocumentRef{}, CollectionRef{}, DocumentSnapshot{},
Query{}, filter{}, order{}, fpv{}),
cmpopts.IgnoreTypes(Client{}),
cmpopts.IgnoreTypes(Client{}, &Client{}),
}
// testEqual implements equality for Firestore tests.
@@ -99,7 +99,11 @@ func newMock(t *testing.T) (*Client, *mockServer) {
}
func intval(i int) *pb.Value {
return &pb.Value{&pb.Value_IntegerValue{int64(i)}}
return int64val(int64(i))
}
func int64val(i int64) *pb.Value {
return &pb.Value{&pb.Value_IntegerValue{i}}
}
func boolval(b bool) *pb.Value {