You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/05/28 02:43:07 UTC

[GitHub] [dubbo-go] georgehao opened a new issue #544: provide another way to load config

georgehao opened a new issue #544:
URL: https://github.com/apache/dubbo-go/issues/544


   <!-- Please only use this template for submitting enhancement requests -->
   
   ## What would you like to be added:
   
   #### add explicit may to load config, eg
   ```
   ./dubbogo_server -env ./conf/
   ```
   
   #### add default conf path, eg
   
    the default conf path is ./conf. 
   
   ## Why is this needed:
   
   currently, the way to load dubbogo config is using the `Environment Variable`. I think can enhance the ways. 
   
   * first, dubbgo start to find the explicit  path
   * when there is no explicit way, just to find the  `Environment Variable`
   * third, if `explicit path` and `Environment Variable` is none , just to find the default conf path
   * above all is none, just `panic`
   
   ## additional
   
   Also, i think the default  val  wrote in coding is not a beautiful way
   
   `common/constant/default.go`


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] AlexStocks closed issue #544: Enhancement: provide another way to load config

Posted by GitBox <gi...@apache.org>.
AlexStocks closed issue #544:
URL: https://github.com/apache/dubbo-go/issues/544


   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org