generated by Claude-3.7-Sonnet

This commit is contained in:
2025-03-28 22:27:08 +08:00
commit fdde34e1f0
13 changed files with 1581 additions and 0 deletions

21
main.go Normal file
View File

@@ -0,0 +1,21 @@
package main
import (
"fmt"
"gitea.malaihome.work/ans/podcast_search/search"
)
func main() {
provider := search.NewITunesProvider()
podcast, err := provider.SearchPodcasts("golang", &search.SearchOptions{Country: "us", Language: "en-us"})
if err != nil {
panic(err)
}
// print podcast to json
fmt.Printf("podcast: %+v\n", podcast)
}