ZhangZhihui's Blog |
|
||
2024年5月13日
摘要:
FROM --platform=$BUILDPLATFORM alpine as protoc ARG BUILDPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 # download the protoc binary from github 阅读全文
摘要:
FROM --platform=$BUILDPLATFORM alpine as protoc ARG BUILDPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 # download the protoc binary from github 阅读全文
2024年5月12日
摘要:
https://github.com/fullstorydev/grpcurl Install: go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest Add code to enable server reflection: i 阅读全文
摘要:
https://ghz.sh/ https://github.com/bojand/ghz Install using go >= 1.16 go install github.com/bojand/ghz/cmd/ghz@latest zzh@ZZHPC:/zdata/Github/zgrpc-g 阅读全文
2024年5月6日
摘要:
Tested the image: zzh@ZZHPC:/zdata/Github/zgrpc-go-professionals$ kubectl run mytest --image=zgrpc-go-professionals:server pod/mytest created zzh@ZZHP 阅读全文
2024年5月5日
摘要:
kind.yaml: kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - role: worker - role: worker zzh@ZZHPC:~$ kubectl cluster-in 阅读全文
摘要:
FROM --platform=$BUILDPLATFORM alpine as protoc ARG BUILDPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 # download the protoc binary from github 阅读全文
2024年5月4日
摘要:
=> ERROR [build 13/14] RUN go mod tidy 29.3s > [build 13/14] RUN go mod tidy: 0.270 go: finding module for package github.com/ZhangZhihuiAAA/zgrpc-go- 阅读全文
2024年4月17日
摘要:
Use this URL: https://www.google.com/ncr 阅读全文
摘要:
# download dependencies and build RUN go mod download RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -ldflags="-s -w" -o /go/bin/server 阅读全文
|
Copyright © 2024 ZhangZhihuiAAA
Powered by .NET 9.0 on Kubernetes |