From 1dc390a967078406eb2b2598ee51e505fc96db94 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 5 Feb 2023 04:48:53 +0400 Subject: [PATCH] Post type for mindflow. --- pkg/mindflow/post.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkg/mindflow/post.go diff --git a/pkg/mindflow/post.go b/pkg/mindflow/post.go new file mode 100644 index 0000000..5295753 --- /dev/null +++ b/pkg/mindflow/post.go @@ -0,0 +1,12 @@ +package mindflow + +import ( + "time" +) + +type Post struct { + Category string + Date time.Time + Title string + Body string +}