// 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 }