mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
fix: remove comment
This commit is contained in:
parent
bf334e7738
commit
4ce90461a5
@ -203,8 +203,7 @@ func ExampleClient_HSet() {
|
|||||||
Key2 string `json:"key2"`
|
Key2 string `json:"key2"`
|
||||||
}
|
}
|
||||||
items := Items{"field1", "field2"}
|
items := Items{"field1", "field2"}
|
||||||
// Last argument is expiration. Zero means the key has no
|
|
||||||
// expiration time.
|
|
||||||
err := rdb.HSet(ctx, "key", items).Err()
|
err := rdb.HSet(ctx, "key", items).Err()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user