11 lines
233 B
Go
Raw Normal View History

2018-03-13 21:38:26 +00:00
package quotes
import "github.com/animenotifier/arn"
// fetchAll returns all quotes
func fetchAll() []*arn.Quote {
return arn.FilterQuotes(func(quote *arn.Quote) bool {
return !quote.IsDraft && len(quote.Text.English) > 0
})
}