func ctx.JSONString() parser issue.
MiyamuraMiyako opened this issue · 1 comments
MiyamuraMiyako commented
unknwon commented
The zero value of []T
is nil
, it is not the same as an empty slice with zero elements. You need models := []T{}
to make the slice to be initialized.