mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 12:04:21 +01:00
This PR brings the Go database/sql driver to it's first working state and adds a Go package to demonstrate. The example pkg demonstrates (in it's most bare/naive form at this point): 1. Open database (memory, in this case) 2. Create connection 3. Prepare statement (Create table) 4. `Exec` 5. Prepare statement (Insert, bind 3 arguments (int, string, blob) ( 6. `Exec` 7. Prepare statement (Select *) 8. `Columns` -> print columns 9. `Query` -> print rows 10. Close db connection  still tons of work to do but I at least wanted to get it to a state where it's not totally broken. I'll add some actual tests tomorrow Closes #796