go-twitch/api/subscriptions/subscriptions.go

19 lines
262 B
Go
Raw Permalink Normal View History

2024-03-03 17:47:11 -05:00
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,
}
}