package fact
import "fmt"
templ (p *FactoidPlugin) factIndex() {
}
templ (p *FactoidPlugin) searchResults(facts []*Factoid) {
| Fact |
Tidbit |
Owner |
Count |
for _, f := range facts {
@p.searchResult(f)
}
}
templ (p *FactoidPlugin) searchResult(fact *Factoid) {
{ fact.Fact } |
{ fact.Tidbit } |
{ fact.Owner } |
{ fmt.Sprint(fact.Count) } |
}