go-twitch/api/entitlements/entitlements.go

19 lines
258 B
Go

package entitlements
import (
"net/http"
"net/url"
)
type Entitlements struct {
client *http.Client
baseUrl *url.URL
}
func New(client *http.Client, baseUrl *url.URL) *Entitlements {
return &Entitlements{
client: client,
baseUrl: baseUrl,
}
}