init registers the matcher with the program.
()
| 62 | |
| 63 | // init registers the matcher with the program. |
| 64 | func init() { |
| 65 | var matcher rssMatcher |
| 66 | search.Register("rss", matcher) |
| 67 | } |
| 68 | |
| 69 | // Search looks at the document for the specified search term. |
| 70 | func (m rssMatcher) Search(feed *search.Feed, searchTerm string) ([]*search.Result, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected