go-twitch/api/predictions/predictions.go

19 lines
254 B
Go
Raw Normal View History

2024-03-03 15:50:12 -05:00
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,
}
}