aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operation.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/operation.go')
-rw-r--r--bug/operation.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/bug/operation.go b/bug/operation.go
index 9e31637a..74be2fac 100644
--- a/bug/operation.go
+++ b/bug/operation.go
@@ -17,6 +17,9 @@ type Operation interface {
OpType() OperationType
Time() time.Time
Apply(snapshot Snapshot) Snapshot
+
+ // TODO: data validation (ex: a title is a single line)
+ // Validate() bool
}
type OpBase struct {