From 5bae915b53ed2bb4f222db2fdc73852099b96fd2 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 23 Jun 2019 18:32:22 +0200 Subject: minor cleanup --- bug/op_create.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bug/op_create.go') diff --git a/bug/op_create.go b/bug/op_create.go index e0e8154b..e52e6254 100644 --- a/bug/op_create.go +++ b/bug/op_create.go @@ -156,6 +156,9 @@ type CreateTimelineItem struct { CommentTimelineItem } +// Sign post method for gqlgen +func (c *CreateTimelineItem) IsAuthored() {} + // Convenience function to apply the operation func Create(author identity.Interface, unixTime int64, title, message string) (*Bug, *CreateOperation, error) { return CreateWithFiles(author, unixTime, title, message, nil) @@ -173,6 +176,3 @@ func CreateWithFiles(author identity.Interface, unixTime int64, title, message s return newBug, createOp, nil } - -// Sign post method for gqlgen -func (item *CreateTimelineItem) IsAuthored() {} -- cgit