11 lines
244 B
Go
Raw Normal View History

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