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 ......
error ZIMP Unit Test

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- ......
import error ZIMP

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 ......
because timed ZIMP Unit test

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 ......
Error ZIMP Unit Test

ZIMP - 126邮件POP3,SMTP服务器与端口设置

gmailSmtpAuthAddress = "smtp.gmail.com" gmailSmtpServerAddress = "smtp.gmail.com:587" smtpAuthAddress = "smtp.126.com" smtpServerAddress = "smtp.126.c ......
端口 邮件 服务器 ZIMP POP3

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 ......
Install migrate ZIMP CLI

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 ......
registered statik error ZIMP data

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 ......
swagger-ui swagger ZIMP ui

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: ......
import error ZIMP

ZIMP - Session Management

Access token is for short duration access. Refresh token is for medium duration access, saved in database. ......
Management Session ZIMP

ZIMP - dbml

zzh@ZZHPC:/zdata/Github/zimplebank$ npm install -g @dbml/cli zzh@ZZHPC:/zdata/Github/zimplebank$ dbml2sql --help Usage: dbml2sql [options] <files...> ......
ZIMP dbml

ZIMP - dbdocs

zzh@ZZHPC:~$ dbdocs login ? Choose a login method: Email ? Your email: ZhangZhihuiAAA@126.com ✔ Request email authentication ? Please input OTP code s ......
dbdocs ZIMP

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 Unit Test

Zimp - Mock Database

......
Database Zimp Mock

Zimp - Error message not equal

func TestDeleteAccount(t *testing.T) { account1 := createRandomAccount(t) err := testQueries.DeleteAccount(context.Background(), account1.ID) require. ......
message Error equal Zimp not

ZIMP - Init the Zimple Bank project

zzh@ZZHPC:~/zd/Github/zimplebank$ go mod init github.com/ZhangZhihuiAAA/zimplebank go: creating new go.mod: module github.com/ZhangZhihuiAAA/zimpleban ......
project Zimple ZIMP Init Bank
共16篇  :1/1页 首页上一页1下一页尾页