Make long godoc comment 2 lines

pull/90/head
Matthias Loibl 8 years ago
parent 2bb188ae79
commit 95d4cd9292
No known key found for this signature in database
GPG Key ID: B1C7DF661ABB2C1A
  1. 3
      modules/base/tool.go

@ -43,7 +43,8 @@ func EncodeSha1(str string) string {
return hex.EncodeToString(h.Sum(nil)) 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 { func ShortSha(sha1 string) string {
return TruncateString(sha1, 10) return TruncateString(sha1, 10)
} }

Loading…
Cancel
Save