diff options
author | Michael Muré <batolettre@gmail.com> | 2019-06-23 18:32:22 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-06-23 18:32:22 +0200 |
commit | 5bae915b53ed2bb4f222db2fdc73852099b96fd2 (patch) | |
tree | 1b89569754b363eba94b075d6fc9137b7e772d91 /bug/op_label_change.go | |
parent | fb964bd3e99546df6edb5a4c913d0960dabe9826 (diff) | |
download | git-bug-5bae915b53ed2bb4f222db2fdc73852099b96fd2.tar.gz |
minor cleanup
Diffstat (limited to 'bug/op_label_change.go')
-rw-r--r-- | bug/op_label_change.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bug/op_label_change.go b/bug/op_label_change.go index c5b3765d..4c019d67 100644 --- a/bug/op_label_change.go +++ b/bug/op_label_change.go @@ -174,6 +174,9 @@ func (l LabelChangeTimelineItem) Hash() git.Hash { return l.hash } +// Sign post method for gqlgen +func (l *LabelChangeTimelineItem) IsAuthored() {} + // ChangeLabels is a convenience function to apply the operation func ChangeLabels(b Interface, author identity.Interface, unixTime int64, add, remove []string) ([]LabelChangeResult, *LabelChangeOperation, error) { var added, removed []Label @@ -303,6 +306,3 @@ func (l LabelChangeResult) String() string { panic(fmt.Sprintf("unknown label change status %v", l.Status)) } } - -// Sign post method for gqlgen -func (item *LabelChangeTimelineItem) IsAuthored() {} |