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:
+6
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user