Skip to content

Commit c33da2d

Browse files
committed
Remove unused removeString function
1 parent 4990c4e commit c33da2d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docs/book/src/cronjob-tutorial/testdata/finalizer_example.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,3 @@ func containsString(slice []string, s string) bool {
115115
}
116116
return false
117117
}
118-
119-
func removeString(slice []string, s string) (result []string) {
120-
for _, item := range slice {
121-
if item == s {
122-
continue
123-
}
124-
result = append(result, item)
125-
}
126-
return
127-
}

0 commit comments

Comments
 (0)