chore: upgrade module

This commit is contained in:
Young Xu 2024-03-11 00:46:06 +08:00
parent dda09f2e32
commit e9340f9cbe
2 changed files with 4 additions and 4 deletions

6
go.mod
View File

@ -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 (

View File

@ -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,