From 791843a1c46d25226160693ddae3b94a184a0ce0 Mon Sep 17 00:00:00 2001
From: Valera Shaitorov <shaitorov@perx.ru>
Date: Wed, 3 May 2023 18:36:51 +0700
Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=BD=D0=B5=D1=81?=
 =?UTF-8?q?=D0=B5=D0=BD=20collaborators/observer.go?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 pkg/collaborators/observer.go | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 pkg/collaborators/observer.go

diff --git a/pkg/collaborators/observer.go b/pkg/collaborators/observer.go
new file mode 100644
index 00000000..b27ecb13
--- /dev/null
+++ b/pkg/collaborators/observer.go
@@ -0,0 +1,13 @@
+package collaborators
+
+import "context"
+
+type CollaboratorObserver interface{}
+
+type CollaboratorSetObserver interface {
+	OnCollaboratorSet(ctx context.Context, collaborator *Collaborator) (string, error)
+}
+
+type CollaboratorRemoveObserver interface {
+	OnCollaboratorRemove(ctx context.Context, collaborator *Collaborator) (string, error)
+}
-- 
GitLab