19 lines
250 B
Go
19 lines
250 B
Go
|
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,
|
||
|
}
|
||
|
}
|