Logo
Explore Help
Register Sign In
zlei6/go-zero
1
0
Fork 0
You've already forked go-zero
mirror of https://github.com/zeromicro/go-zero.git synced 2026-05-14 02:10:00 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
a7c89ee6b1c650208d497622eba2741e3fe6b265
go-zero/tools/goctl/example/rpc/single_rpc_service_generate.sh

22 lines
333 B
Bash
Raw Normal View History

feat: Support for multiple rpc service generation and rpc grouping (#1972) * Add group & compatible flag * Add group & compatible flag * Support for multiple rpc service generation and rpc grouping * Support for multiple rpc service generation and rpc grouping * Format code * Format code * Add comments * Fix unit test * Refactor function name * Add example & Update grpc readme * go mod tidy * update mod * update mod
2022-07-21 12:47:46 +08:00
#!/bin/bash
wd=$(pwd)
output="$wd/hello"
rm -rf $output
goctl rpc protoc -I $wd "$wd/hello.proto" --go_out="$output/pb" --go-grpc_out="$output/pb" --zrpc_out="$output" --multiple
if [ $? -ne 0 ]; then
echo "Generate failed"
exit 1
fi
chore: not using goproxy by default (#4613)
2025-01-29 12:28:47 +08:00
go mod tidy
feat: Support for multiple rpc service generation and rpc grouping (#1972) * Add group & compatible flag * Add group & compatible flag * Support for multiple rpc service generation and rpc grouping * Support for multiple rpc service generation and rpc grouping * Format code * Format code * Add comments * Fix unit test * Refactor function name * Add example & Update grpc readme * go mod tidy * update mod * update mod
2022-07-21 12:47:46 +08:00
if [ $? -ne 0 ]; then
echo "Tidy failed"
exit 1
fi
go test ./...
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 253ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API