get all fields from apple podcast
This commit is contained in:
21
model/lookup_result.go
Normal file
21
model/lookup_result.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user