// Searches for all anime that match the given anime name, case sensitive.
func SearchAnimeAll(name string) titles.ResultSet {
+ if name == "" {
+ return nil
+ }
return titlesDB.FuzzySearch(name)
}
// Searches for all anime that match the given anime name, case folding.
func SearchAnimeFoldAll(name string) titles.ResultSet {
+ if name == "" {
+ return nil
+ }
return titlesDB.FuzzySearchFold(name)
}