1
0
Dima 9e7f50672c Update DB 3 dní pred
..
db.go 9e7f50672c Update DB 3 dní pred
db_config.go 9e7f50672c Update DB 3 dní pred
error.go 7612794c8f Add DB 7 mesiacov pred
readme.md c1444ec377 Add docs 7 mesiacov pred
tx.go 24549ee424 Add TX 3 mesiacov pred

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