$ go run main.go Redis server is running at /var/folders/_n/xb14yhv56fq98c_nqcg8skfc0000gp/T/tempredis1387753332/redis.sock name: jianghushinian Get redis key error: redis: nil ====================== stdout ====================== 31048:C 02 Jan 2025 00:24:23.933 * Reading config from stdin 31048:C 02 Jan 2025 00:24:23.933 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 31048:C 02 Jan 2025 00:24:23.933 * Redis version=7.2.6, bits=64, commit=00000000, modified=0, pid=31048, just started 31048:C 02 Jan 2025 00:24:23.933 * Configuration loaded 31048:M 02 Jan 2025 00:24:23.933 * monotonic clock: POSIX clock_gettime 31048:M 02 Jan 2025 00:24:23.934 * Running mode=standalone, port=0. 31048:M 02 Jan 2025 00:24:23.934 # WARNING: The TCP backlog setting of 511 cannot be enforced because kern.ipc.somaxconn is set to the lower value of 128. 31048:M 02 Jan 2025 00:24:23.934 * Server initialized 31048:M 02 Jan 2025 00:24:23.934 * Loading RDB produced by version 7.2.6 31048:M 02 Jan 2025 00:24:23.934 * RDB age 167 seconds 31048:M 02 Jan 2025 00:24:23.934 * RDB memory usage when created 1.11 Mb 31048:M 02 Jan 2025 00:24:23.934 * Done loading RDB, keys loaded: 0, keys expired: 0. 31048:M 02 Jan 2025 00:24:23.934 * DB loaded from disk: 0.000 seconds 31048:M 02 Jan 2025 00:24:23.934 * Ready to accept connections unix 31048:signal-handler (1735748664) Received SIGTERM scheduling shutdown... 31048:M 02 Jan 2025 00:24:24.944 * User requested shutdown... 31048:M 02 Jan 2025 00:24:24.944 * Saving the final RDB snapshot before exiting. 31048:M 02 Jan 2025 00:24:24.954 * DB saved on disk 31048:M 02 Jan 2025 00:24:24.954 * Removing the unix socket file. 31048:M 02 Jan 2025 00:24:24.954 # Redis is now ready to exit, bye bye...