go-twitch/api/subscriptions/subscriptions.go

19 lines
262 B
Go

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