mirror of
https://github.com/elyby/chrly.git
synced 2024-12-27 07:20:25 +05:30
16 lines
191 B
Go
16 lines
191 B
Go
package di
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/defval/di"
|
|
)
|
|
|
|
var httpClientDiOptions = di.Options(
|
|
di.Provide(newHttpClient),
|
|
)
|
|
|
|
func newHttpClient() *http.Client {
|
|
return &http.Client{}
|
|
}
|