fixed tabs
This commit is contained in:
parent
6f1f685e65
commit
237e737326
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -1,3 +1,4 @@
|
||||
{
|
||||
"go.formatTool": "goimports"
|
||||
"go.formatTool": "goimports",
|
||||
"editor.tabSize": 2
|
||||
}
|
@ -2,9 +2,9 @@ package main
|
||||
|
||||
import (
|
||||
"archive/zip"
|
||||
"flag"
|
||||
"fmt"
|
||||
"time"
|
||||
"flag"
|
||||
|
||||
_ "github.com/influxdata/influxdb1-client"
|
||||
client "github.com/influxdata/influxdb1-client/v2"
|
||||
@ -54,10 +54,9 @@ var now = time.Now()
|
||||
var fpc FuelPricesConfig
|
||||
var configpath string
|
||||
|
||||
|
||||
func main() {
|
||||
|
||||
flag.StringVar(&configpath,"configfile","common.ini","config file to use with fuelprices section")
|
||||
flag.StringVar(&configpath, "configfile", "common.ini", "config file to use with fuelprices section")
|
||||
flag.Parse()
|
||||
GetConfig(configpath, &fpc)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user