aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operation.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-14 22:17:37 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-14 22:17:37 +0200
commitda470993d13ce63087034db9b7e8ffbdf18e87a5 (patch)
tree7846ad86de6d93c51c54bf3e764a2108baa63612 /bug/operation.go
parentf8e07748743f7e66ff1adf101a797cb1bedfc140 (diff)
downloadgit-bug-da470993d13ce63087034db9b7e8ffbdf18e87a5.tar.gz
complete the storage/read process + tests (!)
Diffstat (limited to 'bug/operation.go')
-rw-r--r--bug/operation.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bug/operation.go b/bug/operation.go
index 591c7176..4414f2ad 100644
--- a/bug/operation.go
+++ b/bug/operation.go
@@ -3,7 +3,7 @@ package bug
type OperationType int
const (
- UNKNOW OperationType = iota
+ UNKNOWN OperationType = iota
CREATE
SET_TITLE
ADD_COMMENT
@@ -15,7 +15,7 @@ type Operation interface {
}
type OpBase struct {
- OperationType OperationType `json:"op"`
+ OperationType OperationType
}
func (op OpBase) OpType() OperationType {