Open oldme-git opened 2 months ago
func TestI(t *testing.T) { type myInt int var i myInt = 123 err := rdb.Set(ctx, "key", i, 0).Err() if err != nil { t.Fatal(err) } } result: redis: can't marshal * (implement encoding.BinaryMarshaler)