chore: upgrade module
This commit is contained in:
parent
dda09f2e32
commit
e9340f9cbe
6
go.mod
6
go.mod
@ -3,9 +3,9 @@ module gitter.top/common/gobuf
|
||||
go 1.18
|
||||
|
||||
require (
|
||||
github.com/emicklei/proto v1.12.1
|
||||
github.com/stretchr/testify v1.8.4
|
||||
google.golang.org/protobuf v1.31.0
|
||||
github.com/emicklei/proto v1.13.2
|
||||
github.com/stretchr/testify v1.9.0
|
||||
google.golang.org/protobuf v1.33.0
|
||||
)
|
||||
|
||||
require (
|
||||
|
2
gobuf.go
2
gobuf.go
@ -116,7 +116,7 @@ func (parser *Parser) AddService(serviceName string) error {
|
||||
Lines: []string{
|
||||
" @route_group: true",
|
||||
" @base_url: /v1/" + calm2Case(serviceName),
|
||||
" @gen_to: ./api_services/v1/" + calm2Case(serviceName) + "_controller.go",
|
||||
" @gen_to: ./services/controller/v1/" + calm2Case(serviceName) + "_controller.go",
|
||||
},
|
||||
},
|
||||
Name: serviceName,
|
||||
|
Loading…
Reference in New Issue
Block a user