摘要:
存储模式:基于内存实现,而非磁盘 数据结构:基于不同业务场景的高效数据结构 动态字符串(REDIS_STRING):整数(REDIS_ENCODING_INT)、字符串(REDIS_ENCODING_RAW) 双端列表(REDIS_ENCODING_LINKEDLIST) 压缩列表(REDIS_EN
阅读全文
posted @ 2024-01-14 11:43
ZhangZhihuiAAA
阅读(18)
推荐(0)
摘要:
127.0.0.1:6379> JSON.GET store $..headphones[?(@price<70&&@wireless==true)] [{"id":12346,"name":"Wireless earbuds","description":"Wireless Bluetooth i
阅读全文
posted @ 2024-01-12 14:13
ZhangZhihuiAAA
阅读(18)
推荐(0)
摘要:
Syntax elementDescription $ The root (outermost JSON element), starts the path. . or [] Selects a child element. .. Recursively descends through the J
阅读全文
posted @ 2024-01-12 10:38
ZhangZhihuiAAA
阅读(18)
推荐(0)
摘要:
A short refresher on Docker caching Docker uses layer caching to reuse previously computed build results. Each instruction in a Dockerfile is associat
阅读全文
posted @ 2024-01-11 22:09
ZhangZhihuiAAA
阅读(98)
推荐(0)
摘要:
Executing 'modprobe vboxdrv' didn't work: zzh@ZZHPC:~$ sudo modprobe vboxdrv modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/6.5.0
阅读全文
posted @ 2024-01-11 16:15
ZhangZhihuiAAA
阅读(169)
推荐(0)
摘要:
func TestLoadConfig(t *testing.T) { var config Config fmt.Printf("%+v", config) require.Nil(t, config) } RUN TestLoadConfig {Environment:} /zdata/Gith
阅读全文
posted @ 2024-01-02 22:40
ZhangZhihuiAAA
阅读(12)
推荐(0)
摘要:
git clone https://github.com/go-nv/goenv.git ~/.goenv echo 'export GOENV_ROOT="$HOME/.goenv"' >> ~/.bashrc echo 'export PATH="$GOENV_ROOT/bin:$PATH"'
阅读全文
posted @ 2024-01-02 20:40
ZhangZhihuiAAA
阅读(98)
推荐(0)
摘要:
RUN TestTransferTx store_test.go:87: Error Trace: /home/runner/work/zimplebank/zimplebank/db/sqlc/store_test.go:87 Error: Not equal: expected: 20 actu
阅读全文
posted @ 2023-12-31 11:03
ZhangZhihuiAAA
阅读(21)
推荐(0)
摘要:
EKS Cluster: RDS (Postgres): Rdis Cluster:
阅读全文
posted @ 2023-12-31 09:37
ZhangZhihuiAAA
阅读(9)
推荐(0)
摘要:
import "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway" is a program, not an importable packagego list package _ ("github.com/grpc-
阅读全文
posted @ 2023-12-30 16:47
ZhangZhihuiAAA
阅读(32)
推荐(0)