This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new 8ee591fe56 chore(plc4go): pick right go version for wrapper
8ee591fe56 is described below
commit 8ee591fe56a7bd447cacd4754df1aec5b8dfd81f
Author: Sebastian Rühl <[email protected]>
AuthorDate: Thu Feb 12 16:41:26 2026 +0100
chore(plc4go): pick right go version for wrapper
---
plc4go/pom.xml | 2 +-
plc4go/spi/testutils/mocks_test.go | 28 ++++++++++++++--------------
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/plc4go/pom.xml b/plc4go/pom.xml
index 73fbc4c2d1..8f4b88717f 100644
--- a/plc4go/pom.xml
+++ b/plc4go/pom.xml
@@ -51,7 +51,7 @@
<go.cover.flag>-coverprofile=target/coverage.out</go.cover.flag>
- <go.version>1.26</go.version>
+ <go.version>1.26.0</go.version>
</properties>
<build>
diff --git a/plc4go/spi/testutils/mocks_test.go
b/plc4go/spi/testutils/mocks_test.go
index 1f5f9fd557..569e99bf9e 100644
--- a/plc4go/spi/testutils/mocks_test.go
+++ b/plc4go/spi/testutils/mocks_test.go
@@ -1093,7 +1093,7 @@ func (_c *MockTestingLog_Helper_Call) RunAndReturn(run
func()) *MockTestingLog_H
}
// Log provides a mock function for the type MockTestingLog
-func (_mock *MockTestingLog) Log(args ...interface{}) {
+func (_mock *MockTestingLog) Log(args ...any) {
if len(args) > 0 {
_mock.Called(args)
} else {
@@ -1109,18 +1109,18 @@ type MockTestingLog_Log_Call struct {
}
// Log is a helper method to define mock.On call
-// - args ...interface{}
+// - args ...any
func (_e *MockTestingLog_Expecter) Log(args ...interface{})
*MockTestingLog_Log_Call {
return &MockTestingLog_Log_Call{Call: _e.mock.On("Log",
append([]interface{}{}, args...)...)}
}
-func (_c *MockTestingLog_Log_Call) Run(run func(args ...interface{}))
*MockTestingLog_Log_Call {
+func (_c *MockTestingLog_Log_Call) Run(run func(args ...any))
*MockTestingLog_Log_Call {
_c.Call.Run(func(args mock.Arguments) {
- var arg0 []interface{}
- var variadicArgs []interface{}
+ var arg0 []any
+ var variadicArgs []any
if len(args) > 0 {
- variadicArgs = args[0].([]interface{})
+ variadicArgs = args[0].([]any)
}
arg0 = variadicArgs
run(
@@ -1135,13 +1135,13 @@ func (_c *MockTestingLog_Log_Call) Return()
*MockTestingLog_Log_Call {
return _c
}
-func (_c *MockTestingLog_Log_Call) RunAndReturn(run func(args ...interface{}))
*MockTestingLog_Log_Call {
+func (_c *MockTestingLog_Log_Call) RunAndReturn(run func(args ...any))
*MockTestingLog_Log_Call {
_c.Run(run)
return _c
}
// Logf provides a mock function for the type MockTestingLog
-func (_mock *MockTestingLog) Logf(format string, args ...interface{}) {
+func (_mock *MockTestingLog) Logf(format string, args ...any) {
if len(args) > 0 {
_mock.Called(format, args)
} else {
@@ -1158,22 +1158,22 @@ type MockTestingLog_Logf_Call struct {
// Logf is a helper method to define mock.On call
// - format string
-// - args ...interface{}
+// - args ...any
func (_e *MockTestingLog_Expecter) Logf(format interface{}, args
...interface{}) *MockTestingLog_Logf_Call {
return &MockTestingLog_Logf_Call{Call: _e.mock.On("Logf",
append([]interface{}{format}, args...)...)}
}
-func (_c *MockTestingLog_Logf_Call) Run(run func(format string, args
...interface{})) *MockTestingLog_Logf_Call {
+func (_c *MockTestingLog_Logf_Call) Run(run func(format string, args ...any))
*MockTestingLog_Logf_Call {
_c.Call.Run(func(args mock.Arguments) {
var arg0 string
if args[0] != nil {
arg0 = args[0].(string)
}
- var arg1 []interface{}
- var variadicArgs []interface{}
+ var arg1 []any
+ var variadicArgs []any
if len(args) > 1 {
- variadicArgs = args[1].([]interface{})
+ variadicArgs = args[1].([]any)
}
arg1 = variadicArgs
run(
@@ -1189,7 +1189,7 @@ func (_c *MockTestingLog_Logf_Call) Return()
*MockTestingLog_Logf_Call {
return _c
}
-func (_c *MockTestingLog_Logf_Call) RunAndReturn(run func(format string, args
...interface{})) *MockTestingLog_Logf_Call {
+func (_c *MockTestingLog_Logf_Call) RunAndReturn(run func(format string, args
...any)) *MockTestingLog_Logf_Call {
_c.Run(run)
return _c
}