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 |
|
Fatih Arslan
|
563e458c93
|
structure_test: cover panicing of Name()
|
2014-08-08 12:53:38 +03:00 |
|
Fatih Arslan
|
76f7c2b740
|
Merge pull request #10 from fatih/tags
structure: stop parsing nested structures via field tag
|
2014-08-08 12:42:00 +03:00 |
|
Fatih Arslan
|
b10a55eb0c
|
structure: clarifiy docs and add examples for omitnested tag option
|
2014-08-08 12:39:25 +03:00 |
|
Fatih Arslan
|
1b32eb1316
|
structure: add omitnested support to IsZero and HasZero
|
2014-08-08 11:49:06 +03:00 |
|
Fatih Arslan
|
72596462dd
|
structure: add omitnested support to Fields
|
2014-08-07 22:18:04 +03:00 |
|
Fatih Arslan
|
eacf1a7590
|
structure: add omitnested support to values
|
2014-08-07 21:57:51 +03:00 |
|
Fatih Arslan
|
137635f5eb
|
structure: add omitnested feature to Map
|
2014-08-07 21:23:01 +03:00 |
|
Fatih Arslan
|
fc5199c8cc
|
tags: parse tag names and options
|
2014-08-07 18:17:41 +03:00 |
|
Fatih Arslan
|
792cad134c
|
Merge branch 'master' of https://github.com/fatih/structure
|
2014-08-07 11:09:46 +03:00 |
|
Fatih Arslan
|
e34cf80acb
|
structure: fix mixed up indexes, fixes #8. Thanks @yrashk for reporting
|
2014-08-07 11:09:05 +03:00 |
|
Fatih Arslan
|
5715a69d09
|
Merge pull request #7 from smallfish/master
support custom struct's field tag name
|
2014-08-05 18:39:49 +03:00 |
|
smallfish
|
b673565392
|
update custom struct's field tag name use package var, remove setter/reset func
|
2014-08-05 22:45:42 +08:00 |
|
Fatih Arslan
|
13b7095115
|
Update README.md
|
2014-08-05 17:01:25 +03:00 |
|
Fatih Arslan
|
241e969210
|
structure: add IsZero() back that checks all fields
|
2014-08-05 16:54:01 +03:00 |
|
smallfish
|
b334b6a03f
|
support custom struct's field tag name
|
2014-08-05 21:43:46 +08:00 |
|
Fatih Arslan
|
301494b442
|
structure: rename IsZero to HasZero
This reflect the intention of this function much better. Suggestion is
from golang-nuts.
|
2014-08-05 16:28:49 +03:00 |
|
Fatih Arslan
|
69a6a30d8e
|
Update README.md
|
2014-08-04 00:49:29 +03:00 |
|
Fatih Arslan
|
dc92ad5a15
|
Update readme.md
|
2014-08-03 22:23:57 +03:00 |
|
Fatih Arslan
|
0bde053c03
|
Update README.md
|
2014-08-03 22:23:08 +03:00 |
|
Fatih Arslan
|
a1706cf168
|
Remove Implements
|
2014-08-02 01:02:04 +03:00 |
|
Fatih Arslan
|
816e3846a4
|
structure: add Implements method
|
2014-07-31 11:46:39 +03:00 |
|
Fatih Arslan
|
53685825f9
|
Remove WIP
|
2014-07-30 23:19:49 +03:00 |
|
Fatih Arslan
|
31b952e111
|
structure: Add Has() method, fix IsZero()
|
2014-07-30 22:01:18 +03:00 |
|
Fatih Arslan
|
e68f708c4c
|
Improve tests
|
2014-07-30 21:24:28 +03:00 |
|
Fatih Arslan
|
4875a9916b
|
structure: check for pointer structs
|
2014-07-30 21:17:46 +03:00 |
|
Fatih Arslan
|
778d3311fd
|
strucuture: rename IsValid to IsZero
|
2014-07-30 21:10:26 +03:00 |
|
Fatih Arslan
|
0ec62843ec
|
structure: add anonymous fields test, closes #5
|
2014-07-30 21:08:34 +03:00 |
|
Fatih Arslan
|
4d9abb0de1
|
structure: check for nested structs, closes #6
|
2014-07-30 18:49:46 +03:00 |
|
Fatih Arslan
|
cda09b4aa4
|
examples: remove artifact comment
|
2014-07-30 17:45:16 +03:00 |
|
Fatih Arslan
|
0aaea945f5
|
structure: add Name() function
|
2014-07-30 17:43:09 +03:00 |
|
Fatih Arslan
|
85225e04e3
|
Merge branch 'master' of https://github.com/fatih/structure
|
2014-07-30 16:04:42 +03:00 |
|