fix nolints
This commit is contained in:
parent
f21ef8ccb5
commit
3bfadd5416
@ -39,7 +39,7 @@ import (
|
||||
|
||||
var _ backupHandler[models.Channelable, models.ChatMessageable] = &mockBackupHandler{}
|
||||
|
||||
//nolint:unused
|
||||
//lint:ignore U1000 false linter issue due to generics
|
||||
type mockBackupHandler struct {
|
||||
channels []models.Channelable
|
||||
messageIDs []string
|
||||
@ -51,7 +51,7 @@ type mockBackupHandler struct {
|
||||
doNotInclude bool
|
||||
}
|
||||
|
||||
//nolint:unused
|
||||
//lint:ignore U1000 false linter issue due to generics
|
||||
func (bh mockBackupHandler) augmentItemInfo(
|
||||
*details.GroupsInfo,
|
||||
models.Channelable,
|
||||
@ -125,7 +125,7 @@ func (bh mockBackupHandler) canonicalPath(
|
||||
false)
|
||||
}
|
||||
|
||||
//nolint:unused
|
||||
//lint:ignore U1000 false linter issue due to generics
|
||||
func (bh mockBackupHandler) getItem(
|
||||
_ context.Context,
|
||||
_ string,
|
||||
|
||||
@ -95,7 +95,7 @@ func (bh channelsBackupHandler) PathPrefix(tenantID string) (path.Path, error) {
|
||||
false)
|
||||
}
|
||||
|
||||
//nolint:unused
|
||||
//lint:ignore U1000 false linter issue due to generics
|
||||
func (bh channelsBackupHandler) getItem(
|
||||
ctx context.Context,
|
||||
groupID string,
|
||||
@ -105,7 +105,7 @@ func (bh channelsBackupHandler) getItem(
|
||||
return bh.ac.GetChannelMessage(ctx, groupID, containerIDs[0], messageID)
|
||||
}
|
||||
|
||||
//nolint:unused
|
||||
//lint:ignore U1000 false linter issue due to generics
|
||||
func (bh channelsBackupHandler) augmentItemInfo(
|
||||
dgi *details.GroupsInfo,
|
||||
c models.Channelable,
|
||||
|
||||
@ -144,7 +144,7 @@ type getAndAugmentChannelMessage struct {
|
||||
Err error
|
||||
}
|
||||
|
||||
//nolint:unused
|
||||
//lint:ignore U1000 false linter issue due to generics
|
||||
func (m getAndAugmentChannelMessage) getItem(
|
||||
_ context.Context,
|
||||
_ string,
|
||||
@ -157,7 +157,7 @@ func (m getAndAugmentChannelMessage) getItem(
|
||||
return msg, &details.GroupsInfo{}, m.Err
|
||||
}
|
||||
|
||||
//nolint:unused
|
||||
//lint:ignore U1000 false linter issue due to generics
|
||||
func (getAndAugmentChannelMessage) augmentItemInfo(*details.GroupsInfo, models.Channelable) {
|
||||
// no-op
|
||||
}
|
||||
|
||||
@ -113,7 +113,7 @@ func (bh conversationsBackupHandler) PathPrefix(tenantID string) (path.Path, err
|
||||
false)
|
||||
}
|
||||
|
||||
//nolint:unused
|
||||
//lint:ignore U1000 false linter issue due to generics
|
||||
func (bh conversationsBackupHandler) getItem(
|
||||
ctx context.Context,
|
||||
groupID string,
|
||||
@ -129,7 +129,7 @@ func (bh conversationsBackupHandler) getItem(
|
||||
api.CallConfig{})
|
||||
}
|
||||
|
||||
//nolint:unused
|
||||
//lint:ignore U1000 false linter issue due to generics
|
||||
func (bh conversationsBackupHandler) augmentItemInfo(
|
||||
dgi *details.GroupsInfo,
|
||||
c models.Conversationable,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user