21 Commits

Author SHA1 Message Date
kcln1687
5f175bf3fc fix: panic when passing pointer to pointer as param 2016-07-19 21:20:03 +08:00
marco
ab16a9c6b1 fixed flatten documentation 2016-06-23 00:28:15 +02:00
davrux
c7685df069 Will not panic on interface type in struct. (#62)
* Will not panic on interface type in struct.
2016-06-15 19:13:29 +03:00
Fatih Arslan
f7e369b900 structs: add support for map and slice type
Fixes #58
2016-06-13 13:14:00 +03:00
Ivaylo Petrov
b2568a7cd2 Fix some methods' descriptions to match code 2016-05-19 14:48:26 +02:00
n3wtron
24f3e1df2f created flatnested tag to convert the anonymous field in a flat map (#46)
* flat fields with the new flatten tag
* added flatten tag documentation
2016-05-10 15:09:22 +03:00
Fatih Arslan
ff332a1b02 structs: add tests for FillMap 2016-03-14 13:56:43 +02:00
polaris
179aa9d3d4 Add FillMap(s interface{}, out map[string]interface{}) 2016-03-14 17:00:24 +08:00
Kunal Powar
89d5c9d448 use stringer if string tag option is used 2016-01-19 12:32:10 +05:30
sergeyt
77ad876ced updated the fix to avoid performance impact (PR #40) 2015-11-24 20:12:59 +06:00
sergeyt
80b007702e fix nesting of time fields 2015-11-23 01:41:40 +06:00
Fatih Arslan
bc6c9948c8 structs: fix custom tag names for nested structs 2015-05-06 17:41:32 +03:00
Fatih Arslan
c06d8730d4 structs: add Names() api call. Closes #26 2015-04-18 23:05:59 +03:00
jaemin
79afa3ec1c refactor Field to have defaultTag field which value is from parent struct 2015-03-04 19:02:03 +09:00
jaemin
a093a86a06 refactor Struct to have own TagName field 2015-03-04 18:55:52 +09:00
Fatih Arslan
e1ea13a2d5 structs: fix nil pointer including, fixes #20 2014-10-07 18:15:07 +03:00
Fatih Arslan
6dd7cda522 structs: add omitempty support to Values() 2014-09-15 12:39:09 +03:00
Fatih Arslan
782d098eb6 structs: add omitempty test 2014-09-14 20:43:08 +03:00
Fatih Arslan
9c8bc21e6a structs: add omitempty tag option
Doesn't add it to the final result if the field value is a zero value
2014-09-14 13:56:50 +03:00
Cihangir SAVAS
852670f7c6 Structs: added Fields() method into Field struct for listing all the Fields of the given field if it is a struct. 2014-08-17 02:39:19 -07:00
Fatih Arslan
f3d3802cda structure -> structs renaming 2014-08-13 22:53:15 +03:00