go-twitch/api/schedule/schedule.go

19 lines
242 B
Go

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