Improve Session / Auth, APICall

This commit is contained in:
Samuel Lorch 2023-03-11 14:54:21 +01:00
parent fb70f41fcb
commit 2fe21169bb
11 changed files with 167 additions and 115 deletions

View file

@ -14,7 +14,6 @@ type Config struct {
func ValidateConfig(conf *Config) error {
val := validator.New()
slog.Info("Registering validator")
val.RegisterValidation("test", nilIfOtherNil)
return val.Struct(conf)
}