1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-27 06:52:50 -05:00

core: update to golangci-lint v2

This commit is contained in:
bbedward
2025-12-01 12:23:34 -05:00
parent 50f174be92
commit f5ca4ccce5
24 changed files with 302 additions and 274 deletions

View File

@@ -259,7 +259,7 @@ type MockEvdevDevice_State_Call struct {
// State is a helper method to define mock.On call
// - t go_evdev.EvType
func (_e *MockEvdevDevice_Expecter) State(t any) *MockEvdevDevice_State_Call {
func (_e *MockEvdevDevice_Expecter) State(t interface{}) *MockEvdevDevice_State_Call {
return &MockEvdevDevice_State_Call{Call: _e.mock.On("State", t)}
}
@@ -285,8 +285,7 @@ func (_c *MockEvdevDevice_State_Call) RunAndReturn(run func(go_evdev.EvType) (go
func NewMockEvdevDevice(t interface {
mock.TestingT
Cleanup(func())
},
) *MockEvdevDevice {
}) *MockEvdevDevice {
mock := &MockEvdevDevice{}
mock.Mock.Test(t)