teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

解決しました

2021/07/19 04:13

投稿

tamahimesama_23
tamahimesama_23

スコア31

title CHANGED
File without changes
body CHANGED
@@ -27,10 +27,14 @@
27
27
  今回は、VirtualBoxのローカルだけでGo+Redisを連携させるという条件で
28
28
  話させていただきます。
29
29
 
30
+ -------------------
31
+ ## (2021/07/19) 解決しました。
32
+ ご指摘通り、go mod で「go-redis」のバージョンが何故か6点台になっていたので、
33
+ go mod で最新バージョンを取得して解決しました。
34
+ コンテキストが必要なのは「go-redis」のv8からでした。
30
35
 
31
36
  -------------------
32
37
 
33
-
34
38
  ## 参考にしている資料
35
39
  ① Redis as a Pub/Sub Engine in Go
36
40
  [https://itnext.io/redis-as-a-pub-sub-engine-in-go-10eb5e6699cc](https://itnext.io/redis-as-a-pub-sub-engine-in-go-10eb5e6699cc)