예제 #1
0
// init registers the test matcher with the program.
func init() {
	var matcher testMatcher
	search.Register("test", matcher)
}
예제 #2
0
파일: rss.go 프로젝트: corococo/go-training
// init registers the matcher with the program.
func init() {
	var matcher rssMatcher
	search.Register("rss", matcher)
}