24 Commits

Author SHA1 Message Date
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
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
31b952e111 structure: Add Has() method, fix IsZero() 2014-07-30 22:01:18 +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
0aaea945f5 structure: add Name() function 2014-07-30 17:43:09 +03:00
Fatih Arslan
f13a957d40 structure, remove sorting 2014-07-30 16:03:37 +03:00
Fatih Arslan
dc0f34edb2 structure: refactor duplicate code 2014-07-30 01:48:00 +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
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
e8a7d20d51 structure: add ToSlice() , closes #3 2014-07-27 16:53:29 +03:00
Fatih Arslan
716932739a structure: add IsStruct() method 2014-07-27 14:48:26 +03:00
Fatih Arslan
c8876826eb structure: add travis, example and fix of pointer to struct 2014-07-26 17:41:27 +03:00
Fatih Arslan
ad2d6e3fe7 structure: first commit 2014-07-26 17:27:29 +03:00