aboutsummaryrefslogtreecommitdiffstats
path: root/entity/interface.go
diff options
context:
space:
mode:
authorMichael Muré <michael.mure@consensys.net>2019-03-27 21:44:11 +0100
committerMichael Muré <michael.mure@consensys.net>2019-03-27 21:44:11 +0100
commit24d6714dd59a5c385c21991caa47e5727de043d0 (patch)
tree154306261bf98b599e1f3465940bb46c290b8c72 /entity/interface.go
parentd27e3849b826309bdf2dbf6f30f2a8ac9db71649 (diff)
downloadgit-bug-24d6714dd59a5c385c21991caa47e5727de043d0.tar.gz
cache: properly push/pull identities and bugs
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
+}