We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
res := []SampleArray{} if err := copier.Copy(&SampleArray, sourceArray); err != nil { return nil, errors.Wrap(err, "failed to copy response") }
if sourceArray is zero length array then res is nil !!
i want res is zero length array!!
The text was updated successfully, but these errors were encountered:
Could you please give a full test to run?
Sorry, something went wrong.
@koota110 please look at this piece of code : https://play.golang.org/p/Ihqb0zTa8n0 I'm not able to reproduce the issue you've reported. I think this ticket can be closed. @jinzhu
No branches or pull requests
if sourceArray is zero length array then res is nil !!
i want res is zero length array!!
The text was updated successfully, but these errors were encountered: