aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operations/set_title.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-13 16:13:40 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-13 16:13:40 +0200
commitbc12fee58e8bd86672793ae37d9f924158afb482 (patch)
treeb6506af647a5e6d3d8c053f2b284a3adc335d35b /bug/operations/set_title.go
parente02294c8f372156945bbc43d70d4d36a07a3fbcf (diff)
downloadgit-bug-bc12fee58e8bd86672793ae37d9f924158afb482.tar.gz
create the Bug structure
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 {