(active string)
| 347 | } |
| 348 | |
| 349 | func (conf *loaderConf) getActiveFilePath(active string) string { |
| 350 | suffix := constant.DotSeparator + conf.suffix |
| 351 | return strings.ReplaceAll(conf.path, suffix, "") + "-" + active + suffix |
| 352 | } |
| 353 | |
| 354 | func pathExists(path string) bool { |
| 355 | if _, err := os.Stat(path); err == nil { |