修复新建register.go时出现的问题
This commit is contained in:
parent
1443ed8292
commit
0d6c00f4ea
@ -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)
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user