mirror of
https://gitee.com/johng/gf.git
synced 2024-11-30 03:07:45 +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")
|
||||
fmt.Println(expire1)
|
||||
|
||||
// Output:
|
||||
// May Output:
|
||||
// 1s
|
||||
// 500ms
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user