Properly convert int to string
1 files changed, 2 insertions(+), 1 deletions(-) M yt.go
M yt.go => yt.go +2 -1
@@ 3,6 3,7 @@ package yt import ( "net/http" "net/url" "strconv" ) @@ // SearchResult contains metadata about a Youtube video. 43,7 44,7 @@ func Search(query string, page int) ([]SearchResult, error) { url, err := makeURL(searchURL, map[string]string{ "search_query": query, "sp": searchParams, "page": string(page), "page": strconv.Itoa(page), }) if err != nil { return nil, err