go-redis icon indicating copy to clipboard operation
go-redis copied to clipboard

Set don't support unitptr

Open oldme-git opened this issue 1 year ago • 2 comments

var id uintptr = 123
err := rdb.Set(ctx, "test1", id, 0)
if err != nil {
    t.Fatal(err)
}

oldme-git avatar Sep 02 '24 07:09 oldme-git

It's look a little bit strange that you want to store pointer on db, for me this doesn't look good.

khasanovbi avatar Oct 14 '24 13:10 khasanovbi

@oldme-git I have responded in the PR, would you like to follow up the discussion there or we should close this ?

ndyakov avatar Mar 20 '25 18:03 ndyakov

If anyone would like to take a shoot at this - feel free, otherwise we will consider it for v10

ndyakov avatar Oct 21 '25 08:10 ndyakov

It's look a little bit strange that you want to store pointer on db, for me this doesn't look good.

Perhaps we'll discuss it in the PR.

oldme-git avatar Oct 21 '25 11:10 oldme-git