gen
gen copied to clipboard
dont use "--guregu" shounld't import github.com/guregu/null
gen always import github.com/guregu/null and will generate
....
var (
_ = null.Bool()
)
Well why this is closed without any reply. I don't actually want the guregu/null
feature, but the absence of --guregu
still leaves the import there in the output. Could this fix be considered?
Yes, It should be improved.
Facing the same issue here. I do not want the guregu imports, so omitted the --guregu
flag. The model files still imports guregu and define an unused variable of type guregu null.