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
比如有结构体A和D
type A struct{ C int D *D } type D struct{ B int E int }
有切片var as []A,var ds[]D,以类似copier.Copy(&ds,as)的方式,直接把A.D拷贝到ds切片中
简化代码,不用遍历A切片
The text was updated successfully, but these errors were encountered:
jinzhu
No branches or pull requests
Describe the feature
比如有结构体A和D
有切片var as []A,var ds[]D,以类似copier.Copy(&ds,as)的方式,直接把A.D拷贝到ds切片中
Motivation
简化代码,不用遍历A切片
Related Issues
The text was updated successfully, but these errors were encountered: