Merge pull request #5942 from dokku/move-times

Move the times function to functions.go
This commit is contained in:
Jose Diaz-Gonzalez
2023-06-16 23:39:22 -04:00
committed by GitHub
2 changed files with 7 additions and 7 deletions

View File

@@ -617,10 +617,3 @@ func VerifyAppName(appName string) error {
return nil
}
func times(str string, n int) (out string) {
for i := 0; i < n; i++ {
out += str
}
return
}

View File

@@ -45,3 +45,10 @@ func removeEmptyEntries(s []string) []string {
}
return r
}
func times(str string, n int) (out string) {
for i := 0; i < n; i++ {
out += str
}
return
}