updated functions.go (removed unused function)
This commit is contained in:
parent
64762858aa
commit
25cc6b8313
@ -19,11 +19,6 @@ import (
|
||||
"gopkg.in/ini.v1"
|
||||
)
|
||||
|
||||
// ParseArgs is not yet implemented
|
||||
func ParseArgs() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// GetConfig fetch config from ini file
|
||||
func GetConfig(configfile string, fuelpricesconfig *FuelPricesConfig) error {
|
||||
flag.Usage = Usage
|
||||
@ -75,7 +70,6 @@ func DownloadFile(fpc *FuelPricesConfig, szip *Srcfile) error {
|
||||
IdleConnTimeout: pollTo,
|
||||
DisableCompression: false,
|
||||
}}
|
||||
//resp, err := http.Get(url)
|
||||
resp, err := c.Get(fpc.RemoteURL)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user