MCPcopy Index your code
hub / github.com/goinaction/code / Search

Method Search

chapter2/sample/search/match.go:16–16  ·  view source on GitHub ↗
(feed *Feed, searchTerm string)

Source from the content-addressed store, hash-verified

14// to implement a new search type.
15type Matcher interface {
16 Search(feed *Feed, searchTerm string) ([]*Result, error)
17}
18
19// Match is launched as a goroutine for each individual feed to run

Callers 1

MatchFunction · 0.65

Implementers 5

googlechapter7/patterns/search/searchers.go
bingchapter7/patterns/search/searchers.go
yahoochapter7/patterns/search/searchers.go
defaultMatcherchapter2/sample/search/default.go
rssMatcherchapter2/sample/matchers/rss.go

Calls

no outgoing calls

Tested by

no test coverage detected