摘要:
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
阅读(20)
推荐(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
阅读(122)
推荐(0)
摘要:
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
阅读(25)
推荐(0)
摘要:
EKS Cluster: RDS (Postgres): Rdis Cluster:
阅读全文
posted @ 2023-12-31 09:37
ZhangZhihuiAAA
阅读(9)
推荐(0)
摘要:
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
阅读(39)
推荐(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 20:27
ZhangZhihuiAAA
阅读(22)
推荐(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
阅读(48)
推荐(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
阅读(22)
推荐(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
阅读(63)
推荐(0)
摘要:
gmailSmtpAuthAddress = "smtp.gmail.com" gmailSmtpServerAddress = "smtp.gmail.com:587" smtpAuthAddress = "smtp.126.com" smtpServerAddress = "smtp.126.c
阅读全文
posted @ 2023-12-27 16:52
ZhangZhihuiAAA
阅读(156)
推荐(0)