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

This commit is contained in:
许 洋 2024-04-30 21:18:02 +08:00
parent 0d6c00f4ea
commit 7981d835fa

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 + `
{{$.RegisterName}}(r) {{$.RegisterName}}
} }
`, `,
}, },