Multiple config files support
The PR ports Multiple config files support to sing-box, and takes advice from #164.
sing-box run -c inbound.json -c outbound.json
sing-box run -r -c config_dir
Who defines .jsonc?
Here with in the VSCode, I have to change the extension to .jsonc to enable the comments, or it will alert. So I take it as a convention.
But as to the PR, it allows comment even if the extenstion is .json
100.0% test coverage for qjebbs/go-jsons:
$ make test
ok github.com/qjebbs/go-jsons 0.641s coverage: 100.0% of statements
ok github.com/qjebbs/go-jsons/merge 0.360s coverage: 100.0% of statements
Sorry the branch is deleted accidentally when I tried to rename the branch.
If you want it any time, contact me to recreate the PR or find it at: https://github.com/qjebbs/sing-box/branches