aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operations/operations.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/operations/operations.go')
-rw-r--r--bug/operations/operations.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/bug/operations/operations.go b/bug/operations/operations.go
new file mode 100644
index 00000000..f42d6e9a
--- /dev/null
+++ b/bug/operations/operations.go
@@ -0,0 +1,10 @@
+package operations
+
+import "encoding/gob"
+
+// Package initialisation used to register operation's type for (de)serialization
+func init() {
+ gob.Register(AddCommentOperation{})
+ gob.Register(CreateOperation{})
+ gob.Register(SetTitleOperation{})
+}