mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-01 13:33:48 +08:00
Go: format code (#16813)
### Summary Aligned to EE Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -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"`
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user