You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/08 13:08:41 UTC
[GitHub] [apisix-dashboard] bzp2010 commented on a change in pull request #1946: refactor: migrate to viper configure manage
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 function.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org