From 0dcd456e52096a03a7c0abe89f5ac8918a780206 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 10 May 2023 03:19:02 +0400 Subject: [PATCH] Added Mindflow interface. --- pkg/mindflow/mindflow.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pkg/mindflow/mindflow.go diff --git a/pkg/mindflow/mindflow.go b/pkg/mindflow/mindflow.go new file mode 100644 index 0000000..9f9ec75 --- /dev/null +++ b/pkg/mindflow/mindflow.go @@ -0,0 +1,7 @@ +package mindflow + +type Mindflow interface { + New(post Post) error + Edit(post Post) error + Delete(id int64) error +}