Dima 14574fcd8d Update DB il y a 2 mois
..
db.go 14574fcd8d Update DB il y a 2 mois
db_config.go 71418ee77d Update DB (default ssl mode) il y a 6 mois
error.go 7612794c8f Add DB il y a 6 mois
readme.md c1444ec377 Add docs il y a 6 mois
tx.go 24549ee424 Add TX il y a 2 mois

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