Lint: Disable gocyclo triggered by switch statement

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-02-11 22:45:36 +01:00
parent a83a29a717
commit 83dc0d88ab
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -63,7 +63,7 @@ func (m *modStreamSchedule) Initialize(id string, crontab *cron.Cron, discord *d
func (m modStreamSchedule) Setup() error { return nil }
//nolint:funlen // Seeing no sense to split for 5 lines
//nolint:funlen,gocyclo // Seeing no sense to split for 5 lines
func (m modStreamSchedule) cronUpdateSchedule() {
twitch := newTwitchAdapter(
// @attr twitch_client_id required string "" Twitch client ID the token was issued for