From 95d4cd9292454dccaa8bd443656a7f21e18dccc5 Mon Sep 17 00:00:00 2001 From: Matthias Loibl Date: Mon, 7 Nov 2016 23:14:50 +0100 Subject: [PATCH] Make long godoc comment 2 lines --- modules/base/tool.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/base/tool.go b/modules/base/tool.go index 209ff0a9cb..3cc8bbabae 100644 --- a/modules/base/tool.go +++ b/modules/base/tool.go @@ -43,7 +43,8 @@ func EncodeSha1(str string) string { return hex.EncodeToString(h.Sum(nil)) } -// ShortSha is basically just truncating. It is DEPRECATED and will be removed in the future. +// ShortSha is basically just truncating. +// It is DEPRECATED and will be removed in the future. func ShortSha(sha1 string) string { return TruncateString(sha1, 10) }