ZIMP
ZIMP - Unit Test error
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 ......
ZIMP - import error
import "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway" is a program, not an importable packagego list package _ ("github.com/grpc- ......
ZIMP - Unit test timed out because of mock
Running tool: /usr/local/go/bin/go test -timeout 30s -run ^TestCreateUserAPI$ github.com/ZhangZhihuiAAA/zimplebank/gapi -count=1 -v RUN TestCreateUser ......
ZIMP - Unit Test Error
Running tool: /usr/local/go/bin/go test -timeout 30s -run ^TestCreateUserAPI$ github.com/ZhangZhihuiAAA/zimplebank/gapi -count=1 -v RUN TestCreateUser ......
ZIMP - 126邮件POP3,SMTP服务器与端口设置
gmailSmtpAuthAddress = "smtp.gmail.com" gmailSmtpServerAddress = "smtp.gmail.com:587" smtpAuthAddress = "smtp.126.com" smtpServerAddress = "smtp.126.c ......
ZIMP - Install migrate CLI
zzh@ZZHPC:~/Downloads$ curl -L https://packagecloud.io/golang-migrate/migrate/gpgkey | sudo apt-key add - % Total % Received % Xferd Average Speed Tim ......
ZIMP - statik error: no zip data registered
zzh@ZZHPC:/zdata/Github/zimplebank$ make server go run main.go 2023/12/24 20:57:39 failed to create statik fs:statik/fs: no zip data registered exit s ......
ZIMP - swagger-ui
zzh@ZZHPC:/zdata/Github$ git clone https://github.com/swagger-api/swagger-ui.git Cloning into 'swagger-ui'... remote: Enumerating objects: 41700, done ......
ZIMP - import error
Only copying the annotations.proto file is not enough. Copying all .proto files under grpc-gateway/protoc-gen-openapiv2/options will fix this issue: ......
ZIMP - Session Management
Access token is for short duration access. Refresh token is for medium duration access, saved in database. ......
ZIMP - dbml
zzh@ZZHPC:/zdata/Github/zimplebank$ npm install -g @dbml/cli zzh@ZZHPC:/zdata/Github/zimplebank$ dbml2sql --help Usage: dbml2sql [options] <files...> ......
ZIMP - dbdocs
zzh@ZZHPC:~$ dbdocs login ? Choose a login method: Email ? Your email: ZhangZhihuiAAA@126.com ✔ Request email authentication ? Please input OTP code s ......
ZIMP - Unit Test
func TestLoginUserAPI(t *testing.T) { user, password := randomUser(t) testCases := []struct { name string body gin.H buildStubs func(store *mockdb.Moc ......
Zimp - Error message not equal
func TestDeleteAccount(t *testing.T) { account1 := createRandomAccount(t) err := testQueries.DeleteAccount(context.Background(), account1.ID) require. ......