From 601013929146cce578e744c79e7ae02c6c6ca7ef Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 29 May 2024 07:36:51 +0800 Subject: [PATCH] chore: remove unused --- plugin/webhook/webhook.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/plugin/webhook/webhook.go b/plugin/webhook/webhook.go index 65d1874d..0aa34683 100644 --- a/plugin/webhook/webhook.go +++ b/plugin/webhook/webhook.go @@ -17,18 +17,6 @@ var ( timeout = 30 * time.Second ) -type Memo struct { - ID int32 `json:"id"` - CreatorID int32 `json:"creatorId"` - CreatedTs int64 `json:"createdTs"` - UpdatedTs int64 `json:"updatedTs"` - - // Domain specific fields - Content string `json:"content"` - Visibility string `json:"visibility"` - Pinned bool `json:"pinned"` -} - // WebhookPayload is the payload of webhook request. // nolint type WebhookPayload struct {