127 Commits

Author SHA1 Message Date
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
Fatih Arslan
4018983491 structs_example: add examples for omitempty usage 2014-09-15 12:46:35 +03:00
Fatih Arslan
6dd7cda522 structs: add omitempty support to Values() 2014-09-15 12:39:09 +03:00
Fatih Arslan
431c57536b Merge pull request #19 from fatih/omitempty
Add omitempty tag option.
2014-09-14 20:49:23 +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
Fatih Arslan
8624dc5ae3 field: fix setting pointers. Closes ##16 2014-09-10 01:41:11 +03:00
Fatih Arslan
ebbcf66cbe readme: add example about field fields 2014-08-17 20:32:57 +03:00
Fatih Arslan
db46c5303b field: increase coverage of Set() method 2014-08-17 13:05:47 +03:00
Fatih Arslan
bb0405ceab field: get underlying element if pointer 2014-08-17 12:57:22 +03:00
Fatih Arslan
1c1b7ed9a8 Merge pull request #14 from cihangir/fields
Structs: added Fields() method into Field struct for listing all the Fie...
2014-08-17 12:55:47 +03:00
Cihangir SAVAS
995f03a605 Structs: fix documentation 2014-08-17 02:53:47 -07: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
8292271263 field: add Kind() method 2014-08-15 12:39:28 +03:00
Fatih Arslan
add65496af field: add Set() method for setting fields 2014-08-15 12:26:36 +03:00
Fatih Arslan
747a05cbb4 Update .travis coveralls token 2014-08-13 22:56:11 +03:00
Fatih Arslan
f3d3802cda structure -> structs renaming 2014-08-13 22:53:15 +03:00