aboutsummaryrefslogtreecommitdiffstats
path: root/entities/bug/bug.go
diff options
context:
space:
mode:
Diffstat (limited to 'entities/bug/bug.go')
-rw-r--r--entities/bug/bug.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/entities/bug/bug.go b/entities/bug/bug.go
index 271e7dbd..deb00c7c 100644
--- a/entities/bug/bug.go
+++ b/entities/bug/bug.go
@@ -20,9 +20,12 @@ var _ entity.Interface = &Bug{}
// 4: with DAG entity framework
const formatVersion = 4
+const Typename = "bug"
+const Namespace = "bugs"
+
var def = dag.Definition{
- Typename: "bug",
- Namespace: "bugs",
+ Typename: Typename,
+ Namespace: Namespace,
OperationUnmarshaler: operationUnmarshaler,
FormatVersion: formatVersion,
}