Dmitriy Gnatenko b319cf7ffa Update DB hai 2 meses
..
db.go b319cf7ffa Update DB hai 2 meses
db_config.go 71418ee77d Update DB (default ssl mode) hai 6 meses
error.go 7612794c8f Add DB hai 6 meses
readme.md c1444ec377 Add docs hai 6 meses
tx.go b319cf7ffa Update DB hai 2 meses

readme.md

Usage example

dbConn, err := db.NewDB(
    db.NewConfig(
        db.WithDriver("mysql"),
        db.WithUsername("username"),
        db.WithPassword("password"),
        db.WithDatabase("db"),        
    ),
)

if err != nil {
    // TODO
}

err = dbConn.Ping()