From 25cc6b83137360d16be18027ee5b1ec75272c3e9 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sat, 20 Jul 2019 14:50:41 +0200 Subject: [PATCH] updated functions.go (removed unused function) --- functions.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/functions.go b/functions.go index a3649d8..f3630dc 100644 --- a/functions.go +++ b/functions.go @@ -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