1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-12 14:21:52 +03:00
Commit Graph

64 Commits

Author SHA1 Message Date
38d1749d56 adjust the code (#1842)
* Upgrade redis-server version (#1833)

* Upgrade redis-server version

Signed-off-by: monkey <golang@88.com>

* XAutoClaim changed the return value

Signed-off-by: monkey <golang@88.com>

* add cmd: geosearch, geosearchstore (#1836)

* add cmd: geosearch, geosearchstore

Signed-off-by: monkey92t <golang@88.com>

* GeoSearchQuery and GeoSearchLocationQuery changed to pointer passing

Signed-off-by: monkey92t <golang@88.com>

* adjust the code, and fix #1553, #1676

Signed-off-by: monkey92t <golang@88.com>
2021-08-02 19:01:01 +08:00
350477a91d Merge branch 'lint-1.40' into v9 2021-05-13 17:54:44 +08:00
26373ef2f1 follow to golang-lint 1.40
Signed-off-by: monkey <golang@88.com>
2021-05-13 10:33:38 +08:00
8ad01240a4 Add support for resp3 protocol (#1739)
* support resp3 protocol

Signed-off-by: monkey <golang@88.com>

* Upgrade mod version limit go1.14

https://github.com/go-redis/redis/issues/1715#issuecomment-820685614

Signed-off-by: monkey <golang@88.com>

* Remove the redundant check of ReadReply

Signed-off-by: monkey <golang@88.com>

* fix the problem

Signed-off-by: monkey <golang@88.com>

* workflows add v9

Signed-off-by: monkey <golang@88.com>

* update StringStringMapCmd to MapStringStringCmd

Signed-off-by: monkey <golang@88.com>
2021-04-27 10:04:46 +03:00
02a9c81ef1 Fix golangci-lint check 2021-03-23 11:02:29 +02:00
f5a1707d3c Update golangci-lint to v1.32 2020-11-17 23:08:15 +09:00
a6876ad84a Move Scan test 2020-10-13 09:33:12 +03:00
f169894120 Fix/issue 1384 (#1529)
Add support for scanning time.TIme
2020-10-13 09:13:43 +03:00
e1b0a0bd7e Cleanup readLine 2020-10-10 12:26:21 +03:00
39571ccc56 Improves performance 2020-10-09 15:06:47 +02:00
97bbed8a92 Fixes issue where a buffer larger than 4096
bytes cannot be read
2020-10-09 11:35:14 +02:00
86326c4924 Refactor NewXInfoGroupsCmd 2020-09-23 11:50:31 +03:00
14c843ef89 gofumports 2020-07-16 09:52:07 +03:00
789ee0484f Remove io.StringWriter 2020-06-12 10:09:32 +03:00
8eed1e67ff Add OpenTelemetryHook 2020-06-09 17:17:41 +03:00
4440575966 Merge branch 'v8' 2020-05-21 10:16:44 +03:00
0c500078e5 Merge pull request #1273 from theo-delaune-argus/time-nanoseconds
Store time in RFC3339Nano to keep nanoseconds
2020-05-21 09:39:48 +03:00
07656a01bf Add redis.Error interface and export ErrClosed
Fixes https://github.com/go-redis/redis/issues/1295
Closes https://github.com/go-redis/redis/pull/1296
2020-05-21 09:24:54 +03:00
3031343dae Make cmd.String() faster 2020-05-19 08:52:38 +03:00
3dcb844106 Bump major version 2020-05-19 08:52:38 +03:00
fea610f7b4 Store time in RFC3339Nano to keep nanoseconds 2020-03-13 17:48:33 +01:00
eaeb8f2a08 internal: return an error on setting deadline 2019-08-16 17:50:57 +03:00
e269de20cf internal/proto: use strict ReadLine 2019-08-14 11:14:50 +03:00
61e0d1d527 internal/proto: util util.Atoi 2019-08-14 10:24:13 +03:00
4d3ed95bd9 Add conn health check 2019-08-09 15:11:52 +03:00
7779accbea Use semantic import versioning 2019-08-08 14:29:44 +03:00
f3ce3362a0 Add golangci-lint 2019-07-25 14:36:50 +03:00
0e7fb3b12d Marshal time as RFC3339. Add StringCmd.Time helper. 2019-07-25 13:03:09 +03:00
246d502457 Don't panic if multi bulk parser is nil 2019-06-16 14:06:13 +03:00
f5d67d80d3 remove unused function 2018-10-11 12:55:35 +02:00
0197108027 Use bufio.Writer 2018-08-17 14:14:02 +03:00
00de347403 Optimize reading big values 2018-08-16 14:01:03 +03:00
5146fb0c57 Cleanup buffers manipulation 2018-08-15 11:53:15 +03:00
7c26d1ceb6 Pass cn.Rd where possible 2018-08-15 09:38:58 +03:00
8ebf0b7750 Remove unused code 2018-08-13 09:52:36 +03:00
e753829945 internal/proto: avoid moving data when buffer is big enough 2018-08-07 14:49:35 +03:00
96d1b85009 Cleanups 2018-08-06 13:59:15 +03:00
464daeb271 Rename BufioReader to ElasticBufReader 2018-08-06 13:37:20 +03:00
c651b50db5 internal/proto: cleanup bufio reader 2018-08-05 15:07:10 +03:00
b576fe91a1 Use single read and write buffer where possible 2018-08-04 13:09:22 +03:00
7c9aa65a40 Cleanup 2018-07-22 09:27:36 +03:00
3aa80da654 internal/proto: cleanup code 2018-03-08 14:00:21 +02:00
56dea1f39a Fix proto.RedisError in slices 2018-02-22 14:24:27 +02:00
fbec95a796 fix rename 2018-01-25 11:15:44 +04:00
ea4d6c3490 golint warnings are removed 2018-01-24 22:38:47 +04:00
abb85b0fb8 Remove StringToBytes 2018-01-15 16:15:20 +02:00
48b70050d4 Fix slice next elem func 2017-11-01 15:33:53 +02:00
dbd2c99ba9 Rework pipeline retrying 2017-09-01 14:56:00 +03:00
f29951c899 Speedup ScanSlice 2017-06-02 16:19:43 +03:00
ef95182d29 Code cleanup 2017-03-31 15:11:11 +03:00