go-twitch/api/hypetrain/hypetrain.go

19 lines
246 B
Go

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,
}
}