(in string)
| 2017 | func SetConfigType(in string) { v.SetConfigType(in) } |
| 2018 | |
| 2019 | func (v *Viper) SetConfigType(in string) { |
| 2020 | if in != "" { |
| 2021 | v.configType = in |
| 2022 | } |
| 2023 | } |
| 2024 | |
| 2025 | // SetConfigPermissions sets the permissions for the config file. |
| 2026 | func SetConfigPermissions(perm os.FileMode) { v.SetConfigPermissions(perm) } |
no outgoing calls