chore: modernize go sources (#24896)
This commit is contained in:
parent
3421e8df81
commit
352012d24b
324 changed files with 590 additions and 583 deletions
|
|
@ -26,7 +26,7 @@ func init() {
|
|||
}
|
||||
|
||||
// NewModbusFromConfig creates Modbus plugin
|
||||
func NewModbusFromConfig(ctx context.Context, other map[string]interface{}) (Plugin, error) {
|
||||
func NewModbusFromConfig(ctx context.Context, other map[string]any) (Plugin, error) {
|
||||
cc := struct {
|
||||
modbus.Settings `mapstructure:",squash"`
|
||||
Register modbus.Register
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue