Files
contracts/base/res_field.go
T
what 9446571363 重构: base 包资源核心类型迁移到 req/resx,新增 res_watcher/res_api_param
base/resource.go、resource_hooks.go、resource_test.go、query_field.go 删除,ResField 等具体实现搬到 req/resx(见 res_field.go 里的类型别名)。res_listener.go 替换成 res_watcher.go,对应资源变更监听概念改名。新增 res_api_param.go 及配套测试(ResApi 参数建模,给 MCP tool 的 JSON Schema 生成用)。
2026-07-22 09:13:05 +08:00

10 lines
311 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package base
import (
"git.fsdpf.net/go/req/resx"
)
// ResField 的实现搬到了 git.fsdpf.net/go/req/resxresx 自己需要用它做字段级脱敏,
// 不能反过来 import contracts/base,见 resx.ResField 的注释),这里保留类型别名兼容原有引用。
type ResField = resx.ResField