From 69746a5dc709de20f2e6e91cf8b790883e8ff125 Mon Sep 17 00:00:00 2001 From: Jacob Brewer Date: Wed, 9 Oct 2024 21:40:23 +0100 Subject: [PATCH] go gen --- mock_WhereTyper.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mock_WhereTyper.go b/mock_WhereTyper.go index 88e0938..9fb7052 100644 --- a/mock_WhereTyper.go +++ b/mock_WhereTyper.go @@ -10,7 +10,7 @@ type MockWhereTyper struct { } // Where provides a mock function with given fields: -func (_m *MockWhereTyper) Where() (string, []any) { +func (_m *MockWhereTyper) Where() (string, []interface{}) { ret := _m.Called() if len(ret) == 0 { @@ -18,8 +18,8 @@ func (_m *MockWhereTyper) Where() (string, []any) { } var r0 string - var r1 []any - if rf, ok := ret.Get(0).(func() (string, []any)); ok { + var r1 []interface{} + if rf, ok := ret.Get(0).(func() (string, []interface{})); ok { return rf() } if rf, ok := ret.Get(0).(func() string); ok { @@ -28,11 +28,11 @@ func (_m *MockWhereTyper) Where() (string, []any) { r0 = ret.Get(0).(string) } - if rf, ok := ret.Get(1).(func() []any); ok { + if rf, ok := ret.Get(1).(func() []interface{}); ok { r1 = rf() } else { if ret.Get(1) != nil { - r1 = ret.Get(1).([]any) + r1 = ret.Get(1).([]interface{}) } }