Categorygithub.com/ihippik/tiny-driver
repositorypackage
0.0.0-20221002051147-7c1c343f2d05
Repository: https://github.com/ihippik/tiny-driver.git
Documentation: pkg.go.dev

# README

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 :skull:

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)
}