diff --git a/plugins/common/common.go b/plugins/common/common.go index 19dfbdd4582..53a7e27fd02 100644 --- a/plugins/common/common.go +++ b/plugins/common/common.go @@ -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 -} diff --git a/plugins/common/functions.go b/plugins/common/functions.go index 986c4d0845a..185ddd9f5da 100644 --- a/plugins/common/functions.go +++ b/plugins/common/functions.go @@ -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 +}