update goctl rpc template log print url (#133)

master
mywaystay 4 years ago committed by GitHub
parent dc0534573c
commit 7e83895c6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -39,7 +39,7 @@ func NewRpcTemplate(out string, idea bool) *rpcTemplate {
} }
func (r *rpcTemplate) MustGenerate(showState bool) { 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...") r.Info("generating template...")
protoFilename := filepath.Base(r.out) protoFilename := filepath.Base(r.out)
serviceName := stringx.From(strings.TrimSuffix(protoFilename, filepath.Ext(protoFilename))) serviceName := stringx.From(strings.TrimSuffix(protoFilename, filepath.Ext(protoFilename)))

Loading…
Cancel
Save