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 |
|
Fatih Arslan
|
f13a957d40
|
structure, remove sorting
|
2014-07-30 16:03:37 +03:00 |
|
Fatih Arslan
|
e69be9c8a4
|
Update README.md
|
2014-07-30 02:25:34 +03:00 |
|
Fatih Arslan
|
3a3a3259e4
|
Add WIP note
|
2014-07-30 02:23:49 +03:00 |
|
Fatih Arslan
|
dc0f34edb2
|
structure: refactor duplicate code
|
2014-07-30 01:48:00 +03:00 |
|
Fatih Arslan
|
38f7313fbb
|
Updat readme.md
|
2014-07-29 23:38:57 +03:00 |
|
Fatih Arslan
|
af17259375
|
Convert ToSlice() to Values()
|
2014-07-29 23:07:59 +03:00 |
|
Fatih Arslan
|
32b1a23aeb
|
structure: convert ToMap() to Map()
|
2014-07-29 23:01:00 +03:00 |
|
Fatih Arslan
|
b7140a415d
|
structure: improve API docs and add test for IsValid()
|
2014-07-29 22:56:01 +03:00 |
|
Fatih Arslan
|
fbcdb369b6
|
Merge branch 'master' of https://github.com/fatih/structure
Conflicts:
structure_example_test.go
|
2014-07-29 13:14:31 +03:00 |
|
Fatih Arslan
|
0aeff94720
|
structure: add example for IsValid()
|
2014-07-29 13:13:17 +03:00 |
|
Fatih Arslan
|
c0ef4f55de
|
structure: add exampel for IsValid()
|
2014-07-29 13:04:37 +03:00 |
|
Fatih Arslan
|
518752a838
|
structure: improve doc for IsValid()
|
2014-07-28 01:23:45 +03:00 |
|
Fatih Arslan
|
c36b654328
|
structure: add IsValid() function
|
2014-07-28 01:19:02 +03:00 |
|
Fatih Arslan
|
2d4d14a6c8
|
structure: add Fields() function, closes #4
|
2014-07-27 23:52:52 +03:00 |
|
Fatih Arslan
|
afdeeccc8b
|
structure: remove returning error, it should panic just like reflect
package
|
2014-07-27 23:38:29 +03:00 |
|
Fatih Arslan
|
68345fdc8f
|
Update README.md
|
2014-07-27 17:01:33 +03:00 |
|
Fatih Arslan
|
9d01c85dab
|
Fix typo in README.md
|
2014-07-27 16:59:46 +03:00 |
|
Fatih Arslan
|
30e8ac277e
|
Update README.md
|
2014-07-27 16:59:21 +03:00 |
|
Fatih Arslan
|
e7708e7aa2
|
Fix README.md
|
2014-07-27 16:54:16 +03:00 |
|
Fatih Arslan
|
e8a7d20d51
|
structure: add ToSlice() , closes #3
|
2014-07-27 16:53:29 +03:00 |
|
Fatih Arslan
|
e10d13000f
|
Update README.md
|
2014-07-27 14:55:29 +03:00 |
|