go-twitch/api/moderation/moderation.go

19 lines
250 B
Go
Raw Permalink Normal View History

2024-03-03 15:14:59 -05:00
package moderation
import (
"net/http"
"net/url"
)
type Moderation struct {
client *http.Client
baseUrl *url.URL
}
func New(client *http.Client, baseUrl *url.URL) *Moderation {
return &Moderation{
client: client,
baseUrl: baseUrl,
}
}