Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Special tokens Illegal token = iota EOF Ws // whitespace // Literals Ident // Misc characters Comma // , // Keywords CommandReview // r CommandReject // r- Equal // = Question // ? Atmark // @ Plus // + Minus // - )
Variables ¶
This section is empty.
Functions ¶
func ParseCommand ¶
ParseCommand is doing adhoc command parsing. for the future, we should write an actual parser.
Types ¶
type AcceptChangeByOthersCommand ¶
type AcceptChangeByOthersCommand struct { Reviewer []string // contains filtered or unexported fields }
func (*AcceptChangeByOthersCommand) BotName ¶
func (s *AcceptChangeByOthersCommand) BotName() string
type AcceptChangeByReviewerCommand ¶
type AcceptChangeByReviewerCommand struct {
// contains filtered or unexported fields
}
func (*AcceptChangeByReviewerCommand) BotName ¶
func (s *AcceptChangeByReviewerCommand) BotName() string
type AcceptChangeOnReview ¶ added in v1.1.0
type AcceptChangeOnReview struct {
BotNameForReview string
}
func (*AcceptChangeOnReview) BotName ¶ added in v1.1.0
func (s *AcceptChangeOnReview) BotName() string
type AcceptChangesetCommand ¶
type AcceptChangesetCommand interface {
BotName() string
}
type AssignReviewerCommand ¶
type AssignReviewerCommand struct {
Reviewer []string
}
type CancelApprovedByReviewerCommand ¶
type CancelApprovedByReviewerCommand struct {
// contains filtered or unexported fields
}
func (*CancelApprovedByReviewerCommand) BotName ¶
func (s *CancelApprovedByReviewerCommand) BotName() string
Click to show internal directories.
Click to hide internal directories.