go-twitch/api/predictions/predictions.go

19 lines
254 B
Go

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