mirror of https://github.com/docker/docs.git
None of these `filename`, `ext` or `configPath` should be in `main`, they are all just for creating a instance of Viper and then nothing. Do it in a separate function will make the function `main` more readable. Signed-off-by: Hu Keping <hukeping@huawei.com> |
||
|---|---|---|
| .. | ||
| configuration.go | ||
| configuration_test.go | ||
| http.go | ||
| http_test.go | ||
| tls_config.go | ||
| tls_config_test.go | ||