aboutsummaryrefslogtreecommitdiffstats
path: root/entity/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'entity/interface.go')
-rw-r--r--entity/interface.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/entity/interface.go b/entity/interface.go
new file mode 100644
index 00000000..62b92a58
--- /dev/null
+++ b/entity/interface.go
@@ -0,0 +1,8 @@
+package entity
+
+type Interface interface {
+ // Id return the Entity identifier
+ Id() string
+ // HumanId return the Entity identifier truncated for human consumption
+ HumanId() string
+}