mirror of
https://github.com/redis/go-redis.git
synced 2025-09-11 18:10:43 +03:00
fix: nil pointer dereferencing in writeArg (#3271)
* 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>
This commit is contained in:
7
example/hset-struct/README.md
Normal file
7
example/hset-struct/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# Example for setting struct fields as hash fields
|
||||
|
||||
To run this example:
|
||||
|
||||
```shell
|
||||
go run .
|
||||
```
|
Reference in New Issue
Block a user