go-twitch/api/hypetrain/hypetrain.go

19 lines
246 B
Go
Raw Permalink Normal View History

2024-03-03 14:16:33 -05:00
package hypetrain
import (
"net/http"
"net/url"
)
type Hypetrain struct {
client *http.Client
baseUrl *url.URL
}
func New(client *http.Client, baseUrl *url.URL) *Hypetrain {
return &Hypetrain{
client: client,
baseUrl: baseUrl,
}
}