This commit is contained in:
Henrique Dias committed 2015-09-17 21:26:06 +01:00
1 parent edf0a453a3
commit d847909da8
10 files changed
+236 -81

No files matched your search

+4
View File
@@ -52,6 +52,10 @@ func IsInterface(sth interface{}) bool {
return reflect.ValueOf(sth).Kind() == reflect.Interface
}
func IsMarkdownFile(filename string) bool {
return strings.HasSuffix(filename, ".markdown") || strings.HasSuffix(filename, ".md")
}
func SplitCapitalize(name string) string {
var words []string
l := 0