Browse Source

Make long godoc comment 2 lines

tags/v1.0.0
Matthias Loibl 7 years ago
parent
commit
95d4cd9292
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      modules/base/tool.go

+ 2
- 1
modules/base/tool.go View File

@@ -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)
}

Loading…
Cancel
Save