updated functions.go (removed unused function)

This commit is contained in:
Paul 2019-07-20 14:50:41 +02:00
parent 64762858aa
commit 25cc6b8313

View File

@ -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