Skip to content

Commit 6f91f0f

Browse files
authored
Merge pull request #2420 from yozel/master
📖 Remove unused removeString function from documentation
2 parents 4990c4e + c33da2d commit 6f91f0f

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)