cjphaha opened a new pull request #1073: URL: https://github.com/apache/dubbo-go/pull/1073
<!-- Thanks for sending a pull request! Read https://github.com/apache/dubbo-go/blob/master/contributing.md before commit pull request. --> **What this PR does**: If the path of the configuration file cannot be obtained from the environment variables or the startup parameters, the system will search for the configuration file from the default location. If the configuration file fails to read, the default parameters will be set **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. _If PR is about `failing-tests or flakes`, please post the related issues/tests in a comment and do not use `Fixes`_* --> Fixes # **Special notes for your reviewer**: **Does this PR introduce a user-facing change?**: <!-- If no, just write "NONE" in the release-note block below. If yes, a release note is required: Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required". --> + Put the config files in profiles folder. by default, the configuration file should be placed like this ```shell . ├── app │ ├── client.go │ └── user.go └── profiles ├── client.yml └── log.yml ``` + You can start the program widthout setting conConf and proConf: ```shell go run . ``` + If there is no config files in peofiles path, this pr will provide a default config like https://github.com/apache/dubbo-go-samples/helloworld ---------------------------------------------------------------- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
