go-faker / faker

Go (Golang) Fake Data Generator for Struct, previously https://github.com/bxcodec/faker
https://pkg.go.dev/github.com/go-faker/faker/v4
MIT License
614 stars 30 forks source link

SetNilIfLenIsZero #41

Closed kayla-barenz-kr closed 6 months ago

kayla-barenz-kr commented 6 months ago

When we used "github.com/bxcodec/faker/v3" we were utilizing the option faker.SetNilIfLenIsZero(true)

it appears since go-faker we don't have this option anymore, or am I missing something? Is this something that can be added back?

kayla-barenz-kr commented 6 months ago

ignore this, I found the option in a different place.