Skip to content

Commit 95d4cd9

Browse files
committed
Make long godoc comment 2 lines
1 parent 2bb188a commit 95d4cd9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/base/tool.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ func EncodeSha1(str string) string {
4343
return hex.EncodeToString(h.Sum(nil))
4444
}
4545

46-
// ShortSha is basically just truncating. It is DEPRECATED and will be removed in the future.
46+
// ShortSha is basically just truncating.
47+
// It is DEPRECATED and will be removed in the future.
4748
func ShortSha(sha1 string) string {
4849
return TruncateString(sha1, 10)
4950
}

0 commit comments

Comments
 (0)