get all fields from apple podcast

This commit is contained in:
2025-03-28 23:52:46 +08:00
parent fdde34e1f0
commit 70b8e330cc
9 changed files with 285 additions and 496 deletions

21
model/lookup_result.go Normal file
View File

@@ -0,0 +1,21 @@
// Package model 提供播客和剧集的数据模型
package model
import (
"time"
)
// SearchResult2 表示iTunes API搜索或查询的结果
type LookupResult struct {
// 结果数量
ResultCount int `json:"resultCount"`
// 搜索是否成功
Successful bool `json:"successful,omitempty"`
// 搜索结果项目列表
Items []ApplePodcast `json:"results"`
// 处理时间
ProcessedTime time.Time `json:"processedTime,omitempty"`
}