@@ -36,68 +36,68 @@ const (
36
36
37
37
// Enumerate all the comment types
38
38
const (
39
- // Plain comment, can be associated with a commit (CommitID > 0) and a line (LineNum > 0)
39
+ // 0 Plain comment, can be associated with a commit (CommitID > 0) and a line (LineNum > 0)
40
40
CommentTypeComment CommentType = iota
41
- CommentTypeReopen
42
- CommentTypeClose
41
+ CommentTypeReopen // 1
42
+ CommentTypeClose // 2
43
43
44
- // References.
44
+ // 3 References.
45
45
CommentTypeIssueRef
46
- // Reference from a commit (not part of a pull request)
46
+ // 4 Reference from a commit (not part of a pull request)
47
47
CommentTypeCommitRef
48
- // Reference from a comment
48
+ // 5 Reference from a comment
49
49
CommentTypeCommentRef
50
- // Reference from a pull request
50
+ // 6 Reference from a pull request
51
51
CommentTypePullRef
52
- // Labels changed
52
+ // 7 Labels changed
53
53
CommentTypeLabel
54
- // Milestone changed
54
+ // 8 Milestone changed
55
55
CommentTypeMilestone
56
- // Assignees changed
56
+ // 9 Assignees changed
57
57
CommentTypeAssignees
58
- // Change Title
58
+ // 10 Change Title
59
59
CommentTypeChangeTitle
60
- // Delete Branch
60
+ // 11 Delete Branch
61
61
CommentTypeDeleteBranch
62
- // Start a stopwatch for time tracking
62
+ // 12 Start a stopwatch for time tracking
63
63
CommentTypeStartTracking
64
- // Stop a stopwatch for time tracking
64
+ // 13 Stop a stopwatch for time tracking
65
65
CommentTypeStopTracking
66
- // Add time manual for time tracking
66
+ // 14 Add time manual for time tracking
67
67
CommentTypeAddTimeManual
68
- // Cancel a stopwatch for time tracking
68
+ // 15 Cancel a stopwatch for time tracking
69
69
CommentTypeCancelTracking
70
- // Added a due date
70
+ // 16 Added a due date
71
71
CommentTypeAddedDeadline
72
- // Modified the due date
72
+ // 17 Modified the due date
73
73
CommentTypeModifiedDeadline
74
- // Removed a due date
74
+ // 18 Removed a due date
75
75
CommentTypeRemovedDeadline
76
- // Dependency added
76
+ // 19 Dependency added
77
77
CommentTypeAddDependency
78
- //Dependency removed
78
+ // 20 Dependency removed
79
79
CommentTypeRemoveDependency
80
- // Comment a line of code
80
+ // 21 Comment a line of code
81
81
CommentTypeCode
82
- // Reviews a pull request by giving general feedback
82
+ // 22 Reviews a pull request by giving general feedback
83
83
CommentTypeReview
84
- // Lock an issue, giving only collaborators access
84
+ // 23 Lock an issue, giving only collaborators access
85
85
CommentTypeLock
86
- // Unlocks a previously locked issue
86
+ // 24 Unlocks a previously locked issue
87
87
CommentTypeUnlock
88
- // Change pull request's target branch
88
+ // 25 Change pull request's target branch
89
89
CommentTypeChangeTargetBranch
90
- // Delete time manual for time tracking
90
+ // 26 Delete time manual for time tracking
91
91
CommentTypeDeleteTimeManual
92
- // add or remove Request from one
92
+ // 27 add or remove Request from one
93
93
CommentTypeReviewRequest
94
- // merge pull request
94
+ // 28 merge pull request
95
95
CommentTypeMergePull
96
- // push to PR head branch
96
+ // 29 push to PR head branch
97
97
CommentTypePullPush
98
- // Project changed
98
+ // 30 Project changed
99
99
CommentTypeProject
100
- // Project board changed
100
+ // 31 Project board changed
101
101
CommentTypeProjectBoard
102
102
)
103
103
0 commit comments