fix: remove comment

This commit is contained in:
wjdqhry 2021-12-22 14:26:40 +09:00
parent bf334e7738
commit 4ce90461a5
1 changed files with 1 additions and 2 deletions

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)