go-twitch/api/charity/charity.go

19 lines
238 B
Go
Raw Permalink Normal View History

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