prow/prstatus/prstatus.go
func (da *DashboardAgent) ConstructSearchQuery(login string) string {
	tokens := []string{"is:pr", "state:open", "author:" + login}
	for i := range da.repos {
		tokens = append(tokens, fmt.Sprintf("repo:\"%s\"", da.repos[i]))
	}
	return strings.Join(tokens, " ")
}
func (da *DashboardAgent) ConstructSearchQuery(login string) string {
	tokens := []string{"is:pr", "state:open", "author:" + login}
	for i := range da.repos {
		tokens = append(tokens, fmt.Sprintf("repo:\"%s\"", da.repos[i]))
	}
	return strings.Join(tokens, " ")
}
func ( da * DashboardAgent ) ConstructSearchQuery ( login string ) string { tokens := [ ] string { " " , " " , " " + login } for i := range da . repos { tokens = append ( tokens , fmt . Sprintf ( " \" \" " , da . repos [ i ] ) ) } return strings . Join ( tokens , " " ) }
// ConstructSearchQuery returns the GitHub search query string for PRs that are open and authored
// by the user passed. The search is scoped to repositories that are configured with either Prow or
// Tide.
ConstructSearchQuery returns the GitHub search query string for PRs that are open and authored by the user passed . The search is scoped to repositories that are configured with either Prow or Tide .