7b15aab7ec
Started work on the actual stuff Gave up on Valkey (for right now)
11 lines
541 B
Go
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
|
|
*/ |