-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New Feature: MapperSlice support ptr and struct * New Feature: MapperMapSlice support ptr and struct * Detail: - now support two slice's element type is ptr or struct in MapperSlice - now support slice's element type is ptr or struct in MapperMapSlice - About MapperMapSlice: ```golang //view test code in mapper_test.go:Test_MapperSlice\Test_MapperStructSlice //type ptr var toSlice []*testStruct //type struct var toSlice []testStruct ``` - About MapperSlice: ```golang //view test code in mapper_test.go:Test_MapperMapSlice\Test_MapperStructMapSlice //type ptr var fromSlice []*FromStruct var toSlice []*ToStruct //type struct var fromSlice []FromStruct var toSlice []ToStruct ``` * 2019-11-03 16:00 in ShangHai
- Loading branch information
Showing
3 changed files
with
116 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters