11 lines
233 B
Go
11 lines
233 B
Go
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
|
|
})
|
|
}
|