refactor: clean code

This commit is contained in:
Fu Diwei
2025-05-28 10:17:33 +08:00
parent df1f216b5b
commit ddb46f9dda
8 changed files with 14 additions and 14 deletions

View File

@@ -23,7 +23,7 @@ type DeployerConfig struct {
// Webhook 回调数据application/json 或 application/x-www-form-urlencoded 格式)。
WebhookData string `json:"webhookData,omitempty"`
// 请求谓词。
// 零值时默认 "POST"。
// 零值时默认 "POST"。
Method string `json:"method,omitempty"`
// 请求标头。
Headers map[string]string `json:"headers,omitempty"`