Commit ce154b08 authored by kzkzzzz's avatar kzkzzzz

feat: init

parent 74f7eeea
Pipeline #1227 canceled with stages
# 参考第三代微服务方案 Service Mesh # 参考第三代微服务方案 Service Mesh
#### 不依赖go-micro,kit等微服务框架, 不依赖外部注册中心etcd, consul服务发现 #### 不依赖go-micro,kit等微服务框架, 不依赖外部注册中心etcd, consul服务发现
#### 而通过k8s + grpc + isito或linkerd #### 通过k8s + grpc + isito|linkerd等方案部署
--- ---
### common 存放公共依赖库 ### common 存放公共依赖库
......
...@@ -4,7 +4,8 @@ SHELL = /bin/sh ...@@ -4,7 +4,8 @@ SHELL = /bin/sh
init: init:
@go get -u google.golang.org/protobuf/proto @go get -u google.golang.org/protobuf/proto
@go install github.com/golang/protobuf/protoc-gen-go@latest @go install github.com/golang/protobuf/protoc-gen-go@latest
@go install github.com/asim/go-micro/cmd/protoc-gen-micro/v4@latest @go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
@go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway
.PHONY: proto .PHONY: proto
proto: proto:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment