aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authoralex <[email protected]>2026-07-08 21:11:52 +0200
committeralex <[email protected]>2026-07-08 21:11:52 +0200
commit917b08a98cb310d05170d2ef3de9847419e3990e (patch)
treed2c797c86ea23beb8e6926239070ff2391d6edd4 /main.go
parentaac1dd50b61090461cefc0263f065140be4bf50b (diff)
downloadredis-clone-917b08a98cb310d05170d2ef3de9847419e3990e.tar.xz
redis-clone-917b08a98cb310d05170d2ef3de9847419e3990e.zip
fixed bug regarding DEL
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 2dc5b12..8acef78 100644
--- a/main.go
+++ b/main.go
@@ -18,7 +18,7 @@ type handlerFunc func(net.Conn, []string)
var commandRegistry = map[string]handlerFunc{
"GET": handleGet,
"SET": handleSet,
-// "DEL": handleDel,
+ "DEL": handleDel,
"EXISTS": handleExists,
/* "INCR": handleIncr,
"DECR": handleDecr,