1 Star 0 Fork 0

kzangv / gsf-fof

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
data.go 546 Bytes
一键复制 编辑 原始数据 按行查看 历史
kzangv 提交于 2023-02-23 10:22 . fixed
package define
type EsRespSearchItem[T any] struct {
Id string `json:"_id"`
Source T `json:"_source"`
}
type EsRespSearch struct {
Took uint64 `json:"took"`
TimedOut bool `json:"timed_out"`
Hits struct {
Total struct {
Value uint64 `json:"value"`
Relation string `json:"relation"`
} `json:"total"`
Hits interface{} `json:"hits"`
} `json:"hits"`
}
type EsRespError struct {
Status uint64 `json:"status"`
Error struct {
Type string `json:"type"`
Reason string `json:"reason"`
} `json:"error"`
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/kzangv/gsf-fof.git
git@gitee.com:kzangv/gsf-fof.git
kzangv
gsf-fof
gsf-fof
v0.2.6

搜索帮助

344bd9b3 5694891 D2dac590 5694891