From a82fb3a49c0d34bd184405e60e8ed25513f23f34 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 18 Aug 2024 14:09:52 +0800 Subject: [PATCH] :sparkles: Attachment has pool --- .idea/workspace.xml | 20 +++++++------- go.mod | 6 ++--- go.sum | 2 -- pkg/internal/models/attachments.go | 7 +++-- pkg/internal/models/pools.go | 6 +++-- pkg/internal/server/api/attachments_api.go | 23 +++++++++++----- pkg/internal/services/analyzer.go | 2 +- pkg/internal/services/attachments.go | 12 +++++++-- pkg/internal/services/pools.go | 8 ++++++ pkg/internal/services/random_id.go | 31 ++++++++++++++++++++++ settings.toml | 17 ++++++++---- 11 files changed, 102 insertions(+), 32 deletions(-) create mode 100644 pkg/internal/services/random_id.go diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c8bf724..2eeec73 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,17 +4,18 @@