chore: refine rpc template in goctl (#1129)

This commit is contained in:
Kevin Wan
2021-10-12 22:13:14 +08:00
committed by GitHub
parent 837a9ffa03
commit 6a8638fc85

View File

@@ -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 (