1 // um yes... its a db connector
4 type DBConnector struct {
8 func DBSetup(dbtype string, host string, username string, password string, database string, createtables bool)
11 // the job of this function is to bring up the connection and create tables based on dbtype
12 //var Dbconn *dbibridge.DBIConnection;
14 //Dbconn = dbibridge.DBICreate();
16 //dbibridge.DBIConnect(Dbconn, "mysql", "localhost", "root", "password", "zm");
17 //dbibridge.ExecSQL(Dbconn, "create table asdf (asdf int)");
18 //dbibridge.DBIDisconnect(Dbconn);