aboutsummaryrefslogtreecommitdiffstats
path: root/entity/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'entity/interface.go')
-rw-r--r--entity/interface.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/entity/interface.go b/entity/interface.go
index fb4735e4..656d4dc6 100644
--- a/entity/interface.go
+++ b/entity/interface.go
@@ -10,3 +10,15 @@ type Interface interface {
// It is acceptable to use such a hash and keep mutating that data as long as Id() is not called.
Id() Id
}
+
+// type Commitable interface {
+// Interface
+// NeedCommit() bool
+// CommitAsNeeded(repo repository.ClockedRepo) error
+// Commit(repo repository.ClockedRepo) error
+// }
+
+//
+// type Operation interface {
+//
+// }