BoolAnd uses booleans in an AND operator
(first bool, second bool)
| 84 | |
| 85 | // BoolAnd uses booleans in an AND operator |
| 86 | func BoolAnd(first bool, second bool) bool { |
| 87 | if first || second { |
| 88 | return true |
| 89 | } |
| 90 | return false |
| 91 | } |
| 92 | |
| 93 | // SearchRepos searches through a SearchRes for the best match |
| 94 | func SearchRepos(repos structs.SearchRes, term string) structs.SearchEntry { |