chore: refine rpc template in goctl (#1129)

master v1.2.2
Kevin Wan 3 years ago committed by GitHub
parent 837a9ffa03
commit 6a8638fc85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,15 +18,15 @@ import (
const ( const (
callTemplateText = `{{.head}} callTemplateText = `{{.head}}
package {{.filePackage}} package {{.filePackage}}
import ( import (
"context" "context"
"google.golang.org/grpc"
{{.package}} {{.package}}
"github.com/tal-tech/go-zero/zrpc" "github.com/tal-tech/go-zero/zrpc"
"google.golang.org/grpc"
) )
type ( type (

Loading…
Cancel
Save