improve example for package gcache

This commit is contained in:
John Guo 2021-11-07 21:52:27 +08:00
parent 748040fb0b
commit 091df972f1

View File

@ -223,7 +223,7 @@ func ExampleCache_UpdateExpire() {
expire1, _ := c.GetExpire(ctx, "k1") expire1, _ := c.GetExpire(ctx, "k1")
fmt.Println(expire1) fmt.Println(expire1)
// Output: // May Output:
// 1s // 1s
// 500ms // 500ms
} }