clean unused function

pull/8/head
WanLinghao 2018-07-16 15:16:32 +08:00
parent c861ceb41a
commit 4db1cc03ba
1 changed files with 0 additions and 9 deletions

View File

@ -234,15 +234,6 @@ func rpad(s string, padding int) string {
return fmt.Sprintf(template, s)
}
func indentLines(s string, indentation int) string {
r := []string{}
for _, line := range strings.Split(s, "\n") {
indented := strings.Repeat(" ", indentation) + line
r = append(r, indented)
}
return strings.Join(r, "\n")
}
func appendIfNotPresent(s, stringToAppend string) string {
if strings.Contains(s, stringToAppend) {
return s