go-twitch/api/streams/streams.go

19 lines
238 B
Go

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