some more page work
[goDBhammer.git] / src / dbconnector.go
1 // um yes... its a db connector
2 package dbconnector
3
4 type DBConnector struct {
5         // err, yes
6 }
7
8 func DBSetup(dbtype string, host string, username string, password string, database string, createtables bool)
9 {
10
11         // the job of this function is to bring up the connection and create tables based on dbtype
12         //var Dbconn *dbibridge.DBIConnection;
13         
14         //Dbconn = dbibridge.DBICreate();
15         
16         //dbibridge.DBIConnect(Dbconn, "mysql", "localhost", "root", "password", "zm");
17         //dbibridge.ExecSQL(Dbconn, "create table asdf (asdf int)");
18         //dbibridge.DBIDisconnect(Dbconn);
19
20 }
21
22
23