go-twitch/api/polls/polls.go

19 lines
230 B
Go

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