go-twitch/api/polls/polls.go

19 lines
230 B
Go
Raw Permalink Normal View History

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