Writing a SQL database from scratch in Go: 4. a database/sql driver

from blog Notes on software development, | ↗ original
Previously in database basics: 1. SELECT, INSERT, CREATE and a REPL 2. binary expressions and WHERE filters 3. indexes In this post, we'll extend gosql to implement the database/sql driver interface. This will allow us to interact with gosql the same way we would interact with any other database. Here is an example familiar...