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
type CollectionAlias struct { CollectionName string `json:"collection_name"` Name string `json:"name"` } func createNewCollectionAlias(collectionName string, name string) *api.CollectionAlias { return &api.CollectionAlias{ CollectionName: collectionName, Name: name, } } ... expectedResult := []*api.CollectionAlias{ createNewCollectionAlias("collection", "collection_alias1"), createNewCollectionAlias("collection", "collection_alias2"), createNewCollectionAlias("collection", "collection_alias3"), } mockedResult := []*api.CollectionAlias{} copier.Copy(&mockedResult, &expectedResult) // <--- panic here
This bug is reproducible for all versions > v0.2.0
You can get more details here.
The text was updated successfully, but these errors were encountered:
c4beccc
Fix copy slice, close jinzhu#75
fdf517d
jinzhu
No branches or pull requests
Reproducible Example
Description
This bug is reproducible for all versions > v0.2.0
You can get more details here.
The text was updated successfully, but these errors were encountered: