go-twitch/api/games/games.go

19 lines
230 B
Go

package games
import (
"net/http"
"net/url"
)
type Games struct {
client *http.Client
baseUrl *url.URL
}
func New(client *http.Client, baseUrl *url.URL) *Games {
return &Games{
client: client,
baseUrl: baseUrl,
}
}