diff --git a/tools/goctl/rpc/generator/genpb.go b/tools/goctl/rpc/generator/genpb.go index 3f7c8dd222fe..ceb50fd9ddb3 100644 --- a/tools/goctl/rpc/generator/genpb.go +++ b/tools/goctl/rpc/generator/genpb.go @@ -9,6 +9,7 @@ import ( "strings" "github.com/zeromicro/go-zero/tools/goctl/rpc/execx" + "github.com/zeromicro/go-zero/tools/goctl/util/pathx" ) // GenPb generates the pb.go file, which is a layer of packaging for protoc to generate gprc,