From 56a03afb5255ad6a321a3f2fb4c7d0da9b266a9f Mon Sep 17 00:00:00 2001 From: Together Date: Sat, 21 Feb 2026 12:44:40 +0800 Subject: [PATCH] style: fix struct field alignment per gofmt --- pkg/channels/onebot.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/channels/onebot.go b/pkg/channels/onebot.go index 726970fdf..feeb930af 100644 --- a/pkg/channels/onebot.go +++ b/pkg/channels/onebot.go @@ -569,8 +569,8 @@ func parseJSONString(raw json.RawMessage) string { type parseMessageResult struct { Text string IsBotMentioned bool - Media []string - ReplyTo string + Media []string + ReplyTo string } func (c *OneBotChannel) parseMessageSegments(raw json.RawMessage, selfID int64) parseMessageResult { @@ -697,8 +697,8 @@ func (c *OneBotChannel) parseMessageSegments(raw json.RawMessage, selfID int64) return parseMessageResult{ Text: strings.TrimSpace(strings.Join(textParts, "")), IsBotMentioned: mentioned, - Media: media, - ReplyTo: replyTo, + Media: media, + ReplyTo: replyTo, } }