(dataDirPath string)
| 39 | ) |
| 40 | |
| 41 | func FormatAllPath(dataDirPath string) { |
| 42 | formatAllPathOnce.Do(func() { |
| 43 | ConfigFileDir = filepath.Join(dataDirPath, ConfigFileDir) |
| 44 | UploadFilePath = filepath.Join(dataDirPath, UploadFilePath) |
| 45 | I18nPath = filepath.Join(dataDirPath, I18nPath) |
| 46 | CacheDir = filepath.Join(dataDirPath, CacheDir) |
| 47 | }) |
| 48 | } |
| 49 | |
| 50 | // GetConfigFilePath get config file path |
| 51 | func GetConfigFilePath() string { |
no outgoing calls
no test coverage detected