From 152644808955e22b8e1059e34820db979a47d89a Mon Sep 17 00:00:00 2001 From: PThorpe92 Date: Wed, 27 Aug 2025 22:23:19 -0400 Subject: [PATCH] Update README.md for Go documentation --- README.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ceaca572c..b0bd7a251 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Turso Database is an in-process SQL database written in Rust, compatible with SQ * **SQLite compatibility** for SQL dialect, file formats, and the C API [see [document](COMPAT.md) for details] * **Change data capture (CDC)** for real-time tracking of database changes. * **Language support** for - * [Go](bindings/go) + * [Go](https://github.com/tursodatabase/turso-go) * [JavaScript](bindings/javascript) * [Java](bindings/java) * [Python](bindings/python) @@ -171,24 +171,16 @@ print(res.fetchone()) 🦫 Go
-1. Clone the repository -2. Build the library and set your LD_LIBRARY_PATH to include turso's target directory ```console -cargo build --package turso-go -export LD_LIBRARY_PATH=/path/to/turso/target/debug:$LD_LIBRARY_PATH -``` -3. Use the driver - -```console -go get github.com/tursodatabase/turso -go install github.com/tursodatabase/turso +go get github.com/tursodatabase/turso-go +go install github.com/tursodatabase/turso-go ``` Example usage: ```go import ( "database/sql" - _ "github.com/tursodatabase/turso" + _ "github.com/tursodatabase/turso-go" ) conn, _ = sql.Open("turso", "sqlite.db")