Clarify ReviewerCandidate relationship to AssignableActor
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
72a6e9f3a7
commit
ceb904413d
1 changed files with 4 additions and 1 deletions
|
|
@ -185,7 +185,10 @@ func (r ReviewRequests) DisplayNames() []string {
|
|||
}
|
||||
|
||||
// ReviewerCandidate represents a potential reviewer for a pull request.
|
||||
// This can be a User, Bot, or Team.
|
||||
// This can be a User, Bot, or Team. It mirrors AssignableActor but adds
|
||||
// team support (teams can review but not be assigned) and drops the ID method.
|
||||
// ReviewerUser and ReviewerBot are thin wrappers around AssignableUser and
|
||||
// AssignableBot that satisfy this interface.
|
||||
type ReviewerCandidate interface {
|
||||
DisplayName() string
|
||||
Login() string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue