go-twitch/api/streams/streams.go

19 lines
238 B
Go
Raw Permalink Normal View History

2024-03-03 17:34:18 -05:00
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,
}
}