Closed mycroftcanner closed 1 year ago
You can implement the Storer interface, to specify your own indexes, rather than using the badgerHoldIndex struct tag.
Take a look at the source code to see how I do it there, and if you want the same behavior without using tags, you can just copy those methods to your type.
Is there a way to specify indexes without using tags? We would like to be able to use protobuf generated structs.