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