diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-14 22:17:37 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-14 22:17:37 +0200 |
commit | da470993d13ce63087034db9b7e8ffbdf18e87a5 (patch) | |
tree | 7846ad86de6d93c51c54bf3e764a2108baa63612 /bug/operation.go | |
parent | f8e07748743f7e66ff1adf101a797cb1bedfc140 (diff) | |
download | git-bug-da470993d13ce63087034db9b7e8ffbdf18e87a5.tar.gz |
complete the storage/read process + tests (!)
Diffstat (limited to 'bug/operation.go')
-rw-r--r-- | bug/operation.go | 4 |
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 { |