diff --git a/bug/op_add_comment.go b/bug/op_add_comment.go index fd00860b2941fae558b4dd50cf0b82a9eb71db8a..4cba200f43efad4df5d866cc08d3cf92eed25554 100644 --- a/bug/op_add_comment.go +++ b/bug/op_add_comment.go @@ -21,9 +21,6 @@ type AddCommentOperation struct { Files []repository.Hash `json:"files"` } -// Sign-post method for gqlgen -func (op *AddCommentOperation) IsOperation() {} - func (op *AddCommentOperation) Id() entity.Id { return idOperation(op, &op.OpBase) } diff --git a/bug/op_create.go b/bug/op_create.go index 2423e5714cf56f06171a6b64a1bb05a00247093c..e3e38ade40c53de895054a9eb79d559901bb825c 100644 --- a/bug/op_create.go +++ b/bug/op_create.go @@ -27,9 +27,6 @@ type CreateOperation struct { Files []repository.Hash `json:"files"` } -// Sign-post method for gqlgen -func (op *CreateOperation) IsOperation() {} - func (op *CreateOperation) Id() entity.Id { return idOperation(op, &op.OpBase) } diff --git a/bug/op_edit_comment.go b/bug/op_edit_comment.go index e08aeaad9aa05082b2c12802a5d3de71aa6419b8..653ab71e565ab85d012142b9578f5c7673237563 100644 --- a/bug/op_edit_comment.go +++ b/bug/op_edit_comment.go @@ -24,9 +24,6 @@ type EditCommentOperation struct { Files []repository.Hash `json:"files"` } -// Sign-post method for gqlgen -func (op *EditCommentOperation) IsOperation() {} - func (op *EditCommentOperation) Id() entity.Id { return idOperation(op, &op.OpBase) } diff --git a/bug/op_label_change.go b/bug/op_label_change.go index d682fe54d0e0932d8b7cd77bc64b7d201f417f99..8b0e5ec8979f6ba495cbbb3da3a0708951452d7d 100644 --- a/bug/op_label_change.go +++ b/bug/op_label_change.go @@ -21,9 +21,6 @@ type LabelChangeOperation struct { Removed []Label `json:"removed"` } -// Sign-post method for gqlgen -func (op *LabelChangeOperation) IsOperation() {} - func (op *LabelChangeOperation) Id() entity.Id { return idOperation(op, &op.OpBase) } diff --git a/bug/op_noop.go b/bug/op_noop.go index 81efdb257c86b5f95e10350bd98b1d7908582ef4..1b11e69419dbce7122895ea36ee4582781af80ef 100644 --- a/bug/op_noop.go +++ b/bug/op_noop.go @@ -16,9 +16,6 @@ type NoOpOperation struct { OpBase } -// Sign-post method for gqlgen -func (op *NoOpOperation) IsOperation() {} - func (op *NoOpOperation) Id() entity.Id { return idOperation(op, &op.OpBase) } diff --git a/bug/op_set_metadata.go b/bug/op_set_metadata.go index 4e596728cb7c6742a5f6b8413c6df18213f434d8..ca19a8384b930abfaf8e6210f184257f7a5f9a3f 100644 --- a/bug/op_set_metadata.go +++ b/bug/op_set_metadata.go @@ -17,9 +17,6 @@ type SetMetadataOperation struct { NewMetadata map[string]string `json:"new_metadata"` } -// Sign-post method for gqlgen -func (op *SetMetadataOperation) IsOperation() {} - func (op *SetMetadataOperation) Id() entity.Id { return idOperation(op, &op.OpBase) } diff --git a/bug/op_set_status.go b/bug/op_set_status.go index ca8c434a9bf912b7e295f44f6cd1e2fecf697798..e22ded54c80715e3404c2eb33e5b668d032022dc 100644 --- a/bug/op_set_status.go +++ b/bug/op_set_status.go @@ -18,9 +18,6 @@ type SetStatusOperation struct { Status Status `json:"status"` } -// Sign-post method for gqlgen -func (op *SetStatusOperation) IsOperation() {} - func (op *SetStatusOperation) Id() entity.Id { return idOperation(op, &op.OpBase) } diff --git a/bug/op_set_title.go b/bug/op_set_title.go index 899b4fa3796ff7993697f30fcbb057aab506f7ef..c6a26746c6d294c18178d6f71ba6c3fc97d9a0ee 100644 --- a/bug/op_set_title.go +++ b/bug/op_set_title.go @@ -21,9 +21,6 @@ type SetTitleOperation struct { Was string `json:"was"` } -// Sign-post method for gqlgen -func (op *SetTitleOperation) IsOperation() {} - func (op *SetTitleOperation) Id() entity.Id { return idOperation(op, &op.OpBase) } diff --git a/bug/operation.go b/bug/operation.go index 71a5c15dc23d32b5db46bcdc82367a981f0036e4..0423c2295550cee954dbe95b82df9a1e2b2a8e9f 100644 --- a/bug/operation.go +++ b/bug/operation.go @@ -49,9 +49,6 @@ type Operation interface { AllMetadata() map[string]string setExtraMetadataImmutable(key string, value string) - - // sign-post method for gqlgen - IsOperation() } func idOperation(op Operation, base *OpBase) entity.Id {