local collections for docu in website
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sebastian Frank
2019-03-25 15:33:53 +01:00
parent 234137f22f
commit 4cb09fb81f
17 changed files with 388 additions and 386 deletions

View File

@@ -2,6 +2,9 @@ package helper
// ShortenStringLeft shortens a string
func ShortenStringLeft(str string, num int) string {
if num <= 4 {
return ""
}
tstr := str
if len(str) > num {
if num > 3 {