summaryrefslogtreecommitdiffstats
path: root/modules/base/tool.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-10-24 18:43:17 -0400
committerUnknwon <joe2010xtmf@163.com>2014-10-24 18:43:17 -0400
commitf1d87462642aa0ab4ce61e8a285e3a288b4dc119 (patch)
treeebebe7ec77b9f4f8b0a38fa3b92cd49662244cca /modules/base/tool.go
parentbaae94b9cfe716eb85a56ea0bf3528af29413c6e (diff)
downloadgitea-f1d87462642aa0ab4ce61e8a285e3a288b4dc119.tar.gz
gitea-f1d87462642aa0ab4ce61e8a285e3a288b4dc119.zip
Fix fork repo and macaron API broken
Diffstat (limited to 'modules/base/tool.go')
-rw-r--r--modules/base/tool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/tool.go b/modules/base/tool.go
index 38fd1e21e7..5b56d1f6b7 100644
--- a/modules/base/tool.go
+++ b/modules/base/tool.go
@@ -24,7 +24,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
-// Encode string to md5 hex value
+// Encode string to md5 hex value.
func EncodeMd5(str string) string {
m := md5.New()
m.Write([]byte(str))