go-twitch/api/entitlements/entitlements.go

19 lines
258 B
Go
Raw Permalink Normal View History

2024-02-28 14:25:19 -05:00
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,
}
}