11 lines
230 B
Go
Raw Normal View History

2018-03-13 22:06:16 +00:00
package companies
2019-06-03 09:32:43 +00:00
import "github.com/animenotifier/notify.moe/arn"
2018-03-13 22:06:16 +00:00
// fetchAll returns all companies
func fetchAll() []*arn.Company {
return arn.FilterCompanies(func(company *arn.Company) bool {
return !company.IsDraft
})
}