From c26cc4dfe3e77d6c1ee73962f302ba73dd3395c0 Mon Sep 17 00:00:00 2001 From: huangsimin Date: Thu, 18 Jul 2019 14:05:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0GetRange=E7=9A=84=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1674f08..ba51d5f 100644 --- a/README.md +++ b/README.md @@ -17,5 +17,6 @@ value, _ = pq.Get(0) // value = nil , Get equal to Seach Key value, _ = pq.Index(0) // value = 5, compare.Int the order from big to small values := pq.GetRange(2, 5) // values = [2 4 5] values = pq.GetRange(5, 2) // values = [5 4 2] +values = pq.GetRange(100, 2) // values = [5 4 2] values3 := pq.GetAround(5) // values3 = [, 5, 4] ```