修复新建register.go时出现的问题

This commit is contained in:
许 洋 2024-04-30 21:17:07 +08:00
parent 1443ed8292
commit 0d6c00f4ea

View File

@ -156,7 +156,7 @@ import (
// GeneratedRegister registers routers generated by IDL. // GeneratedRegister registers routers generated by IDL.
func GeneratedRegister(r *server.Hertz){ func GeneratedRegister(r *server.Hertz){
` + insertPointNew + ` ` + insertPointNew + `
{{$.DepPkgAlias}}.{{$.RegisterName}}(r) {{$.RegisterName}}(r)
} }
`, `,
}, },