Dima 9e7f50672c Update DB 3 dias atrás
..
db.go 9e7f50672c Update DB 3 dias atrás
db_config.go 9e7f50672c Update DB 3 dias atrás
error.go 7612794c8f Add DB 7 meses atrás
readme.md c1444ec377 Add docs 7 meses atrás
tx.go 24549ee424 Add TX 3 meses atrás

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