Update api template (#2172)

This commit is contained in:
anqiansong
2022-07-19 23:49:20 +08:00
committed by GitHub
parent bc85eaa9b1
commit 9c448c64ef
2 changed files with 10 additions and 12 deletions

View File

@@ -3,8 +3,8 @@ package {{.PkgName}}
import (
"net/http"
"github.com/zeromicro/go-zero/rest/httpx"
{{.ImportPackages}}
{{.ImportHttpxPackage}}
)
func {{.HandlerName}}(svcCtx *svc.ServiceContext) http.HandlerFunc {