Chore: code style
This commit is contained in:
@@ -119,7 +119,7 @@ func doGet(url string) (resp *http.Response, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
convert.SetUserAgent(req)
|
||||
convert.SetUserAgent(req.Header)
|
||||
|
||||
resp, err = http.DefaultClient.Do(req)
|
||||
return
|
||||
|
||||
@@ -6,7 +6,6 @@ import (
|
||||
"runtime"
|
||||
|
||||
"github.com/Dreamacro/clash/component/geodata"
|
||||
_ "github.com/Dreamacro/clash/component/geodata/standard"
|
||||
C "github.com/Dreamacro/clash/constant"
|
||||
|
||||
"github.com/oschwald/geoip2-golang"
|
||||
|
||||
Reference in New Issue
Block a user