143 Commits

Author SHA1 Message Date
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
f23af605df Merge pull request #60 from fatih/map-type-support
structs: add support for map and slice type
2016-06-14 00:29:24 +03:00
Fatih Arslan
f7e369b900 structs: add support for map and slice type
Fixes #58
2016-06-13 13:14:00 +03:00
Fatih Arslan
5ada2f449b Merge pull request #57 from asdine/setOnNestedField
Fix set value on nested field
2016-06-01 12:31:17 +03:00
Asdine El Hrychy
ca506a75fe Fix set value on nested field 2016-06-01 11:26:46 +02:00
Fatih Arslan
3fe2facc32 Merge pull request #53 from Acklio/fix-tests-print-verb
Fix print verb in a test
2016-05-19 16:58:40 +03:00
Fatih Arslan
fe6055a020 Merge pull request #52 from Acklio/fix-godoc
Fix some methods' descriptions to match code
2016-05-19 16:57:51 +03:00
Ivaylo Petrov
b2568a7cd2 Fix some methods' descriptions to match code 2016-05-19 14:48:26 +02:00
Ivaylo Petrov
dd0e61ff4e Fix print verb in a test 2016-05-19 14:45:17 +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
e5ca5fe90d Merge pull request #50 from kamronbatman/patch-1
[Typo] Fixes a typo in field.go
2016-05-05 12:04:36 +03:00
Kamron Batman
837933458a [Typo] Fixes a typo in field.go
Removes an extra 'of' in field.go
2016-05-04 17:19:15 -07:00
Fatih Arslan
73c4e3dc02 Update .travis.yml 2016-03-17 11:28:53 +02:00
Fatih Arslan
ff332a1b02 structs: add tests for FillMap 2016-03-14 13:56:43 +02:00
Fatih Arslan
0a6321f45c Merge pull request #49 from polaris1119/master
Add FillMap(s interface{}, out map[string]interface{})
2016-03-14 13:52:22 +02:00
polaris
179aa9d3d4 Add FillMap(s interface{}, out map[string]interface{}) 2016-03-14 17:00:24 +08:00
Fatih Arslan
12ff68a6f4 README.md: make example better 2016-02-24 10:23:52 +02:00
Fatih Arslan
a924a2250d Merge pull request #44 from shawnps/patch-3
typo
2016-01-23 12:59:39 -05:00
Shawn Smith
d285456bdb Update field.go 2016-01-22 21:29:07 -08:00
Fatih Arslan
d98fb2baf2 Merge pull request #41 from kunalpowar/string-opt-with-tag
use stringer if string tag option is used
2016-01-19 10:24:49 -05:00
Kunal Powar
89d5c9d448 use stringer if string tag option is used 2016-01-19 12:32:10 +05:30
Fatih Arslan
dd04ebad3d Merge pull request #42 from shawnps/patch-2
fix typos
2016-01-08 22:11:27 -05:00
Shawn Smith
24ec389e82 fix typos 2015-12-31 14:24:59 +09:00
Fatih Arslan
9a7733345f Merge pull request #40 from gocontrib/fix-time-nesting
fix nesting of time fields
2015-11-26 12:33:33 +02:00
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
d2e1722aca Merge pull request #39 from mammothbane/travis
switch travis builds to recommended container-based infrastructure
2015-11-21 20:16:45 +02:00
Fatih Arslan
64739a1bac Merge pull request #38 from mammothbane/master
add Zero function to field
2015-11-21 19:42:47 +02:00
Nathan Perry
71d38252db travis: container-based 2015-11-20 17:16:02 -05:00
Nathan Perry
0036eefac5 field: add Zero() 2015-11-20 16:38:09 -05:00
Fatih Arslan
c701457aaa Merge pull request #36 from fatih/fix-coverall
travis.yml: adopt to new travis changes
2015-10-14 12:55:59 +03:00
Fatih Arslan
7f56168dea travis.yml: adopt to new travis changes 2015-10-14 12:54:04 +03:00
Fatih Arslan
6a51a8e3e8 Merge pull request #34 from shawnps/patch-1
fix printf verbs
2015-10-14 11:25:17 +03:00
Shawn Smith
da00993903 fix printf verbs 2015-10-14 13:09:42 +09:00
Fatih Arslan
a9f7daa9c2 Merge pull request #32 from miku/master
correct typo in README
2015-05-26 09:43:52 +03:00
Martin Czygan
16e63b69c7 correct typo in README 2015-05-26 00:18:54 +02:00
Fatih Arslan
b4641b79cf Merge pull request #29 from fatih/fix-tag-names
structs: fix custom tag names for nested structs
2015-05-06 18:01:09 +03: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
Fatih Arslan
c00d27128b Merge pull request #24 from nullbus/master
Custom default tag name for each struct
2015-03-04 18:10:49 +02:00
jaemin
aaa985b57c Add test 2015-03-04 19:12:43 +09: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
bc210cbd8c Update README.md 2014-12-10 10:47:00 +02:00
Fatih Arslan
cff54a6885 Merge pull request #22 from PragmaticCypher/master
Fix misspelling in README
2014-11-18 12:34:34 +02:00
John
84547ff118 Fix misspelling in README 2014-11-14 11:39:18 +01:00
Fatih Arslan
5195e6e0a9 Update README.md 2014-10-28 20:17:23 +02:00
Fatih Arslan
8a1e78be51 Update README.md 2014-10-28 20:16:26 +02:00
Fatih Arslan
6321ca4452 Update README.md 2014-10-28 19:35:47 +02:00
Fatih Arslan
e1ea13a2d5 structs: fix nil pointer including, fixes #20 2014-10-07 18:15:07 +03:00