Matcher defines the behavior required by types that want to implement a new search type.
| 13 | // Matcher defines the behavior required by types that want |
| 14 | // to implement a new search type. |
| 15 | type 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 |
| 20 | // searches concurrently. |
no outgoing calls
no test coverage detected