go-twitch/api/chat/chat.go

19 lines
226 B
Go
Raw Normal View History

2024-02-28 10:30:20 -05:00
package chat
import (
"net/http"
"net/url"
)
type Chat struct {
client *http.Client
baseUrl *url.URL
}
func New(client *http.Client, baseUrl *url.URL) *Chat {
return &Chat{
client: client,
baseUrl: baseUrl,
}
}