ZhangZhihui's Blog  
上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 102 下一页

2024年5月5日

摘要: FROM --platform=$BUILDPLATFORM alpine as protoc ARG BUILDPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 # download the protoc binary from github 阅读全文
posted @ 2024-05-05 14:34 ZhangZhihuiAAA 阅读(18) 评论(0) 推荐(0)

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- 阅读全文
posted @ 2024-05-04 20:29 ZhangZhihuiAAA 阅读(192) 评论(0) 推荐(0)

2024年4月17日

摘要: Use this URL: https://www.google.com/ncr 阅读全文
posted @ 2024-04-17 19:24 ZhangZhihuiAAA 阅读(16) 评论(0) 推荐(0)
 
摘要: # 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 阅读全文
posted @ 2024-04-17 18:40 ZhangZhihuiAAA 阅读(43) 评论(0) 推荐(0)
 
摘要: An Overview Alright, let’s get started with the details. The guide is split up into the following topics: Frequent Misconceptions The Dot-Env File (.e 阅读全文
posted @ 2024-04-17 10:26 ZhangZhihuiAAA 阅读(34) 评论(0) 推荐(0)

2024年4月16日

摘要: This is because I forgot doing this: 阅读全文
posted @ 2024-04-16 22:14 ZhangZhihuiAAA 阅读(67) 评论(0) 推荐(0)
 
摘要: #!/bin/bash # Create the server CA certs. openssl req -x509 \ -newkey rsa:4096 \ -nodes \ -days 3650 \ -keyout ca_key.pem \ -out ca_cert.pem \ -subj / 阅读全文
posted @ 2024-04-16 22:06 ZhangZhihuiAAA 阅读(11) 评论(0) 推荐(0)
 
摘要: zzh@ZZHPC:~/aaa$ cat a.sh echo ${BASH_SOURCE[0]} abpath=$(realpath ${BASH_SOURCE[0]}) echo $abpath dir=$(dirname $abpath) echo $dir zzh@ZZHPC:~/aaa$ . 阅读全文
posted @ 2024-04-16 20:29 ZhangZhihuiAAA 阅读(17) 评论(0) 推荐(0)

2024年4月15日

摘要: This is because you didn't register the service. After adding below code the error disappeared: pb.RegisterTodoServiceServer(s, &server{ d: NewDb(), } 阅读全文
posted @ 2024-04-15 19:17 ZhangZhihuiAAA 阅读(116) 评论(0) 推荐(0)
 
摘要: Click the "configure" link and input the the following: 阅读全文
posted @ 2024-04-15 11:14 ZhangZhihuiAAA 阅读(13) 评论(0) 推荐(0)
上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 102 下一页