Пример #1
0
func (s *searchCmd) showAllCharts(i *search.Index) {
	res := i.All()
	search.SortScore(res)
	fmt.Fprintln(s.out, s.formatSearchResults(res))
}
Пример #2
0
func (s *searchCmd) showAllCharts(i *search.Index) {
	for name := range i.Entries() {
		fmt.Fprintln(s.out, name)
	}
}