go-twitch/api/games/games.go

19 lines
230 B
Go
Raw Permalink Normal View History

2024-03-02 22:54:58 -05:00
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,
}
}