From d71bc439162b8efbc7653f2f40b77f0bb7161538 Mon Sep 17 00:00:00 2001 From: dragon Date: Tue, 15 Apr 2025 17:39:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A8=A1=E6=9D=BF=E6=B3=A8?= =?UTF-8?q?=E5=85=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/utils/template.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/utils/template.go b/pkg/utils/template.go index 113c830..b253a3c 100644 --- a/pkg/utils/template.go +++ b/pkg/utils/template.go @@ -1,10 +1,11 @@ package utils import ( - sprig "github.com/go-task/slim-sprig/v3" "net/http" "strings" "text/template" + + sprig "github.com/go-task/slim-sprig/v3" ) func NewTemplateInject(r *http.Request, def map[string]any) map[string]any {