1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-16 09:23:06 +03:00

fix: remove comment

This commit is contained in:
wjdqhry 2021-12-22 14:26:40 +09:00
parent bf334e7738
commit 4ce90461a5

View File

@ -203,8 +203,7 @@ func ExampleClient_HSet() {
Key2 string `json:"key2"`
}
items := Items{"field1", "field2"}
// Last argument is expiration. Zero means the key has no
// expiration time.
err := rdb.HSet(ctx, "key", items).Err()
if err != nil {
panic(err)