X-Git-Url: http://git.pjr.cc/?p=goDBhammer.git;a=blobdiff_plain;f=src%2Fdbconnector.go;h=83dc6497bb583043469f98e9af41892691babd14;hp=e09ebe9af23e93a73a078bd354239ae98f13109b;hb=ea18014aa62ab7de47d63b4d123d52230eb96c53;hpb=bb4d7a9f770f69fe0317d6f6e525df6d6611fbbd diff --git a/src/dbconnector.go b/src/dbconnector.go index e09ebe9..83dc649 100644 --- a/src/dbconnector.go +++ b/src/dbconnector.go @@ -1,10 +1,39 @@ // um yes... its a db connector package dbconnector +import ( + "./dbibridge"; + "time"; + "rand"; +) + type DBConnector struct { // err, yes } + +func CreateRandomText(len int) (str string) +{ + buf := make([]byte, len+2); + + rand.Seed(time.Nanoseconds()); + + for i:=0; i