Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / go / ssa / interp / testdata / src / strings / strings.go
1 package strings
2
3 func Replace(s, old, new string, n int) string
4
5 func Index(haystack, needle string) int
6
7 func Contains(haystack, needle string) bool {
8         return Index(haystack, needle) >= 0
9 }