X-Git-Url: http://git.pjr.cc/?p=goDBhammer.git;a=blobdiff_plain;f=src%2Fdbconnector.go;h=668242dbf954eb6b08c7aae87217edf329f43a4d;hp=f8b91317ad0c1a2c6ded722621ad5946b025cdbd;hb=eca6b58f8e0fe466027f051aca1e83da81a18046;hpb=52618e1a8ebd86ebb31b7109a65cfd5f6f82bf53 diff --git a/src/dbconnector.go b/src/dbconnector.go index f8b9131..668242d 100644 --- a/src/dbconnector.go +++ b/src/dbconnector.go @@ -1 +1,16 @@ -// um yes... its a db connector \ No newline at end of file +// um yes... its a db connector +package dbconnector + +type DBConnector struct { + // err, yes +} + +func DBSetup(dbtype string, host string, username string, password string, database string, createtables bool) +{ + + // the job of this function is to bring up the connection and create tables based on dbtype + +} + + +