This commit is contained in:
parent
ab925c4b2c
commit
0c2c136413
|
@ -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