adding comments
This commit is contained in:
2
lazy.go
2
lazy.go
@@ -292,6 +292,8 @@ func kindToRandom(field reflect.StructField) any {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// a quick and dirty rng function to determine if nulltypes are null or
|
||||||
|
// if we will generate a random value
|
||||||
func isNull() bool {
|
func isNull() bool {
|
||||||
x := rand.IntN(2)
|
x := rand.IntN(2)
|
||||||
if x%2 == 0 {
|
if x%2 == 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user