go-twitch/api/channels/channels.go

19 lines
242 B
Go
Raw Normal View History

2024-02-27 22:13:57 -05:00
package channels
import (
"net/http"
"net/url"
)
type Channels struct {
client *http.Client
baseUrl *url.URL
}
func New(client *http.Client, baseUrl *url.URL) *Channels {
return &Channels{
client: client,
baseUrl: baseUrl,
}
}