161 Commits

Author SHA1 Message Date
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
Fatih Arslan
548248a457 field: fix doc typo 2014-08-12 11:29:05 +03:00
Fatih Arslan
5e0c20298b Merge pull request #11 from fatih/struct
struct and field: two new types for a more advanced struct controlling
2014-08-11 04:22:45 +03:00
Fatih Arslan
353ac3c164 Readme: small typo 2014-08-11 04:17:19 +03:00
Fatih Arslan
d06e3eb5fe structure: improve examples 2014-08-11 04:15:58 +03:00
Fatih Arslan
1c91005c39 structure: more improvements 2014-08-11 03:53:35 +03:00
Fatih Arslan
f614213600 struct: increase coverage back to %100 2014-08-11 01:52:22 +03:00
Fatih Arslan
3bd57b6a66 field: add a method to get nested fields back 2014-08-11 01:00:39 +03:00
Fatih Arslan
a92e1f9f8d field: cover all cases for fields 2014-08-11 00:51:56 +03:00
Fatih Arslan
84a0f611c7 more tests, additional methods for fields 2014-08-10 16:42:04 +03:00
Fatih Arslan
d5c544c4f6 field: add tests for fields, WIP 2014-08-10 16:05:37 +03:00
Fatih Arslan
53f565ab3e field: add IsEmbedded and fix doc about Value() 2014-08-10 15:53:25 +03:00
Fatih Arslan
fe137c012f structure: add constructor to provide a more advanced functions around
structs
2014-08-10 15:47:04 +03:00
Fatih Arslan
50c639fd56 structure: golint and govet improvements 2014-08-08 15:38:40 +03:00
Fatih Arslan
091a0feb9b travis: add coverage 2014-08-08 14:06:49 +03:00
Fatih Arslan
f59cd82529 tags: simplify parseTag, no need for len checking 2014-08-08 13:45:04 +03:00
Fatih Arslan
74f7a1f303 tags_test: include empty tag case 2014-08-08 13:32:35 +03:00