Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 657 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 657 Bytes

Tiny-driver

Yet another PostgreSQL driver.

The driver was written for educational purposes for my article on the Medium

A minimum of functionality has been implemented which should be enough to explain the principle of work.

Do not use in production 💀

Was inspired by:

Example

import (
    "database/sql"
    _ "github.com/ihippik/tiny-driver"
)

func main() {
    dsn := "postgres://postgres:postgrespw@localhost:55000/postgres?sslmode=disable"
    db, err := sql.Open("tiny", dsn)
}