diff --git a/lazy.go b/lazy.go index a0d54e0..b3d2a37 100644 --- a/lazy.go +++ b/lazy.go @@ -103,11 +103,11 @@ func RandomGenerate(m Config) (*Mock, error) { nullType := false switch field.Type { case reflect.TypeOf(sql.NullTime{}): - if isNull() { - rows[y] = append(rows[y], nil) - } else { - rows[y] = append(rows[y], time.Now()) - } + // if isNull() { + rows[y] = append(rows[y], nil) + // } else { + // rows[y] = append(rows[y], time.Now()) + // } nullType = true case reflect.TypeOf(sql.NullInt16{}): if isNull() {