mirror of
https://github.com/go-kratos/kratos.git
synced 2025-03-17 21:07:54 +02:00
fix dup gen const for http (#2102)
Co-authored-by: caoguoliang01 <caoguoliang01@bilibili.com>
This commit is contained in:
parent
e3c37b936f
commit
2a989ea0fe
@ -10,7 +10,7 @@ var httpTemplate = `
|
||||
{{$svrType := .ServiceType}}
|
||||
{{$svrName := .ServiceName}}
|
||||
|
||||
{{- range .Methods}}
|
||||
{{- range .MethodSets}}
|
||||
const Operation{{$svrType}}{{.OriginalName}} = "/{{$svrName}}/{{.OriginalName}}"
|
||||
{{- end}}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user