From 3c40a0fb99ccc1692b289c4600198449f26d80bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?gitqa=E6=B5=8B=E8=AF=95=E8=B4=A6=E5=8F=B7?= <58836+gitqa@user.noreply.gitee.com> Date: Tue, 7 Jan 2025 09:41:47 +0000 Subject: [PATCH 1/2] add cc.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gitqa测试账号 <58836+gitqa@user.noreply.gitee.com> --- cc.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 cc.md diff --git a/cc.md b/cc.md new file mode 100644 index 0000000..e69de29 -- Gitee From ec7948b7a19afd2100f1e79a9f7b2c9c7e832630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?gitqa=E6=B5=8B=E8=AF=95=E8=B4=A6=E5=8F=B7?= <58836+gitqa@user.noreply.gitee.com> Date: Tue, 7 Jan 2025 09:42:08 +0000 Subject: [PATCH 2/2] update index.go. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gitqa测试账号 <58836+gitqa@user.noreply.gitee.com> --- index.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.go b/index.go index 405056d..071206a 100644 --- a/index.go +++ b/index.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.2.793 +// templ: version: v0.3.819 package log //lint:file-ignore SA4006 This context is only used if a nested component is present. @@ -45,17 +45,17 @@ func LogIndex() templ.Component { }() } ctx = templ.InitializeContext(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return templ_7745c5c3_Err + return nil }) templ_7745c5c3_Err = view.Index("Logs").Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return templ_7745c5c3_Err + return nil }) } -- Gitee