chore: refine rpc template in goctl (#1129)
This commit is contained in:
@@ -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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user