mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
* fixed bug with nil dereferencing in writeArg, added hset struct example, added tests * removed password from example * added omitempty * reverted xxhash versioning * reverted xxhash versioning * removed password * removed password --------- Co-authored-by: Nedyalko Dyakov <nedyalko.dyakov@gmail.com>
8 lines
96 B
Markdown
8 lines
96 B
Markdown
# Example for setting struct fields as hash fields
|
|
|
|
To run this example:
|
|
|
|
```shell
|
|
go run .
|
|
```
|