aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operations/set_title.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/operations/set_title.go')
-rw-r--r--bug/operations/set_title.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/bug/operations/set_title.go b/bug/operations/set_title.go
index 0d935db6..1e2ef20a 100644
--- a/bug/operations/set_title.go
+++ b/bug/operations/set_title.go
@@ -2,7 +2,7 @@ package operations
import "github.com/MichaelMure/git-bug/bug"
-var _ Operation = SetTitleOperation{}
+var _ bug.Operation = SetTitleOperation{}
type SetTitleOperation struct {
Title string
@@ -14,8 +14,8 @@ func NewSetTitleOp(title string) SetTitleOperation {
}
}
-func (op SetTitleOperation) OpType() OperationType {
- return SET_TITLE
+func (op SetTitleOperation) OpType() bug.OperationType {
+ return bug.SET_TITLE
}
func (op SetTitleOperation) Apply(snapshot bug.Snapshot) bug.Snapshot {