mirror of
https://github.com/elyby/chrly.git
synced 2024-12-23 21:50:03 +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{}
|
|
}
|