go-twitch/api/search/search.go

19 lines
234 B
Go
Raw Permalink Normal View History

2024-03-03 16:47:48 -05:00
package search
import (
"net/http"
"net/url"
)
type Search struct {
client *http.Client
baseUrl *url.URL
}
func New(client *http.Client, baseUrl *url.URL) *Search {
return &Search{
client: client,
baseUrl: baseUrl,
}
}