aboutsummaryrefslogtreecommitdiffstats
path: root/bug/op_set_status.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-06-23 18:32:22 +0200
committerMichael Muré <batolettre@gmail.com>2019-06-23 18:32:22 +0200
commit5bae915b53ed2bb4f222db2fdc73852099b96fd2 (patch)
tree1b89569754b363eba94b075d6fc9137b7e772d91 /bug/op_set_status.go
parentfb964bd3e99546df6edb5a4c913d0960dabe9826 (diff)
downloadgit-bug-5bae915b53ed2bb4f222db2fdc73852099b96fd2.tar.gz
minor cleanup
Diffstat (limited to 'bug/op_set_status.go')
-rw-r--r--bug/op_set_status.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/bug/op_set_status.go b/bug/op_set_status.go
index de7b8526..52ba8135 100644
--- a/bug/op_set_status.go
+++ b/bug/op_set_status.go
@@ -124,6 +124,9 @@ func (s SetStatusTimelineItem) Hash() git.Hash {
return s.hash
}
+// Sign post method for gqlgen
+func (s *SetStatusTimelineItem) IsAuthored() {}
+
// Convenience function to apply the operation
func Open(b Interface, author identity.Interface, unixTime int64) (*SetStatusOperation, error) {
op := NewSetStatusOp(author, unixTime, OpenStatus)
@@ -143,6 +146,3 @@ func Close(b Interface, author identity.Interface, unixTime int64) (*SetStatusOp
b.Append(op)
return op, nil
}
-
-// Sign post method for gqlgen
-func (item *SetStatusTimelineItem) IsAuthored() {}