bzp2010 commented on a change in pull request #1946:
URL: https://github.com/apache/apisix-dashboard/pull/1946#discussion_r666176395



##########
File path: api/internal/conf/conf.go
##########
@@ -19,14 +19,13 @@ package conf
 import (
        "fmt"
        "io/ioutil"
-       "log"
        "os"
        "path/filepath"
        "runtime"
        "strings"
 
+       "github.com/spf13/viper"

Review comment:
       `cobra` only provides command line management, 
   `viper` provides configuration file reading and parsing functions. It can 
support a variety of different configuration file formats, such as YAML, JSON, 
or TOML, which can be specified by the `-c` flag.
   
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to