示例#1
0
文件: rss.go 项目: nitsnwits/go
// init registers the matcher with the program.
func init() {
	var matcher rssMatcher
	search.Register("rss", matcher)
}
示例#2
0
// init registers the test matcher with the program.
func init() {
	var matcher testMatcher
	search.Register("test", matcher)
}