aboutsummaryrefslogtreecommitdiff
path: root/placeer.go
diff options
context:
space:
mode:
authorAlexander Kiryukhin <a.kiryukhin@mail.ru>2019-12-08 13:40:57 +0300
committerAlexander Kiryukhin <a.kiryukhin@mail.ru>2019-12-08 13:40:57 +0300
commitc8749e6f6bf8f39a94791526b39fadc11360476c (patch)
treee6a8cfff3afe8750b5452a31755060f07eb99502 /placeer.go
Initial
Diffstat (limited to 'placeer.go')
-rw-r--r--placeer.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/placeer.go b/placeer.go
new file mode 100644
index 0000000..1d6eddf
--- /dev/null
+++ b/placeer.go
@@ -0,0 +1,7 @@
+package workflow
+
+// Placeer interface for objects that has place and can change place
+type Placeer interface {
+ GetPlace() Place
+ SetPlace(Place) error
+}