16 lines
150 B
Go
16 lines
150 B
Go
package client
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
type Client struct {
|
|
http *http.Client
|
|
}
|
|
|
|
func New() *Client {
|
|
return &Client{
|
|
http: &http.Client{},
|
|
}
|
|
}
|