We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34d5b8c commit dec24b8Copy full SHA for dec24b8
1 file changed
golang/lib.go
@@ -276,6 +276,16 @@ func Version() string {
276
return C.GoString(C.usearch_version())
277
}
278
279
+// GetHandle returns the C index handel.
280
+func (index *Index) GetHandle() C.usearch_index_t {
281
+ return index.handle
282
+}
283
+
284
+// GetConfig returns the index config.
285
+func (index *Index) GetConfig() IndexConfig {
286
+ return index.config
287
288
289
// Len returns the number of vectors in the index.
290
func (index *Index) Len() (len uint, err error) {
291
var errorMessage *C.char
0 commit comments