]> Cypherpunks.ru repositories - gostls13.git/commit
bytes, strings: add ContainsFunc
authorhopehook <hopehook@qq.com>
Tue, 3 Jan 2023 08:23:16 +0000 (16:23 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 24 Jan 2023 22:06:45 +0000 (22:06 +0000)
commit0b3f58c48e3298e49e27f80dc748f0652339d63e
treeb97cd822afb25332f99f90630c931a3d1ccc8f94
parent43f9b826c322d5541ca0260f8b0c9b71db0f7ec8
bytes, strings: add ContainsFunc

Fixes #54386.

Change-Id: I78747da337ed6129e4f7426dd0483a644bed82e3
Reviewed-on: https://go-review.googlesource.com/c/go/+/460216
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: hopehook <hopehook@golangcn.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
api/next/54386.txt [new file with mode: 0644]
src/bytes/bytes.go
src/bytes/bytes_test.go
src/strings/strings.go
src/strings/strings_test.go