go-twitch/api/channelpoints/channelpoints.go

19 lines
262 B
Go
Raw Permalink Normal View History

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