From 44e5d9da342fa0b79212bfefdfa056fed7eb3c49 Mon Sep 17 00:00:00 2001 From: Khosrow Afroozeh Date: Mon, 6 Sep 2021 17:43:24 +0200 Subject: [PATCH] Clean up --- batch_read.go | 2 +- cdt_list_test.go | 2 +- value.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/batch_read.go b/batch_read.go index 44e4f49f..19f3dad7 100644 --- a/batch_read.go +++ b/batch_read.go @@ -39,7 +39,7 @@ type BatchRead struct { // Ops specifies the operations to perform for every key. // Ops are mutually exclusive with BinNames. - // A binName can be emulated with GetOp(String) + // A binName can be emulated with `GetOp(binName)` // Supported by server v5.6.0+. Ops []*Operation } diff --git a/cdt_list_test.go b/cdt_list_test.go index 8f2f703d..a2403205 100644 --- a/cdt_list_test.go +++ b/cdt_list_test.go @@ -41,7 +41,7 @@ var _ = gg.Describe("CDT List Test", func() { return } - key, err = as.NewKey(ns, set, "randString(50)") + key, err = as.NewKey(ns, set, randString(50)) gm.Expect(err).ToNot(gm.HaveOccurred()) cdtBinName = randString(10) diff --git a/value.go b/value.go index 7605d2b9..9d22da92 100644 --- a/value.go +++ b/value.go @@ -416,7 +416,7 @@ func tryConcreteValue(v interface{}) Value { return nil } -// OpResults encapsulates the results of read operations +// OpResults encapsulates the results of batch read operations type OpResults []interface{} // NewValue generates a new Value object based on the type.