Conversation
|
Hey @sno6 , thanks for the contribution! I think it's a great idea to add a "how to use Instead, I think it should be possible to statically link Unfortunately it won't be easy: this issue seems to suggest it's possible, but If you're able to change this PR to just include an example Go code snipper in the README, that'll be great! Otherwise I'll probably add one myself in a few weeks. Again, thanks for the contribution! |
| func Open(dbName string, extPath string) (*sql.DB, error) { | ||
| sql.Register("sqlite-vss", &sqlite3.SQLiteDriver{ | ||
| Extensions: []string{ | ||
| path.Join(extPath, "vector0"), |
There was a problem hiding this comment.
do not use path package. please path/filepath instead.
Hey, I've been playing around with sqlite-vss in Go quite a bit recently so thought I'd chuck up an MR.
It doesn't package up the extensions like the ts/py packages, it's just a lightweight wrapper around a Go driver to make things a little easier for Go folks to get up and running.