ZhangZhihui's Blog  
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 78 下一页

2024年1月2日

摘要: func TestLoadConfig(t *testing.T) { var config Config fmt.Printf("%+v", config) require.Nil(t, config) } RUN TestLoadConfig {Environment:} /zdata/Gith 阅读全文
posted @ 2024-01-02 22:40 ZhangZhihuiAAA 阅读(6) 评论(0) 推荐(0) 编辑
 
摘要: git clone https://github.com/go-nv/goenv.git ~/.goenv echo 'export GOENV_ROOT="$HOME/.goenv"' >> ~/.bashrc echo 'export PATH="$GOENV_ROOT/bin:$PATH"' 阅读全文
posted @ 2024-01-02 20:40 ZhangZhihuiAAA 阅读(45) 评论(0) 推荐(0) 编辑

2023年12月31日

摘要: RUN TestTransferTx store_test.go:87: Error Trace: /home/runner/work/zimplebank/zimplebank/db/sqlc/store_test.go:87 Error: Not equal: expected: 20 actu 阅读全文
posted @ 2023-12-31 11:03 ZhangZhihuiAAA 阅读(16) 评论(0) 推荐(0) 编辑
 
摘要: EKS Cluster: RDS (Postgres): Rdis Cluster: 阅读全文
posted @ 2023-12-31 09:37 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0) 编辑

2023年12月30日

摘要: import "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway" is a program, not an importable packagego list package _ ("github.com/grpc- 阅读全文
posted @ 2023-12-30 16:47 ZhangZhihuiAAA 阅读(18) 评论(0) 推荐(0) 编辑

2023年12月28日

摘要: Running tool: /usr/local/go/bin/go test -timeout 30s -run ^TestCreateUserAPI$ github.com/ZhangZhihuiAAA/zimplebank/gapi -count=1 -v RUN TestCreateUser 阅读全文
posted @ 2023-12-28 20:27 ZhangZhihuiAAA 阅读(5) 评论(0) 推荐(0) 编辑
 
摘要: Running tool: /usr/local/go/bin/go test -timeout 30s -run ^TestCreateUserAPI$ github.com/ZhangZhihuiAAA/zimplebank/gapi -count=1 -v RUN TestCreateUser 阅读全文
posted @ 2023-12-28 19:33 ZhangZhihuiAAA 阅读(24) 评论(0) 推荐(0) 编辑
 
摘要: In bash we can pass the output of one command to the next one as an argument. We will cover multiple examples. xargs is very useful for passing inform 阅读全文
posted @ 2023-12-28 13:08 ZhangZhihuiAAA 阅读(7) 评论(0) 推荐(0) 编辑
 
摘要: 1. Overview Single-line command statements are the norm on Linux command lines. However, sometimes we may need, or simply find it efficient, to run mu 阅读全文
posted @ 2023-12-28 11:48 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0) 编辑

2023年12月27日

摘要: gmailSmtpAuthAddress = "smtp.gmail.com" gmailSmtpServerAddress = "smtp.gmail.com:587" smtpAuthAddress = "smtp.126.com" smtpServerAddress = "smtp.126.c 阅读全文
posted @ 2023-12-27 16:52 ZhangZhihuiAAA 阅读(82) 评论(0) 推荐(0) 编辑
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 78 下一页