mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-26 01:06:27 +02:00
update go demos
This commit is contained in:
parent
e507bc0230
commit
6eb2397537
6 changed files with 14 additions and 25 deletions
|
|
@ -7,12 +7,10 @@ import (
|
|||
"fmt"
|
||||
"log"
|
||||
|
||||
sqlite_vec "github.com/asg017/sqlite-vec/bindings/go/cgo"
|
||||
sqlite_vec "github.com/asg017/sqlite-vec-go-bindings/cgo"
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
)
|
||||
|
||||
// #cgo LDFLAGS: -L../../dist
|
||||
import "C"
|
||||
|
||||
func serializeFloat32(vector []float32) ([]byte, error) {
|
||||
buf := new(bytes.Buffer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue