This is an experimental clone of a small subset of features of redis in go.
This repo started as an attempt towards solving CodeCrafter's "Build Your Own Redis" Challenge.
In this clone, we built a toy Redis clone that's capable of handling
basic commands like PING
, SET
and GET
.
Note: Highly recommend codecrafters.io challenges.
$ go run app/server.go
No Makefile
yet.
$ go test app/redis_go/*.go
$ go test e2e/*.go
From root directory:
mockgen -package=mocks redis-go/app/ev SysCall,SysCallError >app/mocks/mock_syscall.go
mockgen -package=mocks redis-go/app/redis_go RespReader >app/mocks/mock_redis_go.go