I'm not sure if I'm missing something, but it seems like .Get doesn't return the ID within the struct that gets returned. I tested the same with BoltHold, which produced exactly what I was expecting, so I suspect that this is a bug with BadgerHold. If you run the linked code example, you'll get the following response:
I'm not sure if I'm missing something, but it seems like
.Get
doesn't return the ID within the struct that gets returned. I tested the same with BoltHold, which produced exactly what I was expecting, so I suspect that this is a bug with BadgerHold. If you run the linked code example, you'll get the following response:Badger example: