From 0b78577ccbb8a70cffc80fa9f5fb8a9e69ff101f Mon Sep 17 00:00:00 2001 From: Orca Date: Fri, 28 Jan 2022 16:20:44 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=87=AC=F0=9F=87=A7=20update=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README_en.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README_en.md b/README_en.md index 9ed48b4..78e09a6 100644 --- a/README_en.md +++ b/README_en.md @@ -251,7 +251,8 @@ var _ = stats.Bind("token", caches...) #### Get statistics ``` go stats.Stats().Range(func(k, v interface{}) bool { - fmt.Printf("stats: %s %+v\n", k, v) // k is name of pool, v is type of (*stats.StatsNode) that stats count of events use `HitRate` method can know cache hit rate + fmt.Printf("stats: %s %+v\n", k, v) // k is name of pool, v is type of (*stats.StatsNodeļ¼‰ + // StatsNode stores count of events, use `HitRate` method can know cache hit rate return true }) ```