Searcher declares an interface used to leverage different search engines to find results.
| 15 | // Searcher declares an interface used to leverage different |
| 16 | // search engines to find results. |
| 17 | type Searcher interface { |
| 18 | Search(searchTerm string, searchResults chan<- []Result) |
| 19 | } |
| 20 | |
| 21 | // searchSession holds information about the current search submission. |
| 22 | // It contains options, searchers and a channel down which we will receive |
no outgoing calls
no test coverage detected