From e9340f9cbec26cdee60736b9f0fb7337595bd4b6 Mon Sep 17 00:00:00 2001 From: Young Xu Date: Mon, 11 Mar 2024 00:46:06 +0800 Subject: [PATCH] chore: upgrade module --- go.mod | 6 +++--- gobuf.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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,