chrly/internal/di/httpClient.go

16 lines
191 B
Go
Raw Normal View History

2024-02-19 13:54:12 +01:00
package di
import (
"net/http"
"github.com/defval/di"
)
var httpClientDiOptions = di.Options(
di.Provide(newHttpClient),
)
func newHttpClient() *http.Client {
return &http.Client{}
2024-02-19 13:54:12 +01:00
}