Make long godoc comment 2 lines

This commit is contained in:
Matthias Loibl 2016-11-07 23:14:50 +01:00
Родитель 2bb188ae79
Коммит 95d4cd9292
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B1C7DF661ABB2C1A
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

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