- .gitea/workflows/ci.yml:后端 gofmt/vet/test + 前端 lint/test/build 双 job 门禁 - vitest + @testing-library + jsdom 落地,14 个命脉用例:useListQuery 乱序丢弃/卸载中止、 http.ts 401 单飞刷新+队列重放+失败登出+silent 直拒、审计防抖、StepDeploy 部署目标、query-utils - 版本注入断裂修复:main 补 buildTime/gitCommit 符号,build.sh/Dockerfile 注入 main.version, /health 返回真实版本,前端 package.json 版本对齐 2.0.0 - gofmt 清零(8 个存量未格式化文件)
10 lines
314 B
Go
10 lines
314 B
Go
package dto
|
|
|
|
import "lokistack/services"
|
|
|
|
type ImageRegistryRequest struct {
|
|
Mode string `json:"mode" binding:"required,oneof=overseas cn custom"`
|
|
CustomHost string `json:"customHost"`
|
|
Images map[string]services.ComponentImage `json:"images"`
|
|
}
|