11 lines
219 B
Go
11 lines
219 B
Go
|
package companies
|
||
|
|
||
|
import "github.com/animenotifier/arn"
|
||
|
|
||
|
// fetchAll returns all companies
|
||
|
func fetchAll() []*arn.Company {
|
||
|
return arn.FilterCompanies(func(company *arn.Company) bool {
|
||
|
return !company.IsDraft
|
||
|
})
|
||
|
}
|