aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bug/op_add_comment.go3
-rw-r--r--bug/op_create.go3
-rw-r--r--bug/op_edit_comment.go3
-rw-r--r--bug/op_label_change.go3
-rw-r--r--bug/op_noop.go3
-rw-r--r--bug/op_set_metadata.go3
-rw-r--r--bug/op_set_status.go3
-rw-r--r--bug/op_set_title.go3
-rw-r--r--bug/operation.go3
9 files changed, 0 insertions, 27 deletions
diff --git a/bug/op_add_comment.go b/bug/op_add_comment.go
index fd00860b..4cba200f 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 2423e571..e3e38ade 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 e08aeaad..653ab71e 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 d682fe54..8b0e5ec8 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 81efdb25..1b11e694 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 4e596728..ca19a838 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 ca8c434a..e22ded54 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 899b4fa3..c6a26746 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 71a5c15d..0423c229 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 {