Files
darkstorm-server/internal/backend/db/valkey.go
T
Caleb Gardner 7b15aab7ec SimpleApp
Started work on the actual stuff
Gave up on Valkey (for right now)
2024-06-16 06:46:44 -05:00

11 lines
541 B
Go

package db
/*
TODO
Currently there isn't a clean way to implement this (as far as I can tell).
valkey-go relies on an internal library for it's command builder, which makes it impossible to
use properly for generics without manually writing out the Index command. I could probably do this, but
it's a pain.
valkey-go does have a Generic Object Mapping library (valkey-go/om), but it requires a Version field
on every struct which would be confusing if I did add it to all my structs and Go doesn't allow anonymous generics inside structs
*/