gofmt simplify

This commit is contained in:
Henrique Dias committed 2015-09-26 21:39:27 +01:00
1 parent aba6926b24
commit c14c815a19
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -208,7 +208,7 @@ func get(w http.ResponseWriter, r *http.Request, c *config.Config) (int, error)
}),
Root: "./",
Configs: []browse.Config{
browse.Config{
{
PathScope: "/",
Variables: c,
Template: tpl,
+1 -1
View File
@@ -184,7 +184,7 @@ func SplitCapitalize(name string) string {
}
name = strings.ToLower(name[:len(name)-1])
name = strings.ToUpper(string(name[0])) + name[1:len(name)]
name = strings.ToUpper(string(name[0])) + name[1:]
return name
}