diff --git a/goutils/proto_build/tpls/run_latest.tpl b/goutils/proto_build/tpls/run_latest.tpl index b44ec80..1c9172a 100644 --- a/goutils/proto_build/tpls/run_latest.tpl +++ b/goutils/proto_build/tpls/run_latest.tpl @@ -27,8 +27,15 @@ echo "service name: $service_name" cd $script_dir/proto git pull origin master cd $script_dir + +go mod tidy +go mod vendor + go run -gcflags="-N" proto/goutils/proto_build/main.go +go mod tidy +go mod vendor + run_server() { # 导航到相应的目录 cd $script_dir/server