Re: [go-nuts] Is this runtime.KeepAlive call really necessary
On Fri, Feb 2, 2024 at 10:05 AM Chong Yuan wrote: > > Here is the example in our gorocksdb: > > // Get returns the data associated with the key from the database. > > func (db *DB) Get(opts *ReadOptions, key []byte) (*Slice, error) { > >var ( > > cErr
[go-nuts] Is this runtime.KeepAlive call really necessary
Here is the example in our gorocksdb: // Get returns the data associated with the key from the database. func (db *DB) Get(opts *ReadOptions, key []byte) (*Slice, error) { var ( cErr*C.char cValLen C.size_t