Dima d11024adbc Update DB 6 maanden geleden
..
db.go d11024adbc Update DB 6 maanden geleden
db_config.go d11024adbc Update DB 6 maanden geleden
error.go 7612794c8f Add DB 6 maanden geleden
readme.md c1444ec377 Add docs 6 maanden geleden
tx.go 7612794c8f Add DB 6 maanden geleden

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