SearchQuestion check if search only need question
()
| 99 | |
| 100 | // SearchQuestion check if search only need question |
| 101 | func (s *SearchCondition) SearchQuestion() bool { |
| 102 | return s.TargetType == constant.QuestionObjectType |
| 103 | } |
| 104 | |
| 105 | // SearchAnswer check if search only need answer |
| 106 | func (s *SearchCondition) SearchAnswer() bool { |
no outgoing calls
no test coverage detected