From 4f4a02f30ac13e3fe17bb516eb56db217326430b Mon Sep 17 00:00:00 2001 From: Siwoo Jeon Date: Thu, 3 Apr 2025 20:54:22 +0900 Subject: [PATCH] fix: use fmt.Sprintf --- utils/codeFormatter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/codeFormatter.go b/utils/codeFormatter.go index 20324a5..70339da 100644 --- a/utils/codeFormatter.go +++ b/utils/codeFormatter.go @@ -27,7 +27,7 @@ func CodeBlockWithLanguage(language string, content string) string { } func CodeBlock(content string) string { - return "```\n" + content + "\n" + "```" + return fmt.Sprintf("```\n%s\n```", content) } func Time(time *time.Time) string {