diff --git a/go.mod b/go.mod index d60d090..b690f04 100644 --- a/go.mod +++ b/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 ( diff --git a/gobuf.go b/gobuf.go index dc3d4b2..def356c 100644 --- a/gobuf.go +++ b/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,