1
0
Fork 0

chore: formatting

This commit is contained in:
Arthur K. 2026-01-19 19:34:31 +03:00
parent af6421da88
commit 7c4154a459
Signed by: wzray
GPG key ID: B97F30FDC4636357
6 changed files with 9 additions and 9 deletions

View file

@ -20,6 +20,7 @@ type client struct {
}
var defaultClient *client
const timeout = time.Duration(2) * time.Second
func (c *client) makeRequest(method string, host string, path types.Path, data any, out any) error {
@ -78,7 +79,7 @@ func Init(mw middleware.Middleware) {
}
defaultClient = &client{
http: &http.Client{
http: &http.Client{
Timeout: timeout,
},
middleware: mw,