Fix GUI build
This commit is contained in:
parent
4b0d611715
commit
be99f9ae41
|
@ -4,6 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
"time"
|
||||||
|
|
||||||
"github.com/knadh/koanf/providers/confmap"
|
"github.com/knadh/koanf/providers/confmap"
|
||||||
"github.com/knadh/koanf/providers/posflag"
|
"github.com/knadh/koanf/providers/posflag"
|
||||||
|
@ -33,7 +34,7 @@ func main() {
|
||||||
|
|
||||||
log.Print("Loading config")
|
log.Print("Loading config")
|
||||||
// Load the config file
|
// Load the config file
|
||||||
pfConfig, _ := config.LoadConfig()
|
pfConfig, configFileProvider := config.LoadConfig()
|
||||||
log.Printf("%v", pfConfig)
|
log.Printf("%v", pfConfig)
|
||||||
pfConfig.Print()
|
pfConfig.Print()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue