Update vendored libs, min go version now 1.22

This commit is contained in:
eleksir
2024-07-24 23:10:32 +03:00
parent 0773c29359
commit 27f79905f4
325 changed files with 10658 additions and 4712 deletions

View File

@@ -189,7 +189,7 @@ func readConfig() error { //nolint:gocognit,gocyclo
for n, channel := range sampleConfig.Jabber.Channels {
if channel.Name == "" {
return errors.New("no \"name\" entry in jabber channel config")
return errors.New("no \"name\" entry in jabber channel config") //nolint:goerr113
}
if channel.Nick == "" {
@@ -265,13 +265,13 @@ func readConfig() error { //nolint:gocognit,gocyclo
config = sampleConfig
configLoaded = true
log.Infof("Using %s as config file", location) //nolint:wsl
log.Infof("Using %s as config file", location)
break
}
if !configLoaded {
return errors.New("config was not loaded!") //nolint:goerr113
return errors.New("config was not loaded") //nolint:goerr113
}
return err //nolint:wrapcheck