file self loads due to init()
()
| 320 | |
| 321 | // file self loads due to init() |
| 322 | func LoadDataFiles() { |
| 323 | |
| 324 | start := time.Now() |
| 325 | |
| 326 | tmpMutators, err := fileloader.LoadAllFlatFiles[string, *MutatorSpec](configs.GetFilePathsConfig().DataFiles.String() + `/mutators`) |
| 327 | if err != nil { |
| 328 | panic(err) |
| 329 | } |
| 330 | |
| 331 | allMutators = tmpMutators |
| 332 | |
| 333 | loadPluginMutators(allMutators) |
| 334 | |
| 335 | mudlog.Info("mutators.LoadDataFiles()", "loadedCount", len(allMutators), "Time Taken", time.Since(start)) |
| 336 | } |
no test coverage detected