Mirror of a distributed, offline-first bug tracker embedded in git
1package bug 2 3type OperationType int 4 5const ( 6 UNKNOW OperationType = iota 7 CREATE 8 SET_TITLE 9 ADD_COMMENT 10) 11 12type Operation interface { 13 OpType() OperationType 14 Apply(snapshot Snapshot) Snapshot 15}