1
0
mirror of https://github.com/kha7iq/pingme.git synced 2025-05-16 14:50:18 -07:00

style: fmt code

This commit is contained in:
kha7iq 2021-05-17 20:02:47 +08:00
parent 14f5a03201
commit 0e2992e4aa
2 changed files with 2 additions and 6 deletions

View File

@ -54,9 +54,7 @@ type HTTPClient interface {
Do(req *http.Request) (*http.Response, error) Do(req *http.Request) (*http.Response, error)
} }
var ( var Client HTTPClient
Client HTTPClient
)
func initialize() { func initialize() {
Client = &http.Client{ Client = &http.Client{

View File

@ -39,9 +39,7 @@ type HTTPClient interface {
Do(req *http.Request) (*http.Response, error) Do(req *http.Request) (*http.Response, error)
} }
var ( var Client HTTPClient
Client HTTPClient
)
func initialize() { func initialize() {
Client = &http.Client{ Client = &http.Client{