From 132d301aeb159d5ef0d5ce5721211706804df0e2 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Wed, 26 Jun 2024 20:05:28 +0800 Subject: [PATCH] :sparkles: Status system --- .idea/workspace.xml | 19 ++++--- pkg/internal/models/statuses.go | 3 ++ pkg/internal/server/api/index.go | 3 ++ pkg/internal/server/api/statuses_api.go | 66 +++++++++++++++++++++++++ pkg/internal/services/accounts.go | 11 +++++ pkg/internal/services/factors.go | 4 +- pkg/internal/services/notifications.go | 5 +- pkg/internal/services/statuses.go | 59 ++++++++++++++++++++++ 8 files changed, 158 insertions(+), 12 deletions(-) create mode 100644 pkg/internal/server/api/statuses_api.go create mode 100644 pkg/internal/services/statuses.go diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 855666b..8b36c13 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,16 +4,15 @@