Commit 1129d18331
Unsigned
Layout: unified · split
internal/anime_list.go +5 −2
| @@ -27,10 +27,13 @@ type response struct { | |||
| 27 | // mode := "sub" | 27 | // mode := "sub" |
| 28 | 28 | ||
| 29 | // // Query for the anime (from a file in this example) | 29 | // // Query for the anime (from a file in this example) |
| 30 | // query := "Death note" | 30 | // query := "one piece" |
| 31 | 31 | ||
| 32 | // // Search anime | 32 | // // Search anime |
| 33 | // animeList := searchAnime(string(query), mode) | 33 | // animeList, err := SearchAnime(string(query), mode) |
| 34 | // if err != nil { | ||
| 35 | |||
| 36 | // } | ||
| 34 | // fmt.Println(animeList) | 37 | // fmt.Println(animeList) |
| 35 | // } | 38 | // } |
| 36 | 39 | ||