go-twitch/api/ads/ads.go

19 lines
222 B
Go
Raw Normal View History

2024-02-27 22:13:57 -05:00
package ads
import (
"net/http"
"net/url"
)
type Ads struct {
client *http.Client
baseUrl *url.URL
}
func New(client *http.Client, baseUrl *url.URL) *Ads {
return &Ads{
client: client,
baseUrl: baseUrl,
}
}