This commit is contained in:
Henrique Dias committed 2015-09-15 11:59:48 +01:00
1 parent e3ac3a6a4b
commit 85aea63307
9 files changed
+354 -36

No files matched your search

+8
View File
@@ -27,6 +27,14 @@ func IsMap(sth interface{}) bool {
return reflect.ValueOf(sth).Kind() == reflect.Map
}
func IsSlice(sth interface{}) bool {
return reflect.ValueOf(sth).Kind() == reflect.Slice
}
func IsArray(sth interface{}) bool {
return reflect.ValueOf(sth).Kind() == reflect.Array
}
func SplitCapitalize(name string) string {
var words []string
l := 0