From 37ebfa6131c89b85d89eadb53033403fd135dece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Fri, 26 Sep 2025 22:56:06 +0800 Subject: [PATCH] chore: fix lint --- agent.go | 3 ++- perm_test.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/agent.go b/agent.go index 4917e8e..d395db3 100644 --- a/agent.go +++ b/agent.go @@ -15,7 +15,8 @@ import ( ) const ( - EOA = "end_action" // EOA is a dummy action that is used to terminate request + // EOA is a dummy action that is used to terminate request + EOA = "end_action" ) var ( diff --git a/perm_test.go b/perm_test.go index 09465fd..262b836 100644 --- a/perm_test.go +++ b/perm_test.go @@ -2,7 +2,7 @@ package goba import "testing" -const fulltab = ` |功能|action|params|data| +const fulltab = `|功能|action|params|data| |---|---|---|---| |结束或暂停任务|end_action|-|-| |发送私聊消息|send_private_msg|user_id 对方QQ号;message 要发送的内容 (json.RawMessage)|message_id 消息ID (number)|