chore: refine rpc template in goctl (#1129)
This commit is contained in:
@@ -18,15 +18,15 @@ import (
|
||||
const (
|
||||
callTemplateText = `{{.head}}
|
||||
|
||||
|
||||
package {{.filePackage}}
|
||||
|
||||
import (
|
||||
"context"
|
||||
"google.golang.org/grpc"
|
||||
|
||||
{{.package}}
|
||||
|
||||
"github.com/tal-tech/go-zero/zrpc"
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
|
||||
type (
|
||||
|
||||
Reference in New Issue
Block a user