mirror of https://github.com/go-redis/redis.git
fix: remove comment
This commit is contained in:
parent
bf334e7738
commit
4ce90461a5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue