code: func SplitFeedbackByQueryType(feedbacks []Feedback) ([]Feedback, []Feedback) {
  	var eqFB, ranFB []Feedback
  	for _, fb := range feedbacks {
  		// Use `>=` here because sometimes the lower is equal to upper.
  		if bytes.Compare(kv.Key(fb.Lower.GetBytes()).PrefixNext(), fb.Upper.GetBytes()) >= 0 {
  			eqFB = append(eqFB, fb)
  		} else {
  			ranFB = append(ranFB, fb)
  		}
  	}
  	return eqFB, ranFB
  }
docs: // SplitFeedbackByQueryType splits the feedbacks into equality feedbacks and range feedbacks.