update goctl rpc template log print url (#133)

This commit is contained in:
mywaystay
2020-10-16 16:21:22 +08:00
committed by GitHub
parent dc0534573c
commit 7e83895c6e

View File

@@ -39,7 +39,7 @@ func NewRpcTemplate(out string, idea bool) *rpcTemplate {
}
func (r *rpcTemplate) MustGenerate(showState bool) {
r.Info("查看rpc生成请移步至「https://github.com/tal-tech/go-zero/blob/master/doc/goctl-rpc.md」")
r.Info("查看rpc生成请移步至「https://github.com/tal-tech/zero-doc/blob/main/doc/goctl-rpc.md」")
r.Info("generating template...")
protoFilename := filepath.Base(r.out)
serviceName := stringx.From(strings.TrimSuffix(protoFilename, filepath.Ext(protoFilename)))