admin/sync: Keep Exceptions from multiple files

This commit is contained in:
nemunaire 2022-10-31 16:38:32 +01:00
parent ac25202024
commit 23ac512ce6
4 changed files with 16 additions and 13 deletions

View file

@ -7,7 +7,7 @@ import (
"srs.epita.fr/fic-server/libfic"
)
var hooks = &CheckHooks{}
var hooks = &CheckHooks{customHooks: map[string]CustomCheckHook{}}
type CheckFlagChoiceHook func(*fic.FlagChoice, *CheckExceptions) []error
type CheckFlagKeyHook func(*fic.FlagKey, string, *CheckExceptions) []error