Go: format code (#16813)

### Summary

Aligned to EE

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-07-10 20:30:00 +08:00
committed by GitHub
parent 106c2d0a41
commit 0aa2993d55
27 changed files with 172 additions and 126 deletions

View File

@@ -23,7 +23,6 @@
// (value.type starts with "file") emit a stable "<file:key>" stub
// so the run keeps flowing while the FileService integration
// surfaces the actual bytes via the storage layer.
//
package component
import (
@@ -53,7 +52,6 @@ const fileStubPrefix = "<file:"
var tipsPlaceholderPattern = regexp.MustCompile(`\{\{\s*([A-Za-z_][A-Za-z0-9_]*)\s*\}\}`)
// userFillUpParam is the per-instance configuration for UserFillUp.
//
type userFillUpParam struct {
EnableTips bool `json:"enable_tips"`
Tips string `json:"tips"`

View File

@@ -310,8 +310,8 @@ func formatAkShareArticles(articles []akshareArticle) string {
for _, item := range articles {
parts = append(parts, fmt.Sprintf(
`<a href="%s">%s</a>
新闻内容: %s
发布时间:%s
新闻内容: %s
发布时间:%s
文章来源: %s`,
item.URL,
item.Title,