removing debug prints

This commit is contained in:
2026-01-23 14:56:28 -05:00
parent 9719cde88b
commit 88e67d69fc

View File

@@ -114,7 +114,6 @@ func kindToRandom(field reflect.StructField) any {
//manner. For now we check those types first, and will clean this up later.
switch field.Type {
case reflect.TypeOf(sql.NullTime{}):
fmt.Println("found nulltime")
var temp sql.NullTime
if !isNull() {
temp.Valid = true
@@ -191,10 +190,8 @@ func kindToRandom(field reflect.StructField) any {
case reflect.String:
return fmt.Sprintf("random %d", rand.Int())
case reflect.Bool:
fmt.Println("THIS TWO")
return rand.Int()%2 == 0
case reflect.TypeOf(time.Time{}).Kind():
fmt.Println("THIS?")
return time.Now()
case reflect.Array:
underlying := field.Type.Elem().Kind()
@@ -280,7 +277,7 @@ func kindToRandom(field reflect.StructField) any {
case reflect.String:
var strslice []string
for x := 0; x < count; x++ {
strslice = append(strslice, fmt.Sprintf("%d", rand.Int()))
strslice = append(strslice, fmt.Sprintf("random %d", rand.Int()))
}
return strslice
case reflect.Bool: