mirror of
https://gitee.com/johng/gf.git
synced 2024-12-02 12:17:53 +08:00
improve example for package gcache
This commit is contained in:
parent
748040fb0b
commit
091df972f1
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user