mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-14 17:51:44 +03:00
16 lines
197 B
Go
16 lines
197 B
Go
package bug
|
|
|
|
type OperationType int
|
|
|
|
const (
|
|
UNKNOW OperationType = iota
|
|
CREATE
|
|
SET_TITLE
|
|
ADD_COMMENT
|
|
)
|
|
|
|
type Operation interface {
|
|
OpType() OperationType
|
|
Apply(snapshot Snapshot) Snapshot
|
|
}
|