go-twitch/api/analytics/analytics.go

19 lines
246 B
Go
Raw Normal View History

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